Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/xscale/ixp425/ixp425_pci.c
Show First 20 Lines • Show All 263 Lines • ▼ Show 20 Lines | ixppcib_teardown_intr(device_t dev, device_t child, struct resource *vec, | ||||
void *cookie) | void *cookie) | ||||
{ | { | ||||
return (BUS_TEARDOWN_INTR(device_get_parent(dev), child, vec, cookie)); | return (BUS_TEARDOWN_INTR(device_get_parent(dev), child, vec, cookie)); | ||||
} | } | ||||
static struct resource * | static struct resource * | ||||
ixppcib_alloc_resource(device_t bus, device_t child, int type, int *rid, | ixppcib_alloc_resource(device_t bus, device_t child, int type, int *rid, | ||||
u_long start, u_long end, u_long count, u_int flags) | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) | ||||
{ | { | ||||
struct ixppcib_softc *sc = device_get_softc(bus); | struct ixppcib_softc *sc = device_get_softc(bus); | ||||
struct rman *rmanp; | struct rman *rmanp; | ||||
struct resource *rv; | struct resource *rv; | ||||
rv = NULL; | rv = NULL; | ||||
switch (type) { | switch (type) { | ||||
case SYS_RES_IRQ: | case SYS_RES_IRQ: | ||||
▲ Show 20 Lines • Show All 200 Lines • Show Last 20 Lines |