OpenCloudOS-Kernel/drivers/net/ethernet/marvell
Jason Gunthorpe 1cce16d37d net: mv643xx_eth: Add missing phy_addr_set in DT mode
Commit cc9d4598 'net: mv643xx_eth: use of_phy_connect if phy_node
present' made the call to phy_scan optional, if the DT has a link to
the phy node.

However phy_scan has the side effect of calling phy_addr_set, which
writes the phy MDIO address to the ethernet controller. If phy_addr_set
is not called, and the bootloader has not set the correct address then
the driver will fail to function.

Tested on Kirkwood.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-05 22:07:03 -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: Add missing phy_addr_set in DT mode 2013-11-05 22:07:03 -05:00
mvmdio.c net: mvmdio: doc: mvmdio now used by mv643xx_eth 2013-10-29 18:54:20 -04:00
mvneta.c mvneta: drop redundant mac address check 2013-10-29 22:52:44 -04:00
pxa168_eth.c net: pxa168_eth: remove deprecated IRQF_DISABLED 2013-09-15 22:01:05 -04:00
skge.c net: skge: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:01 -04:00
skge.h
sky2.c net: sky2: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:01 -04:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00