Flush both reads *and* writes to registers.

Obtained from:	Miod Vallat in OpenBSD
MFC after:	1 week
This commit is contained in:
mjacob 2011-03-05 00:59:34 +00:00
parent d9f2a53257
commit 0540c331c7

View File

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