]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: bcm7xxx: re-advertise all supported modes out of suspend
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 14 Aug 2014 23:52:52 +0000 (16:52 -0700)
committerDavid S. Miller <davem@greenl8ke.davemloft.net>
Sun, 17 Aug 2014 02:13:33 +0000 (19:13 -0700)
commitea8f4cfcbc0acc84161b5758968150ad9dbe4180
tree9a46c9a1c1c83425a3f425d5d9e475a97a8e0979
parentd83a12523234cf311d44d7692d817bcc72db84c3
net: phy: bcm7xxx: re-advertise all supported modes out of suspend

The BCM7xxx internal Gigabit PHYs on 28nm process platforms come out
reset without any half-duplex or "hub" compatible advertised modes,
which was causing auto-negotiation issues coming out of S3
suspend/resume, we just could not establish a link with a half-duplex
only link partner.

Make sure that the resume function properly re-configures the PHY device
to advertise all supported modes.

Fixes: ae5f579de6a1 ("net: phy: add Broadcom BCM7xxx internal PHY driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@greenl8ke.davemloft.net>
drivers/net/phy/bcm7xxx.c