Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2006 00:03:19 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 89311 for review
Message-ID:  <200601070003.k0703J06057714@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=89311

Change 89311 by imp@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601070003.k0703J06057714>