OpenCloudOS-Kernel/drivers/net/ibm_emac
Hynek Petrak 3e65bb94a9 PHY probe not working properly for ibm_emac (PPC4xx)
I have a system with AMCC PowerPC 405EP and PHY Intel LXT971A.  Linux
2.6.18.3 is not able to detect the PHY ID correctly.  The PHY ID
detected is 0, but should be 0x1d.

This is because phy_read() (__emac_mdio_read() resp.) from
drivers/net/ibm_emac/ibm_emac_core.c might return -ETIMEDOUT or
-EREMOTEIO on error.  This is ignored inside the

int mii_phy_probe(struct mii_phy *phy, int address)
from drivers/net/ibm_emac/ibm_emac_phy.c

as the return value is assigned to an u32 variable.

Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-12-26 16:41:08 -05:00
..
Makefile [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm_emac_core.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ibm_emac_core.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm_emac_debug.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ibm_emac_debug.h fix file specification in comments 2006-10-03 23:01:26 +02:00
ibm_emac_mal.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ibm_emac_mal.h [POWERPC] Make EMAC use generic DCR access methods 2006-12-04 16:08:31 +11:00
ibm_emac_phy.c PHY probe not working properly for ibm_emac (PPC4xx) 2006-12-26 16:41:08 -05:00
ibm_emac_phy.h [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_rgmii.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm_emac_rgmii.h fix file specification in comments 2006-10-03 23:01:26 +02:00
ibm_emac_tah.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm_emac_tah.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm_emac_zmii.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm_emac_zmii.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00