Author: yongari
Date: Tue Dec 22 19:00:18 2009
New Revision: 200854
URL: http://svn.freebsd.org/changeset/base/200854
Log:
Add minimal dealy while ste(4) is waiting for the end of active DMA
cycle.
Modified:
head/sys/dev/ste/if_ste.c
Modified: head/sys/dev/ste/if_ste.c
==============================================================================
--- head/sys/dev/ste/if_ste.c Tue Dec 22 18:57:07 2009 (r200853)
+++ head/sys/dev/ste/if_ste.c Tue Dec 22 19:00:18 2009 (r200854)
@@ -471,6 +471,7 @@ ste_wait(struct ste_softc *sc)
for (i = 0; i < STE_TIMEOUT; i++) {
if (!(CSR_READ_4(sc, STE_DMACTL) & STE_DMACTL_DMA_HALTINPROG))
break;
+ DELAY(1);
}
if (i == STE_TIMEOUT)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"