diff options
Diffstat (limited to 'sys/dev/agp/agp.c')
-rw-r--r-- | sys/dev/agp/agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c index 6a01e20..fc4fd1f 100644 --- a/sys/dev/agp/agp.c +++ b/sys/dev/agp/agp.c @@ -230,8 +230,8 @@ agp_generic_attach(device_t dev) * Find and map the aperture. */ rid = AGP_APBASE; - sc->as_aperture = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, - 0, ~0, 1, RF_ACTIVE); + sc->as_aperture = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, + RF_ACTIVE); if (!sc->as_aperture) return ENOMEM; |