Date: Sat, 5 Mar 2011 00:59:34 +0000 (UTC) From: Matt Jacob <mjacob@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r219282 - head/sys/dev/isp Message-ID: <201103050059.p250xY9p081997@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103050059.p250xY9p081997>