diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-02-12 14:30:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-02-12 14:30:52 +0000 |
commit | 43ca98f3f91161f436f1cf0a6dd5d7905f00c8b9 (patch) | |
tree | 35362770a220dae553ec18070008fbe414c99617 /sys/dev/ic | |
parent | f994ef0a1e93989ec37674373991a5071d7d972b (diff) |
use the barrier before the inb; not instead of
prompted by kettenis, ok miod, tested on the troublesome machine
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/aic7xxx_openbsd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/aic7xxx_openbsd.h b/sys/dev/ic/aic7xxx_openbsd.h index 359e56da410..4c31dffbb9c 100644 --- a/sys/dev/ic/aic7xxx_openbsd.h +++ b/sys/dev/ic/aic7xxx_openbsd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: aic7xxx_openbsd.h,v 1.22 2012/02/11 19:02:38 deraadt Exp $ */ +/* $OpenBSD: aic7xxx_openbsd.h,v 1.23 2012/02/12 14:30:51 deraadt Exp $ */ /* $NetBSD: aic7xxx_osm.h,v 1.7 2003/11/02 11:07:44 wiz Exp $ */ /* @@ -195,6 +195,7 @@ ahc_flush_device_writes(struct ahc_softc *ahc) { bus_space_barrier(ahc->tag, ahc->bsh, 0, 0x100, BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE); + ahc_inb(ahc, INTSTAT); } /**************************** Locking Primitives ******************************/ |