PERFORCE change 89311 for review

Warner Losh imp at FreeBSD.org
Fri Jan 6 16:03:20 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=89311

Change 89311 by imp at imp_Speedy on 2006/01/07 00:02:51

	Reminder to self: do the math first.
	
	DELAY has a granularity of ~30.5us, not 7.8125ms.  Fix
	comment to reflect this.

Affected files ...

.. //depot/projects/arm/src/sys/arm/at91/if_ate.c#15 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/at91/if_ate.c#15 (text+ko) ====

@@ -590,7 +590,7 @@
 	if (phy != 0)
 		return (0xffff);
 	sc = device_get_softc(dev);
-	DELAY(1);	/* Hangs w/o this delay really 7.812ms atm */
+	DELAY(1);	/* Hangs w/o this delay really 30.5us atm */
 	WR4(sc, ETH_MAN, ETH_MAN_REG_RD(phy, reg));
 	while ((RD4(sc, ETH_SR) & ETH_SR_IDLE) == 0)
 		continue;


More information about the p4-projects mailing list