summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornate <nate@openbsd.org>2001-03-09 17:39:12 +0000
committernate <nate@openbsd.org>2001-03-09 17:39:12 +0000
commit7de2f9eae29ca4b952ee71a7cc05ee1d629463bd (patch)
tree0477ce243be711e87ac67dcb37d0e08c754f6ceb
parentRemove random trailing whitespace. (diff)
downloadwireguard-openbsd-7de2f9eae29ca4b952ee71a7cc05ee1d629463bd.tar.xz
wireguard-openbsd-7de2f9eae29ca4b952ee71a7cc05ee1d629463bd.zip
On alpha, we want to memory map. ok mjacob@
-rw-r--r--sys/dev/pci/isp_pci.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/isp_pci.c b/sys/dev/pci/isp_pci.c
index 83cf2b38ca9..5b61e05fed8 100644
--- a/sys/dev/pci/isp_pci.c
+++ b/sys/dev/pci/isp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_pci.c,v 1.16 2001/03/02 08:58:09 deraadt Exp $ */
+/* $OpenBSD: isp_pci.c,v 1.17 2001/03/09 17:39:12 nate Exp $ */
/*
* PCI specific probe and attach routines for Qlogic ISP SCSI adapters.
*
@@ -231,8 +231,12 @@ static struct ispmdvec mdvec_2200 = {
#define PCI_DFLT_LNSZ 0x10
#ifndef SCSI_ISP_PREFER_MEM_MAP
+#ifdef __alpha__
+#define SCSI_ISP_PREFER_MEM_MAP 1
+#else
#define SCSI_ISP_PREFER_MEM_MAP 0
#endif
+#endif
#ifndef BUS_DMA_COHERENT
#define BUS_DMA_COHERENT BUS_DMAMEM_NOSYNC