Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=34c6417b7087a4818e7dca2e5d66c3361cee80a1
Commit:     34c6417b7087a4818e7dca2e5d66c3361cee80a1
Parent:     9a799d71034c4e2b168740c8a8530591011313d5
Author:     Stephen Hemminger <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 6 11:51:37 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:51:02 2007 -0700

    e100: timer power saving
    
    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]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/e100.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index e25f5ec..10907f1 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -1605,7 +1605,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,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to