Re: [PATCH net] net: phylink: ensure consistent phy interface mode

2019-05-31 Thread Russell King - ARM Linux admin
On Fri, May 31, 2019 at 03:02:26PM +0200, Andrew Lunn wrote: > On Tue, May 28, 2019 at 10:27:21AM +0100, Russell King wrote: > > Ensure that we supply the same phy interface mode to mac_link_down() as > > we did for the corresponding mac_link_up() call. This ensures that MAC > > drivers that use t

Re: [PATCH net] net: phylink: ensure consistent phy interface mode

2019-05-31 Thread Andrew Lunn
On Tue, May 28, 2019 at 10:27:21AM +0100, Russell King wrote: > Ensure that we supply the same phy interface mode to mac_link_down() as > we did for the corresponding mac_link_up() call. This ensures that MAC > drivers that use the phy interface mode in these methods can depend on > mac_link_down(

[PATCH net] net: phylink: ensure consistent phy interface mode

2019-05-28 Thread Russell King
Ensure that we supply the same phy interface mode to mac_link_down() as we did for the corresponding mac_link_up() call. This ensures that MAC drivers that use the phy interface mode in these methods can depend on mac_link_down() always corresponding to a mac_link_up() call for the same interface