Re: [PATCH 1/4] net: phy: fix write to mii-ctrl1000 register

2019-09-22 Thread Andrew Lunn
On Sun, Sep 22, 2019 at 12:00:10PM +0100, Russell King wrote: > When userspace writes to the MII_ADVERTISE register, we update phylib's > advertising mask and trigger a renegotiation. However, writing to the > MII_CTRL1000 register, which contains the gigabit advertisement, does > neither. This c

[PATCH 1/4] net: phy: fix write to mii-ctrl1000 register

2019-09-22 Thread Russell King
When userspace writes to the MII_ADVERTISE register, we update phylib's advertising mask and trigger a renegotiation. However, writing to the MII_CTRL1000 register, which contains the gigabit advertisement, does neither. This can lead to phylib's copy of the advertisement becoming de-synced with