diff options
author | mjacob <mjacob@FreeBSD.org> | 2011-03-05 00:59:34 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2011-03-05 00:59:34 +0000 |
commit | 0540c331c796e12fd8fea170d84ef2b75bf50bbd (patch) | |
tree | a30bb2f80ccbe65be683b12dcc51fbd1843c0f26 | |
parent | d9f2a532570f381ba87c5dd039ca21e4fe9d4b3a (diff) | |
download | FreeBSD-src-0540c331c796e12fd8fea170d84ef2b75bf50bbd.zip FreeBSD-src-0540c331c796e12fd8fea170d84ef2b75bf50bbd.tar.gz |
Flush both reads *and* writes to registers.
Obtained from: Miod Vallat in OpenBSD
MFC after: 1 week
-rw-r--r-- | sys/dev/isp/isp_freebsd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index c47f12b..0d67630 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -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; \ |