diff options
author | Woojung Huh <woojung.huh@microchip.com> | 2016-03-16 22:10:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-18 22:27:48 -0400 |
commit | 20ff55655a93554611fb7790c8a2d29ee4598d24 (patch) | |
tree | 4535bd2d62a2586853e2cab59e306896be43988e /drivers/net/usb/rtl8150.c | |
parent | 7fa7728d23e7928dfb6e9f5540a97fb2d562b989 (diff) | |
download | linux-20ff55655a93554611fb7790c8a2d29ee4598d24.tar.gz linux-20ff55655a93554611fb7790c8a2d29ee4598d24.tar.bz2 linux-20ff55655a93554611fb7790c8a2d29ee4598d24.zip |
lan78xx: handle statistics counter rollover
Update to handle statistics counter rollover.
Check statistics counter periodically and compensate it when
counter value rolls over at max (20 or 32bits).
Simple mechanism adjusts monitoring timer to allow USB auto suspend.
Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/rtl8150.c')
0 files changed, 0 insertions, 0 deletions