Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/atheros/ar71xx_pci.c
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
return (0); | return (0); | ||||
} | } | ||||
return (ENOENT); | return (ENOENT); | ||||
} | } | ||||
static struct resource * | static struct resource * | ||||
ar71xx_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, | ar71xx_pci_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 ar71xx_pci_softc *sc = device_get_softc(bus); | struct ar71xx_pci_softc *sc = device_get_softc(bus); | ||||
struct resource *rv; | struct resource *rv; | ||||
struct rman *rm; | struct rman *rm; | ||||
switch (type) { | switch (type) { | ||||
case SYS_RES_IRQ: | case SYS_RES_IRQ: | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |