diff options
Diffstat (limited to 'sys/dev/agp/agp_amd.c')
-rw-r--r-- | sys/dev/agp/agp_amd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/agp/agp_amd.c b/sys/dev/agp/agp_amd.c index 2b1bd12..37bd11d 100644 --- a/sys/dev/agp/agp_amd.c +++ b/sys/dev/agp/agp_amd.c @@ -229,8 +229,8 @@ agp_amd_attach(device_t dev) return error; rid = AGP_AMD751_REGISTERS; - sc->regs = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, - 0, ~0, 1, RF_ACTIVE); + sc->regs = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, + RF_ACTIVE); if (!sc->regs) { agp_generic_detach(dev); return ENOMEM; |