Author: mjacob
Date: Sat Mar  5 00:59:34 2011
New Revision: 219282
URL: http://svn.freebsd.org/changeset/base/219282

Log:
  Flush both reads *and* writes to registers.
  
  Obtained from:        Miod Vallat in OpenBSD
  MFC after:    1 week

Modified:
  head/sys/dev/isp/isp_freebsd.h

Modified: head/sys/dev/isp/isp_freebsd.h
==============================================================================
--- head/sys/dev/isp/isp_freebsd.h      Sat Mar  5 00:18:21 2011        
(r219281)
+++ head/sys/dev/isp/isp_freebsd.h      Sat Mar  5 00:59:34 2011        
(r219282)
@@ -369,7 +369,7 @@ case SYNC_RESULT:                                           
\
 case SYNC_REG:                                                 \
        bus_space_barrier(isp->isp_osinfo.bus_tag,              \
            isp->isp_osinfo.bus_handle, offset, size,           \
-           BUS_SPACE_BARRIER_READ);                            \
+           BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE);  \
        break;                                                  \
 default:                                                       \
        break;                                                  \
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to