mcs7830: Implement link state detection
authorOndrej Zary <linux@rainbow-software.org>
Fri, 1 Jun 2012 10:29:08 +0000 (10:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jun 2012 21:09:08 +0000 (17:09 -0400)
commitb1ff4f96fd1c63890d78d8939c6e0f2b44ce3113
tree2163e7e43c6f67a6a14087f6f6e39d4aea361de8
parent6d7407bfba0b4eb21d843ff1f9e9c86156e502b2
mcs7830: Implement link state detection

Add .status callback that detects link state changes.
Tested with MCS7832CV-AA chip (9710:7830, identified as rev.C by the driver).
Fixes https://bugzilla.kernel.org/show_bug.cgi?id=28532

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/mcs7830.c