diff options
author | ian <ian@FreeBSD.org> | 2014-05-13 17:12:07 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-05-13 17:12:07 +0000 |
commit | 42a63a26cfe02dc91a47c8dba60ca2aae1fa1e2a (patch) | |
tree | 96994974626d0b161a11247118a5976f448b97df /sys/dev/ofw | |
parent | 3d20d204d8598105e6dd4fb0d595e33d2461a02b (diff) | |
download | FreeBSD-src-42a63a26cfe02dc91a47c8dba60ca2aae1fa1e2a.zip FreeBSD-src-42a63a26cfe02dc91a47c8dba60ca2aae1fa1e2a.tar.gz |
MFC r256870, r256898, r256899, r256900 (by nwhitehorn):
Standards-conformance and code deduplication:
- Use bus reference phandles in place of FDT offsets as IRQ domain keys
- Unify the identical macio/fdt/mambo OpenPIC drivers into one
- Be more forgiving (following ePAPR) about what we need from the device
tree to identify an OpenPIC
- Correctly map all IRQs into an interrupt domain
- Set IRQ_*_CONFORM for interrupts on an unknown PIC type instead of
failing attachment for that device.
Allow lots of interrupts (useful on multi-domain platforms) and do not
set device_quiet() on all devices attached under nexus(4).
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r-- | sys/dev/ofw/ofw_fdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_fdt.c b/sys/dev/ofw/ofw_fdt.c index 7b3b0e9..4191e7e 100644 --- a/sys/dev/ofw/ofw_fdt.c +++ b/sys/dev/ofw/ofw_fdt.c @@ -329,7 +329,7 @@ fdt_nextprop(int offset, char *buf, size_t size) depth = -1; } while (depth >= 0); - return (-1); + return (0); } /* |