summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ncr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-06 23:17:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-06 23:17:25 +0000
commit9129ea0e977dc72bea113feab8bf248791578678 (patch)
tree4d5b302f8200e2085d10e5213b63dedb00bc702b /sys/dev/pci/ncr.c
parentd81b45ee94910922de18c1de9ec100a0d4a24c36 (diff)
complete blind luck made this work without a volatile
Diffstat (limited to 'sys/dev/pci/ncr.c')
-rw-r--r--sys/dev/pci/ncr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ncr.c b/sys/dev/pci/ncr.c
index 7ae22fec6b9..da4971db2e2 100644
--- a/sys/dev/pci/ncr.c
+++ b/sys/dev/pci/ncr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr.c,v 1.45 1999/04/05 16:38:04 millert Exp $ */
+/* $OpenBSD: ncr.c,v 1.46 1999/06/06 23:17:24 deraadt Exp $ */
/* $NetBSD: ncr.c,v 1.63 1997/09/23 02:39:15 perry Exp $ */
/**************************************************************************
@@ -1465,7 +1465,7 @@ static void ncr_attach (pcici_t tag, int unit);
#if 0
static char ident[] =
- "\n$OpenBSD: ncr.c,v 1.45 1999/04/05 16:38:04 millert Exp $\n";
+ "\n$OpenBSD: ncr.c,v 1.46 1999/06/06 23:17:24 deraadt Exp $\n";
#endif
static const u_long ncr_version = NCR_VERSION * 11
@@ -7566,7 +7566,7 @@ static int ncr_regtest (struct ncb* np)
static int ncr_snooptest (struct ncb* np)
{
- u_int32_t ncr_rd, ncr_wr, ncr_bk, host_rd, host_wr, pc;
+ volatile u_int32_t ncr_rd, ncr_wr, ncr_bk, host_rd, host_wr, pc;
int i, err=0;
#if !defined(NCR_IOMAPPED) || defined(__OpenBSD__)
#ifdef __OpenBSD__