Re: [PATCH net-next 9/9] phy: fixed_phy: Set phy capabilities even when link is down

2015-08-24 Thread Andrew Lunn
On Sun, Aug 23, 2015 at 11:40:07AM -0700, Florian Fainelli wrote: > Le 08/23/15 02:47, Andrew Lunn a écrit : > > What features a phy supports is masked in genphy_config_init() by > > looking at the PHYs BMSR register. > > > > If the link is down, fixed_phy_update_regs() will only set the auto- > >

Re: [PATCH net-next 9/9] phy: fixed_phy: Set phy capabilities even when link is down

2015-08-23 Thread Andrew Lunn
On Sun, Aug 23, 2015 at 11:40:07AM -0700, Florian Fainelli wrote: > Le 08/23/15 02:47, Andrew Lunn a écrit : > > What features a phy supports is masked in genphy_config_init() by > > looking at the PHYs BMSR register. > > > > If the link is down, fixed_phy_update_regs() will only set the auto- > >

Re: [PATCH net-next 9/9] phy: fixed_phy: Set phy capabilities even when link is down

2015-08-23 Thread Florian Fainelli
Le 08/23/15 02:47, Andrew Lunn a écrit : > What features a phy supports is masked in genphy_config_init() by > looking at the PHYs BMSR register. > > If the link is down, fixed_phy_update_regs() will only set the auto- > negotiation capable bit in BMSR. Thus genphy_config_init() comes to > the con

[PATCH net-next 9/9] phy: fixed_phy: Set phy capabilities even when link is down

2015-08-23 Thread Andrew Lunn
What features a phy supports is masked in genphy_config_init() by looking at the PHYs BMSR register. If the link is down, fixed_phy_update_regs() will only set the auto- negotiation capable bit in BMSR. Thus genphy_config_init() comes to the conclusion the PHY can only perform 10/Half, and masks o