]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/net/ethernet/atheros/atlx/atl2.c
atlx: timer cleanup
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 31 Oct 2008 23:52:04 +0000 (16:52 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Sun, 2 Nov 2008 13:00:15 +0000 (08:00 -0500)
commite053b628d367cd7b39ae2c4bb0124edc2e058a41
treee5a5c6ae57e55185f92ea6f453a70a32663b6dbf
parent02e7173149c3ffcf963075ec2bdc5f7be8335a78
atlx: timer cleanup

Do some cleanup on timer usage in this driver:
  * Use round_jiffies to align wakeups and reduce power.
  * Remove atl1_watchdog which does nothing but rearm itself
  * Use setup_timer() function

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/atlx/atl1.c
drivers/net/atlx/atl1.h
drivers/net/atlx/atl2.c