Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/malta/gt.c
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
bus_generic_attach(dev); | bus_generic_attach(dev); | ||||
return (0); | return (0); | ||||
} | } | ||||
static struct resource * | static struct resource * | ||||
gt_alloc_resource(device_t dev, device_t child, int type, int *rid, | gt_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) | ||||
{ | { | ||||
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child, | return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child, | ||||
type, rid, start, end, count, flags)); | type, rid, start, end, count, flags)); | ||||
} | } | ||||
static int | static int | ||||
gt_setup_intr(device_t dev, device_t child, | gt_setup_intr(device_t dev, device_t child, | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |