sfc: QT2025C: Work around PHY bug
authorMatthew Slattery <mslattery@solarflare.com>
Wed, 23 Dec 2009 13:47:37 +0000 (13:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Dec 2009 03:09:06 +0000 (19:09 -0800)
commit17d6aeafe9d8268612d91edc0102659edb382282
tree51367606075b11c19c8926a5f00e6811a685297e
parenta7ebd27a13757248863cd61e541af7fa9e7727ee
sfc: QT2025C: Work around PHY bug

If we see the PHY remaining stuck in a link-down state due to PCS being
down while PMA/PMD is up, we briefly switch to PMA/PMD loopback and back,
which usually unsticks it.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/qt202x_phy.c