diff options
author | Michel Stam <m.stam@fugro.nl> | 2014-10-02 10:22:02 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2015-12-22 13:46:29 +0900 |
commit | 46b6203f47cc632bc210ef62094ed62765e124b6 (patch) | |
tree | c5ae9e80b335a7379282275479868fc01fa8e2c7 | |
parent | 7697bd01efd298ff806046d8a29e5f128730a0fe (diff) | |
download | linux-3.10-artik-46b6203f47cc632bc210ef62094ed62765e124b6.tar.gz linux-3.10-artik-46b6203f47cc632bc210ef62094ed62765e124b6.tar.bz2 linux-3.10-artik-46b6203f47cc632bc210ef62094ed62765e124b6.zip |
asix: Don't reset PHY on if_up for ASIX 88772
[ Upstream commit 3cc81d85ee01e5a0b7ea2f4190e2ed1165f53c31 ]
I've noticed every time the interface is set to 'up,', the kernel
reports that the link speed is set to 100 Mbps/Full Duplex, even
when ethtool is used to set autonegotiation to 'off', half
duplex, 10 Mbps.
It can be tested by:
ifconfig eth0 down
ethtool -s eth0 autoneg off speed 10 duplex half
ifconfig eth0 up
Then checking 'dmesg' for the link speed.
Signed-off-by: Michel Stam <m.stam@fugro.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/usb/asix_devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/asix_devices.c b/drivers/net/usb/asix_devices.c index d02a12a3ad7..b4a568bd1a0 100644 --- a/drivers/net/usb/asix_devices.c +++ b/drivers/net/usb/asix_devices.c @@ -894,7 +894,7 @@ static const struct driver_info ax88772_info = { .unbind = ax88772_unbind, .status = asix_status, .link_reset = ax88772_link_reset, - .reset = ax88772_reset, + .reset = ax88772_link_reset, .flags = FLAG_ETHER | FLAG_FRAMING_AX | FLAG_LINK_INTR | FLAG_MULTI_PACKET, .rx_fixup = asix_rx_fixup_common, .tx_fixup = asix_tx_fixup, |