]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Open Firmware interrupt specifiers can consist of arbitrary-length byte
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>
Sat, 1 Feb 2014 17:17:35 +0000 (17:17 +0000)
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>
Sat, 1 Feb 2014 17:17:35 +0000 (17:17 +0000)
commitbbc6da03ef22011dcb9965d4d88b4f164808b79f
treea83a2c1252b628ba29e227d3b9818f9a71b63d48
parentf613b2d3b12f9407c5f3625d125755d59bf56682
Open Firmware interrupt specifiers can consist of arbitrary-length byte
strings and include arbitrary information (IRQ line/domain/sense). When the
ofw_bus_map_intr() API was introduced, it assumed that, as on most systems,
these were either 1 cell, containing an interrupt line, or 2, containing
a line number plus a sense code. It turns out a non-negligible number of
ARM systems use 3 (or even 4!) cells for interrupts, so make this more
general.
sys/arm/arm/nexus.c
sys/arm/mv/mv_pci.c
sys/dev/fdt/fdt_common.c
sys/dev/ofw/ofw_bus.h
sys/dev/ofw/ofw_bus_if.m
sys/dev/ofw/ofw_nexus.c
sys/powerpc/ofw/ofw_pci.c
sys/powerpc/ofw/ofw_pcib_pci.c
sys/powerpc/ofw/ofw_pcibus.c
sys/powerpc/powerpc/nexus.c
sys/powerpc/pseries/vdevice.c