Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/powermac/uninorth.c
Context not available. | |||||
static int unin_chip_print_child(device_t dev, device_t child); | static int unin_chip_print_child(device_t dev, device_t child); | ||||
static void unin_chip_probe_nomatch(device_t, device_t); | static void unin_chip_probe_nomatch(device_t, device_t); | ||||
static struct resource *unin_chip_alloc_resource(device_t, device_t, int, int *, | static struct resource *unin_chip_alloc_resource(device_t, device_t, int, int *, | ||||
u_long, u_long, u_long, u_int); | rman_res_t, rman_res_t, | ||||
rman_res_t, u_int); | |||||
static int unin_chip_activate_resource(device_t, device_t, int, int, | static int unin_chip_activate_resource(device_t, device_t, int, int, | ||||
struct resource *); | struct resource *); | ||||
static int unin_chip_deactivate_resource(device_t, device_t, int, int, | static int unin_chip_deactivate_resource(device_t, device_t, int, int, | ||||
Context not available. | |||||
static struct resource * | static struct resource * | ||||
unin_chip_alloc_resource(device_t bus, device_t child, int type, int *rid, | unin_chip_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 unin_chip_softc *sc; | struct unin_chip_softc *sc; | ||||
int needactivate; | int needactivate; | ||||
Context not available. | |||||
start = (vm_offset_t) rman_get_start(res); | start = (vm_offset_t) rman_get_start(res); | ||||
if (bootverbose) | if (bootverbose) | ||||
printf("unin mapdev: start %zx, len %ld\n", start, | printf("unin mapdev: start %zx, len %jd\n", start, | ||||
rman_get_size(res)); | rman_get_size(res)); | ||||
p = pmap_mapdev(start, (vm_size_t) rman_get_size(res)); | p = pmap_mapdev(start, (vm_size_t) rman_get_size(res)); | ||||
Context not available. |