e100: timer power saving
Subsystems (2)
PATCH 1/1 e100: timer power saving
From: Stephen Hemminger <[email protected]>
Since E100 timer is 2HZ, use rounding to make timer occur on the correct boundary.
Signed-off-by Stephen Hemminger <[email protected]>
Signed-off-by Auke Kok <[email protected]>
---
drivers/net/e100.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/e100.c +2 -1
@@ -1604,7 +1604,8 @@ static void e100_watchdog(unsigned long data)else nic->flags &= ~ich_10h_workaround; -mod_timer (&nic->watchdog, jiffies +E100_WATCHDOG_PERIOD ); +mod_timer (&nic->watchdog, +round_jiffies (jiffies +E100_WATCHDOG_PERIOD )); } static void e100_xmit_prepare(struct nic *nic, struct cb *cb,
Quoted 7 lines · Auke Kok
From: Stephen Hemminger <[email protected]>
Since E100 timer is 2HZ, use rounding to make timer occur on the correct boundary.
Signed-off-by Stephen Hemminger <[email protected]>Signed-off-by Auke Kok <[email protected]>
given that I was about to send out exactly this same patch...
Acked-by Arjan van de Ven <[email protected]>
Jeff Garzik
AppliedQuoted 7 lines · Auke Kok
From: Stephen Hemminger <[email protected]>
Since E100 timer is 2HZ, use rounding to make timer occur on the correct boundary.
Signed-off-by Stephen Hemminger <[email protected]>Signed-off-by Auke Kok <[email protected]>
applied