diff options
author | Michel Stam <m.stam@fugro.nl> | 2014-10-02 04:22:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-03 18:38:49 -0400 |
commit | 3cc81d85ee01e5a0b7ea2f4190e2ed1165f53c31 (patch) | |
tree | 157bfb5eb51f4731981149e0d682f190e6c3873f /drivers | |
parent | fba7516303c1f6bb45fcc3df888978d0b34202c4 (diff) |
asix: Don't reset PHY on if_up for ASIX 88772
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>
Diffstat (limited to 'drivers')
-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 5d194093f3e1..2c05f6cdb12f 100644 --- a/drivers/net/usb/asix_devices.c +++ b/drivers/net/usb/asix_devices.c | |||
@@ -890,7 +890,7 @@ static const struct driver_info ax88772_info = { | |||
890 | .unbind = ax88772_unbind, | 890 | .unbind = ax88772_unbind, |
891 | .status = asix_status, | 891 | .status = asix_status, |
892 | .link_reset = ax88772_link_reset, | 892 | .link_reset = ax88772_link_reset, |
893 | .reset = ax88772_reset, | 893 | .reset = ax88772_link_reset, |
894 | .flags = FLAG_ETHER | FLAG_FRAMING_AX | FLAG_LINK_INTR | FLAG_MULTI_PACKET, | 894 | .flags = FLAG_ETHER | FLAG_FRAMING_AX | FLAG_LINK_INTR | FLAG_MULTI_PACKET, |
895 | .rx_fixup = asix_rx_fixup_common, | 895 | .rx_fixup = asix_rx_fixup_common, |
896 | .tx_fixup = asix_tx_fixup, | 896 | .tx_fixup = asix_tx_fixup, |