PERFORCE change 37056 for review
Marcel Moolenaar
marcel at FreeBSD.org
Wed Aug 27 21:06:09 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=37056
Change 37056 by marcel at marcel_nfs on 2003/08/27 21:05:39
Make sure we are allowed to write to the TX FIFO in
sab82532_bus_transmit().
Affected files ...
.. //depot/projects/uart/dev/uart/uart_dev_sab82532.c#18 edit
Differences ...
==== //depot/projects/uart/dev/uart/uart_dev_sab82532.c#18 (text+ko) ====
@@ -593,6 +593,8 @@
int i;
bas = &sc->sc_bas;
+ while (!(uart_getreg(bas, SAB_STAR) & SAB_STAR_XFW))
+ ;
for (i = 0; i < sc->sc_txdatasz; i++)
uart_setreg(bas, SAB_XFIFO + i, sc->sc_txbuf[i]);
uart_barrier(bas);
More information about the p4-projects
mailing list