summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-02-21 03:10:58 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-02-21 03:10:58 +0000
commita7e3301abb226b00e3edb58c4b739f39ea7dfbe7 (patch)
tree057bfdc0dcae31e3bae656dc5358484793de65a1
parent20adef7ef8415136c53d0e62e80370851034fb70 (diff)
define AHC_ALLOW_MEMIO on macppc, resulting in support for more
controllers and better performance ok drahn@, krw@
-rw-r--r--sys/dev/pci/ahc_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ahc_pci.c b/sys/dev/pci/ahc_pci.c
index 451b36813fa..f10edaf313f 100644
--- a/sys/dev/pci/ahc_pci.c
+++ b/sys/dev/pci/ahc_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahc_pci.c,v 1.46 2005/02/12 15:32:11 krw Exp $ */
+/* $OpenBSD: ahc_pci.c,v 1.47 2005/02/21 03:10:57 martin Exp $ */
/*
* Product specific probe and attach routines for:
* 3940, 2940, aic7895, aic7890, aic7880,
@@ -40,7 +40,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: ahc_pci.c,v 1.46 2005/02/12 15:32:11 krw Exp $
+ * $Id: ahc_pci.c,v 1.47 2005/02/21 03:10:57 martin Exp $
*
* //depot/aic7xxx/aic7xxx/aic7xxx_pci.c#57 $
*
@@ -75,7 +75,7 @@
#include <dev/ic/smc93cx6var.h>
-#ifdef __hppa__
+#if defined (__hppa__) || (__macppc__)
#define AHC_ALLOW_MEMIO
#endif