Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/aic/aic_isa.c
Context not available. | |||||
rid = 0; | rid = 0; | ||||
sc->sc_port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, | sc->sc_port = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, | ||||
0ul, ~0ul, AIC_ISA_PORTSIZE, RF_ACTIVE); | 0, ~0, AIC_ISA_PORTSIZE, RF_ACTIVE); | ||||
if (!sc->sc_port) { | if (!sc->sc_port) { | ||||
device_printf(dev, "I/O port allocation failed\n"); | device_printf(dev, "I/O port allocation failed\n"); | ||||
return (ENOMEM); | return (ENOMEM); | ||||
Context not available. |