From 1f40dbc85461b76d8aa691cd5bdf39ec9c2115cc Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Mon, 21 Oct 2013 21:13:01 +0000 Subject: MFP4: 223121 (FDT infrastructure portion) Implement support for interrupt-parent nodes in simplebus. The current implementation requires that device declarations have an interrupt-parent node and that it point to a device that has registered itself as a interrupt controller in fdt_ic_list_head and implements the fdt_ic interface. Sponsored by: DARPA/AFRL --- sys/dev/fdt/fdt_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/fdt/fdt_common.c') diff --git a/sys/dev/fdt/fdt_common.c b/sys/dev/fdt/fdt_common.c index e8cd11f7330a..dad4297bd07b 100644 --- a/sys/dev/fdt/fdt_common.c +++ b/sys/dev/fdt/fdt_common.c @@ -63,6 +63,8 @@ vm_paddr_t fdt_immr_pa; vm_offset_t fdt_immr_va; vm_offset_t fdt_immr_size; +struct fdt_ic_list fdt_ic_list_head = SLIST_HEAD_INITIALIZER(fdt_ic_list_head); + int fdt_get_range(phandle_t node, int range_id, u_long *base, u_long *size) { -- cgit v1.2.3