Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ed/if_ed_pccard.c
Context not available. | |||||
if (rman_get_size(sc->port_res) == ED_NOVELL_IO_PORTS / 2) { | if (rman_get_size(sc->port_res) == ED_NOVELL_IO_PORTS / 2) { | ||||
port_rid++; | port_rid++; | ||||
sc->port_res2 = bus_alloc_resource(dev, SYS_RES_IOPORT, | sc->port_res2 = bus_alloc_resource(dev, SYS_RES_IOPORT, | ||||
&port_rid, 0ul, ~0ul, 1, RF_ACTIVE); | &port_rid, 0, ~0, 1, RF_ACTIVE); | ||||
if (sc->port_res2 == NULL || | if (sc->port_res2 == NULL || | ||||
rman_get_size(sc->port_res2) != ED_NOVELL_IO_PORTS / 2) { | rman_get_size(sc->port_res2) != ED_NOVELL_IO_PORTS / 2) { | ||||
error = ENXIO; | error = ENXIO; | ||||
Context not available. |