asix: Don't reset PHY on if_up for ASIX 88772
commit41700e5b773b0090bec9321445dcb9e6e12d6629
authorMichel Stam <m.stam@fugro.nl>
Thu, 2 Oct 2014 08:22:02 +0000 (2 10:22 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 17 Nov 2015 15:54:46 +0000 (17 15:54 +0000)
tree9bfcf68bb59796c3c313382903dbf08d1d39bdd1
parent68c3e59aa9cdf2d8870d8fbe4f37b1a509d0abeb
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>
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/usb/asix.c