mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 14:39:37 +00:00
Do not depend on FreeBSD 2.2 compatability defines.
s/PCI_MAP_REG_START/PCIR_MAPS/
This commit is contained in:
parent
46dff442be
commit
2a26d3479b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61043
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user