Commit 3cc81d85 authored by Michel Stam's avatar Michel Stam Committed by David S. Miller

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: default avatarMichel Stam <m.stam@fugro.nl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fba75163
...@@ -890,7 +890,7 @@ static const struct driver_info ax88772_info = { ...@@ -890,7 +890,7 @@ static const struct driver_info ax88772_info = {
.unbind = ax88772_unbind, .unbind = ax88772_unbind,
.status = asix_status, .status = asix_status,
.link_reset = ax88772_link_reset, .link_reset = ax88772_link_reset,
.reset = ax88772_reset, .reset = ax88772_link_reset,
.flags = FLAG_ETHER | FLAG_FRAMING_AX | FLAG_LINK_INTR | FLAG_MULTI_PACKET, .flags = FLAG_ETHER | FLAG_FRAMING_AX | FLAG_LINK_INTR | FLAG_MULTI_PACKET,
.rx_fixup = asix_rx_fixup_common, .rx_fixup = asix_rx_fixup_common,
.tx_fixup = asix_tx_fixup, .tx_fixup = asix_tx_fixup,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment