diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2013-10-21 21:13:01 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2013-10-21 21:13:01 +0000 |
commit | 1f40dbc85461b76d8aa691cd5bdf39ec9c2115cc (patch) | |
tree | 1ad095931322c23dc8628e44c44379b0922b188c /sys/dev/fdt/fdt_common.c | |
parent | cf058082cdeb6aad591f67824bb92d433fcef2b3 (diff) | |
download | src-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.c | 2 |
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) { |