]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc04e9727eb4d44ec605239e86559bf38594dee33
treee0e9a4b5eed0928c04a9a63654f976af85cb4c5c
parentd9db8162c58ea03f6af26196bfc0ab5b85e662cb
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