Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/fb/s3_pci.c
Context not available. | |||||
*/ | */ | ||||
rid = 0; | rid = 0; | ||||
if (!(sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, | if (!(sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, | ||||
0ul, ~0ul, 0, RF_ACTIVE | RF_SHAREABLE))) { | 0, ~0, 0, RF_ACTIVE | RF_SHAREABLE))) { | ||||
printf("%s: port resource allocation failed!\n", __func__); | printf("%s: port resource allocation failed!\n", __func__); | ||||
goto error; | goto error; | ||||
} | } | ||||
Context not available. | |||||
rid = 1; | rid = 1; | ||||
if (!(sc->enh_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, | if (!(sc->enh_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, | ||||
0ul, ~0ul, 0, RF_ACTIVE | RF_SHAREABLE))) { | 0, ~0, 0, RF_ACTIVE | RF_SHAREABLE))) { | ||||
printf("%s: enhanced port resource allocation failed!\n", | printf("%s: enhanced port resource allocation failed!\n", | ||||
__func__); | __func__); | ||||
goto error; | goto error; | ||||
Context not available. |