Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cm/if_cm_isa.c
Context not available. | |||||
rid = 0; | rid = 0; | ||||
sc->port_res = bus_alloc_resource( | sc->port_res = bus_alloc_resource( | ||||
dev, SYS_RES_IOPORT, &rid, 0ul, ~0ul, CM_IO_PORTS, RF_ACTIVE); | dev, SYS_RES_IOPORT, &rid, 0, ~0, CM_IO_PORTS, RF_ACTIVE); | ||||
if (sc->port_res == NULL) | if (sc->port_res == NULL) | ||||
return (ENOENT); | return (ENOENT); | ||||
Context not available. | |||||
rid = 0; | rid = 0; | ||||
sc->mem_res = bus_alloc_resource( | sc->mem_res = bus_alloc_resource( | ||||
dev, SYS_RES_MEMORY, &rid, 0ul, ~0ul, CM_MEM_SIZE, RF_ACTIVE); | dev, SYS_RES_MEMORY, &rid, 0, ~0, CM_MEM_SIZE, RF_ACTIVE); | ||||
if (sc->mem_res == NULL) { | if (sc->mem_res == NULL) { | ||||
cm_release_resources(dev); | cm_release_resources(dev); | ||||
return (ENOENT); | return (ENOENT); | ||||
Context not available. |