summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-05-28 15:15:14 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-05-28 15:15:14 +0000
commit4cbef178df976bc8cce147380e40c956b9eae6b7 (patch)
tree0685dcdee01de962634a41b7a8a985b144fa0ca4
parent3e533c306cfd2d789648ff1bb9f153d9bb9c1dfd (diff)
Notes
-rw-r--r--sys/dev/sound/pci/es137x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/es137x.c b/sys/dev/sound/pci/es137x.c
index 4094d554f048..6130473846af 100644
--- a/sys/dev/sound/pci/es137x.c
+++ b/sys/dev/sound/pci/es137x.c
@@ -773,7 +773,7 @@ es_pci_attach(device_t dev)
}
}
if (mapped == 0 && (data & PCIM_CMD_PORTEN)) {
- regid = PCI_MAP_REG_START;
+ regid = PCIR_MAPS;
type = SYS_RES_IOPORT;
reg = bus_alloc_resource(dev, type, &regid,
0, ~0, 1, RF_ACTIVE);