PERFORCE change 99554 for review
Olivier Houchard
cognet at FreeBSD.org
Sun Jun 18 20:04:23 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=99554
Change 99554 by cognet at 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);
More information about the p4-projects
mailing list