lan78xx: Move enabling of EEE into PHY init code
authorPhil Elwell <phil@raspberrypi.org>
Thu, 5 Apr 2018 13:46:11 +0000 (14:46 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:02 +0000 (00:08 +0100)
commit7860eda37b44e298269ca60e32143fae2811ab17
tree20034a6bb65a28ce71b3e7014f14f15a16893581
parent076415b790388fc05da6c1797f350e02d311db59
lan78xx: Move enabling of EEE into PHY init code

Enable EEE mode as soon as possible after connecting to the PHY, and
before phy_start. This avoids a second link negotiation, which speeds
up booting and stops the interface failing to become ready.

See: https://github.com/raspberrypi/linux/issues/2437

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/net/usb/lan78xx.c