Date: Sun, 18 Jun 2006 20:04:22 GMT From: Olivier Houchard <cognet@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 99554 for review Message-ID: <200606182004.k5IK4MRx052765@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99554 Change 99554 by cognet@cognet on 2006/06/18 20:04:18 #ifdef BOOT_TSC some code which is only used in the BOOT_TSC case. Affected files ... .. //depot/projects/arm/src/sys/boot/arm/at91/libat91/emac.c#17 edit Differences ... ==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/emac.c#17 (text+ko) ==== @@ -361,6 +361,7 @@ * This private function reads the PHY device. * .KB_C_FN_DEFINITION_END */ +#ifdef BOOT_TSC static unsigned short AT91F_MII_WritePhy (AT91PS_EMAC pEmac, unsigned char addr, unsigned short s) { @@ -372,6 +373,7 @@ pEmac->EMAC_CTL &= ~AT91C_EMAC_MPE; return (pEmac->EMAC_MAN & 0x0000ffff); } +#endif /* * .KB_C_FN_DEFINITION_START @@ -384,8 +386,10 @@ { unsigned short stat2; unsigned update; +#ifdef BOOT_TSC unsigned sec; int i; +#endif #if 0 // AT91F_MII_WritePhy(pEmac, 20, 0x70);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606182004.k5IK4MRx052765>