summaryrefslogtreecommitdiffstats
path: root/sys/pci/xrpu.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-05-28 16:18:58 +0000
committerpeter <peter@FreeBSD.org>2000-05-28 16:18:58 +0000
commit488ea1ee270ed326489b5dfd6074d35190804f2b (patch)
treee3a780cde159118c37720e08930e6a372fac4c75 /sys/pci/xrpu.c
parente86de1e77cbfce182c1956cb99d7992f5bd09868 (diff)
downloadFreeBSD-src-488ea1ee270ed326489b5dfd6074d35190804f2b.zip
FreeBSD-src-488ea1ee270ed326489b5dfd6074d35190804f2b.tar.gz
Do not depend on FreeBSD 2.2 compatability defines.
s/PCI_MAP_REG_START/PCIR_MAPS/
Diffstat (limited to 'sys/pci/xrpu.c')
-rw-r--r--sys/pci/xrpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/xrpu.c b/sys/pci/xrpu.c
index 9688caa..3d2332f 100644
--- a/sys/pci/xrpu.c
+++ b/sys/pci/xrpu.c
@@ -228,7 +228,7 @@ xrpu_attach(device_t self)
unit = device_get_unit(self);
sc = device_get_softc(self);
sc->mode = NORMAL;
- rid = PCI_MAP_REG_START;
+ rid = PCIR_MAPS;
res = bus_alloc_resource(self, SYS_RES_MEMORY, &rid,
0, ~0, 1, RF_ACTIVE);
if (res == NULL) {
OpenPOWER on IntegriCloud