diff options
author | Peter Wemm <peter@FreeBSD.org> | 2000-05-28 16:18:58 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2000-05-28 16:18:58 +0000 |
commit | 2a26d3479b1348deb30c11090143a899c4ed5b1a (patch) | |
tree | dae181e3c0f6a9b6af944088c223f320c00895c9 /sys/pci/xrpu.c | |
parent | 46dff442be149a41f9718630df1a0450fbb56ef6 (diff) | |
download | src-2a26d3479b1348deb30c11090143a899c4ed5b1a.tar.gz src-2a26d3479b1348deb30c11090143a899c4ed5b1a.zip |
Do not depend on FreeBSD 2.2 compatability defines.
s/PCI_MAP_REG_START/PCIR_MAPS/
Notes
Notes:
svn path=/head/; revision=61043
Diffstat (limited to 'sys/pci/xrpu.c')
-rw-r--r-- | sys/pci/xrpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/xrpu.c b/sys/pci/xrpu.c index 9688caaa33e5..3d2332f1156f 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) { |