ENGR00137130 Fec: Can't bootup from NFS when eth0 and eth1 all linked rel_imx_2.6.35_10.12.01_RC3
authorZeng Zhaoming <b32542@freescale.com>
Tue, 21 Dec 2010 00:49:59 +0000 (08:49 +0800)
committerZeng Zhaoming <b32542@freescale.com>
Tue, 21 Dec 2010 19:17:05 +0000 (03:17 +0800)
commit4cf53cfc4948a5e00b895fbe4dbe175fefaf2c40
tree9b1510c0c057ffe5c00581f6cbb86161b0960fda
parent3b667325bf959716cd04b3161c8f31bde24ad4f8
ENGR00137130 Fec: Can't bootup from NFS when eth0 and eth1 all linked

This reverts commit d4b2153e87aa2d35b5f830744c14a04e386b3adb.
"fec: use interrupt for MDIO completion indication"

In IMX28, eth0 and eth1 shared MDIO, using interrupt to indicate
mdio read or write complete makes eth1 not working.

since mdio_read() can only access eth0 reg space, getting/setting eth1
phy state by writing management frame to eth0 reg space, will trigger eth1
mdio complete indication interrupt. But eth1 EIR register will not updated.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
drivers/net/fec.c