From c757ee90aefd19aff23dfb5e938e8e1e8576dbd4 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Fri, 18 Jun 2010 14:06:27 +0000 Subject: Provide for multiple, cascaded PICs on PowerPC systems, and extend the OFW interrupt map interface to also return the device's interrupt parent. MFC after: 8.1-RELEASE --- sys/powerpc/include/ocpbus.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/powerpc/include/ocpbus.h') diff --git a/sys/powerpc/include/ocpbus.h b/sys/powerpc/include/ocpbus.h index 8b17508..daa952b 100644 --- a/sys/powerpc/include/ocpbus.h +++ b/sys/powerpc/include/ocpbus.h @@ -44,4 +44,8 @@ #define OCPBUS_DEVTYPE_I2C 7 #define OCPBUS_DEVTYPE_SEC 8 +/* PIC IDs */ +#define OPIC_ID 0 +#define ATPIC_ID 1 + #endif /* _MACHINE_OCPBUS_H_ */ -- cgit v1.1