summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/rtl8150.c
diff options
context:
space:
mode:
authorWoojung Huh <woojung.huh@microchip.com>2016-03-16 22:10:40 +0000
committerDavid S. Miller <davem@davemloft.net>2016-03-18 22:27:48 -0400
commit20ff55655a93554611fb7790c8a2d29ee4598d24 (patch)
tree4535bd2d62a2586853e2cab59e306896be43988e /drivers/net/usb/rtl8150.c
parent7fa7728d23e7928dfb6e9f5540a97fb2d562b989 (diff)
downloadlinux-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