summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-04-13 15:58:45 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-04-13 15:58:45 +0000
commit46f7bf2e64891cde43731f4b4c1524f43c6042b0 (patch)
tree66b2b0de85873a02cfc3718f68a11eeda2eaf33b /sys
parentec2ca231e13eb42d2bae06c50cceaa8914ad9342 (diff)
Define RL_USEIOSPACE in the PCI bus piece, not the common piece; thanks jason@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/rtl81x9.c12
-rw-r--r--sys/dev/pci/if_rl_pci.c12
2 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c
index e26f34c4977..fc41c65316c 100644
--- a/sys/dev/ic/rtl81x9.c
+++ b/sys/dev/ic/rtl81x9.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9.c,v 1.1 2001/04/10 22:52:00 aaron Exp $ */
+/* $OpenBSD: rtl81x9.c,v 1.2 2001/04/13 15:58:43 aaron Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -125,16 +125,6 @@
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
-/*
- * Default to using PIO access for this driver. On SMP systems,
- * there appear to be problems with memory mapped mode: it looks like
- * doing too many memory mapped access back to back in rapid succession
- * can hang the bus. I'm inclined to blame this on crummy design/construction
- * on the part of RealTek. Memory mapped mode does appear to work on
- * uniprocessor systems though.
- */
-#define RL_USEIOSPACE
-
#include <dev/ic/rtl81x9reg.h>
/*
diff --git a/sys/dev/pci/if_rl_pci.c b/sys/dev/pci/if_rl_pci.c
index 28c13449ef9..74e0295dc25 100644
--- a/sys/dev/pci/if_rl_pci.c
+++ b/sys/dev/pci/if_rl_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rl_pci.c,v 1.1 2001/04/10 22:52:00 aaron Exp $ */
+/* $OpenBSD: if_rl_pci.c,v 1.2 2001/04/13 15:58:44 aaron Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -74,6 +74,16 @@
#include <dev/pci/pcivar.h>
#include <dev/pci/pcidevs.h>
+/*
+ * Default to using PIO access for this driver. On SMP systems,
+ * there appear to be problems with memory mapped mode: it looks like
+ * doing too many memory mapped access back to back in rapid succession
+ * can hang the bus. I'm inclined to blame this on crummy design/construction
+ * on the part of RealTek. Memory mapped mode does appear to work on
+ * uniprocessor systems though.
+ */
+#define RL_USEIOSPACE
+
#include <dev/ic/rtl81x9reg.h>
int rl_pci_match __P((struct device *, void *, void *));