summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/psim
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/psim
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/psim')
-rw-r--r--sys/powerpc/psim/openpic_iobus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/psim/openpic_iobus.c b/sys/powerpc/psim/openpic_iobus.c
index 96d5d4d..4710f59 100644
--- a/sys/powerpc/psim/openpic_iobus.c
+++ b/sys/powerpc/psim/openpic_iobus.c
@@ -71,6 +71,7 @@ static device_method_t openpic_iobus_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