aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdt/fdt_common.c
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2013-10-21 21:13:01 +0000
committerBrooks Davis <brooks@FreeBSD.org>2013-10-21 21:13:01 +0000
commit1f40dbc85461b76d8aa691cd5bdf39ec9c2115cc (patch)
tree1ad095931322c23dc8628e44c44379b0922b188c /sys/dev/fdt/fdt_common.c
parentcf058082cdeb6aad591f67824bb92d433fcef2b3 (diff)
downloadsrc-1f40dbc85461b76d8aa691cd5bdf39ec9c2115cc.tar.gz
src-1f40dbc85461b76d8aa691cd5bdf39ec9c2115cc.zip
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
Notes
Notes: svn path=/head/; revision=256861
Diffstat (limited to 'sys/dev/fdt/fdt_common.c')
-rw-r--r--sys/dev/fdt/fdt_common.c2
1 files changed, 2 insertions, 0 deletions
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)
{