Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ichsmb/ichsmb_pci.c
Context not available. | |||||
&sc->io_rid, 0, ~0, 16, RF_ACTIVE); | &sc->io_rid, 0, ~0, 16, RF_ACTIVE); | ||||
if (sc->io_res == NULL) | if (sc->io_res == NULL) | ||||
sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT, | sc->io_res = bus_alloc_resource(dev, SYS_RES_IOPORT, | ||||
&sc->io_rid, 0ul, ~0ul, 32, RF_ACTIVE); | &sc->io_rid, 0, ~0, 32, RF_ACTIVE); | ||||
if (sc->io_res == NULL) { | if (sc->io_res == NULL) { | ||||
device_printf(dev, "can't map I/O\n"); | device_printf(dev, "can't map I/O\n"); | ||||
error = ENXIO; | error = ENXIO; | ||||
Context not available. |