]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
lan78xx: workaround of forced 100 Full/Half duplex mode error
authorWoojung Huh <woojung.huh@microchip.com>
Mon, 25 Apr 2016 22:22:36 +0000 (22:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Apr 2016 20:36:12 +0000 (16:36 -0400)
commit14437e3fa284f465dbbc8611fd4331ca8d60e986
treee2afcba6948aa451df7c06326ea992d58c39777f
parent74d79a2e30c476ccc7d45ecf978f38d815287f81
lan78xx: workaround of forced 100 Full/Half duplex mode error

At forced 100 Full & Half duplex mode, chip may fail to set mode correctly
when cable is switched between long(~50+m) and short one.
As workaround, set to 10 before setting to 100 at forced 100 F/H mode.

Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c