diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2001-03-09 17:39:13 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2001-03-09 17:39:13 +0000 |
commit | 16b2d1a923f0ba8601554f5a1631b7acd8ab8f64 (patch) | |
tree | 1414dffe09e39dbdb85e9e54e1d9838f22a39cb4 /sys | |
parent | 7981401d8a76fbe79af1d3f0345dfd429622f11a (diff) |
On alpha, we want to memory map. ok mjacob@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/isp_pci.c | 6 |
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 |