miiphy: convert to linux/mii.h
[platform/kernel/u-boot.git] / drivers / net / eepro100.c
index ae0e0d4..86709a7 100644 (file)
@@ -335,7 +335,7 @@ static struct eth_device* verify_phyaddr (const char *devname,
        }
 
        /* read id2 register */
-       if (get_phyreg(dev, addr, PHY_PHYIDR2, &value) != 0) {
+       if (get_phyreg(dev, addr, MII_PHYSID2, &value) != 0) {
                printf("%s: mii read timeout!\n", devname);
                return NULL;
        }