Date: Tue, 7 Nov 2006 09:16:46 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 109426 for review Message-ID: <200611070916.kA79Gk4I096182@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109426 Change 109426 by imp@imp_lighthouse on 2006/11/07 09:15:53 Ooops, wait for the bit to turn ON, not OFF. Should fix hangs on boot when this is enabled. Affected files ... .. //depot/projects/arm/src/sys/dev/flash/at45d.c#8 edit Differences ... ==== //depot/projects/arm/src/sys/dev/flash/at45d.c#8 (text+ko) ==== @@ -188,7 +188,7 @@ static void at45d_wait_for_device_ready(device_t dev) { - while (at45d_get_status(dev) & 0x80) + while (!(at45d_get_status(dev) & 0x80)) continue; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611070916.kA79Gk4I096182>