From 7013b8322587468516f271030ba6f1e1e8ad2505 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 13 Sep 2000 18:33:25 +0000 Subject: - Remove the inthand2_t type and use the equivalent driver_intr_t type from newbus for referencing device interrupt handlers. - Move the 'struct intrec' type which describes interrupt sources into sys/interrupt.h instead of making it just be a x86 structure. - Don't create 'ithd' and 'intrec' typedefs, instead, just use 'struct ithd' and 'struct intrec' - Move the code to translate new-bus interrupt flags into an interrupt thread priority out of the x86 nexus code and into a MI ithread_priority() function in sys/kern/kern_intr.c. - Remove now-uneeded x86-specific headers from sys/dev/ata/ata-all.c and sys/pci/pci_compat.c. --- sys/pccard/pcic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/pccard/pcic.c') diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 8133883..b16dbfa 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -31,6 +31,7 @@ */ #include +#include #include #include #include @@ -53,7 +54,7 @@ /* * Prototypes for interrupt handler. */ -static inthand2_t pcicintr; +static driver_intr_t pcicintr; static int pcic_ioctl __P((struct slot *, int, caddr_t)); static int pcic_power __P((struct slot *)); static timeout_t pcic_reset; -- cgit v1.1