Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/quicc/quicc_core.c
Context not available. | |||||
struct quicc_softc *sc; | struct quicc_softc *sc; | ||||
struct resource_list_entry *rle; | struct resource_list_entry *rle; | ||||
const char *sep; | const char *sep; | ||||
u_long size, start; | rman_res_t size, start; | ||||
int error; | int error; | ||||
sc = device_get_softc(dev); | sc = device_get_softc(dev); | ||||
Context not available. | |||||
struct resource * | struct resource * | ||||
quicc_bus_alloc_resource(device_t dev, device_t child, int type, int *rid, | quicc_bus_alloc_resource(device_t dev, 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 quicc_device *qd; | struct quicc_device *qd; | ||||
struct resource_list_entry *rle; | struct resource_list_entry *rle; | ||||
Context not available. | |||||
return (NULL); | return (NULL); | ||||
/* We only support default allocations. */ | /* We only support default allocations. */ | ||||
if (start != 0UL || end != ~0UL) | if (start != 0 || end != ~0) | ||||
return (NULL); | return (NULL); | ||||
qd = device_get_ivars(child); | qd = device_get_ivars(child); | ||||
Context not available. | |||||
int | int | ||||
quicc_bus_get_resource(device_t dev, device_t child, int type, int rid, | quicc_bus_get_resource(device_t dev, device_t child, int type, int rid, | ||||
u_long *startp, u_long *countp) | rman_res_t *startp, rman_res_t *countp) | ||||
{ | { | ||||
struct quicc_device *qd; | struct quicc_device *qd; | ||||
struct resource_list_entry *rle; | struct resource_list_entry *rle; | ||||
Context not available. |