From 17a9b44ac47bf46384060e2c2004f57f3fc4273f Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 25 Sep 2009 16:14:01 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1183 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/io/platforms/AT91SAM7X/sam7x_emac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/io/platforms/AT91SAM7X/sam7x_emac.c') 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(); /* -- cgit v1.2.3