summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-09-13 18:33:25 +0000
committerjhb <jhb@FreeBSD.org>2000-09-13 18:33:25 +0000
commit7013b8322587468516f271030ba6f1e1e8ad2505 (patch)
tree094e936b4c4d7213d8c6c9ada2d1b54c3631a970 /sys/pccard/pcic.c
parent2bef2cffd4590e0d732ee9af20c3fc37217d6b52 (diff)
downloadFreeBSD-src-7013b8322587468516f271030ba6f1e1e8ad2505.zip
FreeBSD-src-7013b8322587468516f271030ba6f1e1e8ad2505.tar.gz
- 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.
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c3
1 files changed, 2 insertions, 1 deletions
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 <sys/param.h>
+#include <sys/bus.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/module.h>
@@ -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;
OpenPOWER on IntegriCloud