aboutsummaryrefslogtreecommitdiffstats
path: root/os/io/platforms/AT91SAM7X/sam7x_emac.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/io/platforms/AT91SAM7X/sam7x_emac.c')
-rw-r--r--os/io/platforms/AT91SAM7X/sam7x_emac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/io/platforms/AT91SAM7X/sam7x_emac.c b/os/io/platforms/AT91SAM7X/sam7x_emac.c
index 82d7e8381..d265330d8 100644
--- a/os/io/platforms/AT91SAM7X/sam7x_emac.c
+++ b/os/io/platforms/AT91SAM7X/sam7x_emac.c
@@ -219,8 +219,8 @@ void emac_init(int prio) {
* PHY detection and settings.
*/
AT91C_BASE_EMAC->EMAC_NCR |= AT91C_EMAC_MPE;
- if ((phy_get(MII_PHYSID1) != (MII_MICREL_ID >> 16)) ||
- ((phy_get(MII_PHYSID2) & 0xFFF0) != (MII_MICREL_ID & 0xFFF0)))
+ if ((phy_get(MII_PHYSID1) != (MII_KS8721_ID >> 16)) ||
+ ((phy_get(MII_PHYSID2) & 0xFFF0) != (MII_KS8721_ID & 0xFFF0)))
chSysHalt();
/*