mv643xx_eth: fix for disabled autoneg
authorPhil Sutter <phil.sutter@viprinet.com>
Wed, 6 Mar 2013 07:49:02 +0000 (07:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Mar 2013 21:17:45 +0000 (16:17 -0500)
commit260055bb1f1f8b5328601816c50fd7e0dfda7dff
treee0e9a4b5eed0928c04a9a63654f976af85cb4c5c
parent80028ea1c0afc24d4ddeb8dd2a9992fff03616ca
mv643xx_eth: fix for disabled autoneg

When autoneg has been disabled in the PHY (Marvell 88E1118 here), auto
negotiation between MAC and PHY seem non-functional anymore. The only
way I found to workaround this is to manually configure the MAC with the
settings sent to the PHY earlier.

Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c