prevoius messages:
cpmac-mii: probed
cpmac: device eth0 (regs: 08612800, irq: 41, phy: fixed@100:1, mac: 00:13:10:01:c5:2a)
cpmac: device eth1 (regs: 08610000, irq: 27, phy: 0:1f, mac: 00:13:10:01:c5:2a)
the code:
priv->phy = phy_connect(dev, priv->phy_name, &cpmac_adjust_link,
PHY_INTERFACE_MODE_MII, 0);
if (IS_ERR(priv->phy)) {
printk(KERN_ERR "%s: Could not attach to PHY\n", dev->name);
return PTR_ERR(priv->phy);
}
the output:
fixed@100:1 not found
eth0: Could not attach to PHY
fixed@100:1 not found
eth0: Could not attach to PHY
fixed@100:1 not found
eth0: Could not attach to PHY
fixed@100:1 not found
eth0: Could not attach to PHY