diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-07-07 13:22:44 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-07-07 13:22:44 +0000 |
commit | d25c5758ea35b3a5510242ed2943f124cc00de19 (patch) | |
tree | 1e338355a8d04ce7cee98d0970155bc4b701edad /sys/arch/powerpc/include | |
parent | 0193f0c2db48a9f4d692c17a58ca88ace3dc1323 (diff) |
Since it is possible for the interrupt controller to be configured late
in the config cycle, and pci devices as well as mac onboard devices
do not use interrupts to probe. It is possible to record that the
interrupt is to be configured, but not configure it with the interrupt
controller until the interrupt controller configures itself.
This is lazy binding of interrupts. If there is a conflicting interrupt
or other problem it will be noticed when the interrupt controller configures
and collects the data rather than when the device configures.
Currently on the openpic interrupt controller supports these pre-configured
interrupts.
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r-- | sys/arch/powerpc/include/intr.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h index f2387c0a9fe..55fe476c175 100644 --- a/sys/arch/powerpc/include/intr.h +++ b/sys/arch/powerpc/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.6 2000/07/06 15:29:53 ho Exp $ */ +/* $OpenBSD: intr.h,v 1.7 2000/07/07 13:22:42 rahnds Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA. @@ -162,6 +162,9 @@ struct intrhand { int ih_irq; char *ih_what; }; +extern int ppc_configed_intr_cnt; +#define MAX_PRECONF_INTR 16 +extern struct intrhand ppc_configed_intr[MAX_PRECONF_INTR]; #endif /* _LOCORE */ |