1
linux/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 broadcom: Add 57780 support 2008-11-21 17:22:53 -08:00
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 phy: Add support for Marvell 88E1118 PHY 2008-11-15 14:04:27 -08:00
mdio_bus.c net: PHYLIB mdio fixes #2 2008-12-25 16:50:41 -08:00
mdio-bitbang.c
mdio-gpio.c phylib: make mdio-gpio work without OF (v4) 2008-11-16 18:59:45 -08:00
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 net: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-10 13:55:14 -08:00
qsemi.c
realtek.c
smsc.c SMSC LAN911x and LAN921x vendor driver 2008-11-06 00:58:40 -05:00
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