svn commit: r219282 - head/sys/dev/isp

Matt Jacob mjacob at FreeBSD.org
Sat Mar 5 00:59:35 UTC 2011


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;							\


More information about the svn-src-head mailing list