Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/adm5120/admpci.c
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
sc->sc_busno = result; | sc->sc_busno = result; | ||||
return (0); | return (0); | ||||
} | } | ||||
return (ENOENT); | return (ENOENT); | ||||
} | } | ||||
static struct resource * | static struct resource * | ||||
admpci_alloc_resource(device_t bus, device_t child, int type, int *rid, | admpci_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) | ||||
{ | { | ||||
return (NULL); | return (NULL); | ||||
#if 0 | #if 0 | ||||
struct admpci_softc *sc = device_get_softc(bus); | struct admpci_softc *sc = device_get_softc(bus); | ||||
struct resource *rv = NULL; | struct resource *rv = NULL; | ||||
struct rman *rm; | struct rman *rm; | ||||
bus_space_handle_t bh = 0; | bus_space_handle_t bh = 0; | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |