2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-04 11:43:54 +08:00
linux-next/drivers/net/ethernet/marvell
Florian Fainelli 7cd1463664 net: mv643xx_eth: use phy_init_hw to reset PHY
Instead of open-coding a PHY reset through the MII BMCR register, use
phy_init_hw() which does that for us and will also make sure that PHY
fixups are applied if required. We also remove a call to phy_reset()
due to the following sequence of calls in the driver:

phy_scan()
	-> phy_connect()
		-> phy_connect_direct()
			-> phy_attach_direct()
				-> phy_init_hw()

and we only have a call to phy_init() after phy_scan().

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-09 20:38:59 -05:00
..
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-04-22 20:32:51 -04:00
Makefile mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
mv643xx_eth.c net: mv643xx_eth: use phy_init_hw to reset PHY 2013-12-09 20:38:59 -05:00
mvmdio.c net: mvmdio: doc: mvmdio now used by mv643xx_eth 2013-10-29 18:54:20 -04:00
mvneta.c net: mvneta: Fix incorrect DMA unmapping size 2013-12-06 15:43:44 -05:00
pxa168_eth.c ethernet: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00
skge.c net: skge: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:01 -04:00
skge.h
sky2.c Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-11-14 16:30:30 +09:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00