kernel-ark/drivers/net/phy
Anton Vorontsov f0d44ae310 phylib: Fix Freescale TBI PHY detection
Freescale on-chip TBI PHYs reports PHY ID as 0x0, but as of

commit 3ee82383f0
Author: Giulio Benetti <giulio.benetti@micronovasrl.com>
Date:   Thu Nov 13 21:53:13 2008 +0000

    phy: fix phy address bug

    PHYID returns 0xffff and not 0xffffffff when not found and in some
    case(at91sam9263) 0x0. Maybe this patch could be useful.

phy_device.c treats PHY ID == 0x0 as bogus IDs, and that results in
gianfar driver failure to see the TBI PHYs. This code snippet triggers:

	if (!priv->tbiphy) {
		printk(KERN_WARNING "SGMII mode requires that the device "
				"tree specify a tbi-handle\n");
		return;
	}

Although tbi-handle is specified in the device tree.

Btw, technically PHY ID == 0x0 is a valid ID (if we ever see a PHY
manufactured by Xerox :-).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-14 14:38:02 -08:00
..
broadcom.c
cicada.c
davicom.c
et1011c.c phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
fixed.c
icplus.c
Kconfig phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
lxt.c
Makefile phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
marvell.c
mdio_bus.c net: PHYLIB mdio fixes #2 2008-12-25 16:50:41 -08:00
mdio-bitbang.c
mdio-gpio.c
national.c phy: Add file missed in previous commit. 2008-11-28 16:40:26 -08:00
phy_device.c phylib: Fix Freescale TBI PHY detection 2009-01-14 14:38:02 -08:00
phy.c
qsemi.c
realtek.c
smsc.c
ste10Xp.c phy: add the ST ste10Xp PHYs 2008-11-28 16:42:41 -08:00
vitesse.c phylib: Add Vitesse VSC8221 SGMII PHY 2008-11-25 01:00:47 -08:00