diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2012-02-22 12:35:21 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-23 01:57:17 -0500 |
commit | 21f7638e6f05c36b35a36cd4311e08be5dc00bb1 (patch) | |
tree | 2d88f0e8299cbc613dce1509293f349fe6bf93bb /drivers/net/ethernet/pasemi | |
parent | c71013597d49c7ca8bb5049f0c7873df2643fad5 (diff) |
tg3: Create timer helper functions
This patch seeks to clean up the timer related code. It begins by
moving one-time timer setup code from tg3_open() to tg3_init_one().
It then creates a function that encapsulates the code needed to start
the timer. A tg3_timer_stop() function was added for parity. Finally,
this patch moves all the timer functions to a more suitable location.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pasemi')
0 files changed, 0 insertions, 0 deletions