Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/sbni/if_sbni_isa.c
Context not available. | |||||
sc = device_get_softc(dev); | sc = device_get_softc(dev); | ||||
sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->io_rid, | sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->io_rid, | ||||
0ul, ~0ul, SBNI_PORTS, RF_ACTIVE); | 0, ~0, SBNI_PORTS, RF_ACTIVE); | ||||
if (!sc->io_res) { | if (!sc->io_res) { | ||||
printf("sbni: cannot allocate io ports!\n"); | printf("sbni: cannot allocate io ports!\n"); | ||||
return (ENOENT); | return (ENOENT); | ||||
Context not available. |