diff options
author | peter <peter@FreeBSD.org> | 2000-05-28 15:50:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-05-28 15:50:40 +0000 |
commit | cb68f6fdc05a6e458a724dc69fe05ae5ad9bfcee (patch) | |
tree | f2aef40edfd9b052cd29f7395bc25fcd94a35b10 | |
parent | 3d3263476ea3c9efbc1896de413e89bb3ca6ac2c (diff) | |
download | FreeBSD-src-cb68f6fdc05a6e458a724dc69fe05ae5ad9bfcee.zip FreeBSD-src-cb68f6fdc05a6e458a724dc69fe05ae5ad9bfcee.tar.gz |
Use correct register values. This one was in aic7xxx and advansys too.
-rw-r--r-- | sys/dev/dpt/dpt_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c index ee2116c..20487bb 100644 --- a/sys/dev/dpt/dpt_pci.c +++ b/sys/dev/dpt/dpt_pci.c @@ -93,7 +93,7 @@ dpt_pci_attach (device_t dev) io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE); } #endif - if (io == NULL && (command & PCI_COMMAND_IO_ENABLE) != 0) { + if (io == NULL && (command & PCIM_CMD_PORTEN) != 0) { rid = DPT_PCI_IOADDR; iotype = SYS_RES_IOPORT; io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE); |