From 59566a149147f1a4ffe5cf45722ae207f752280f Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 21 Jul 1997 16:50:46 +0000 Subject: Use soft_imask instead of SWI_MASK in the LKM version. SWI_MASK shouldn't have been visible in LKMs, since it had the wrong value for the APIC_IO case. Removed unused #includes. --- sys/pccard/pcic.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/pccard') diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 4e1f5a8..65eadcd 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -42,15 +42,11 @@ #include #include -#include #include #include #include -#ifdef PC98 -#include -#endif #include #include @@ -64,7 +60,6 @@ #if NPCI > 0 #include -#include static char * pcic_pci_probe(pcici_t tag, pcidi_t type) @@ -791,7 +786,7 @@ pcic_probe(void) * then attempt to get one. */ if (pcic_irq == 0) { - pcic_imask = SWI_MASK; + pcic_imask = soft_imask; pcic_irq = pccard_alloc_intr(free_irqs, pcicintr, 0, NULL, &pcic_imask); if (pcic_irq < 0) -- cgit v1.1