diff options
author | brooks <brooks@FreeBSD.org> | 2013-10-31 16:18:36 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2013-10-31 16:18:36 +0000 |
commit | 7e2e9ae1af9f1eeef71d67a4beb036f54fdf9406 (patch) | |
tree | e1b6887d8f8516aa9dd6ddcdc894598368c5d9f0 /sys/dev/fdt/fdt_common.c | |
parent | 8b58367431f0c0ea5889dee10a939c56c516b590 (diff) | |
download | FreeBSD-src-7e2e9ae1af9f1eeef71d67a4beb036f54fdf9406.zip FreeBSD-src-7e2e9ae1af9f1eeef71d67a4beb036f54fdf9406.tar.gz |
MFC r256861:
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
Approved by: re (gjb)
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 e8cd11f..dad4297 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) { |