summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-03-07 22:08:43 +0000
committermarcel <marcel@FreeBSD.org>2008-03-07 22:08:43 +0000
commitdf20e1735314eed9a226f7e24d8dc9de19712a24 (patch)
tree80505d438be8283796192dc2021565d9051007cb /sys/powerpc/powermac
parentcbff2d578240895a5d6eb03901077ee0d8e4765f (diff)
downloadFreeBSD-src-df20e1735314eed9a226f7e24d8dc9de19712a24.zip
FreeBSD-src-df20e1735314eed9a226f7e24d8dc9de19712a24.tar.gz
Add support for the BUS_CONFIG_INTR() method to the platform and to
openpic(4). Make use of it in ocpbus(4). On the MPC85xxCDS, IRQ0:4 are active-low.
Diffstat (limited to 'sys/powerpc/powermac')
-rw-r--r--sys/powerpc/powermac/openpic_macio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/powermac/openpic_macio.c b/sys/powerpc/powermac/openpic_macio.c
index 7d4a9c8..49d935a 100644
--- a/sys/powerpc/powermac/openpic_macio.c
+++ b/sys/powerpc/powermac/openpic_macio.c
@@ -67,6 +67,7 @@ static device_method_t openpic_macio_methods[] = {
DEVMETHOD(device_attach, openpic_attach),
/* PIC interface */
+ DEVMETHOD(pic_config, openpic_config),
DEVMETHOD(pic_dispatch, openpic_dispatch),
DEVMETHOD(pic_enable, openpic_enable),
DEVMETHOD(pic_eoi, openpic_eoi),
OpenPOWER on IntegriCloud