Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/xscale/pxa/pxa_obio.c
Show First 20 Lines • Show All 384 Lines • ▼ Show 20 Lines | pxa_alloc_gpio_irq(device_t dev, device_t child, int type, int *rid, | ||||
if (needactivate) { | if (needactivate) { | ||||
if (bus_activate_resource(child, type, *rid, rv)) { | if (bus_activate_resource(child, type, *rid, rv)) { | ||||
rman_release_resource(rv); | rman_release_resource(rv); | ||||
return (NULL); | return (NULL); | ||||
} | } | ||||
} | } | ||||
if (bootverbose) | if (bootverbose) | ||||
device_printf(dev, "lazy allocation of irq %ld for %s\n", | device_printf(dev, "lazy allocation of irq %jd for %s\n", | ||||
start, device_get_nameunit(child)); | start, device_get_nameunit(child)); | ||||
return (rv); | return (rv); | ||||
} | } |