Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/amdsbwd/amdsbwd.c
Context not available. | |||||
return (ENXIO); | return (ENXIO); | ||||
} | } | ||||
rid = 0; | rid = 0; | ||||
res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0ul, ~0ul, | res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, | ||||
AMDSB_PMIO_WIDTH, RF_ACTIVE | RF_SHAREABLE); | AMDSB_PMIO_WIDTH, RF_ACTIVE | RF_SHAREABLE); | ||||
if (res == NULL) { | if (res == NULL) { | ||||
device_printf(dev, "bus_alloc_resource for IO failed\n"); | device_printf(dev, "bus_alloc_resource for IO failed\n"); | ||||
Context not available. |