summaryrefslogtreecommitdiffstats
path: root/sys/pccard
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-01-11 23:40:08 +0000
committernate <nate@FreeBSD.org>1997-01-11 23:40:08 +0000
commit5c2428f158984828b4f1f9fcfa958d73e89e354a (patch)
tree966fb5acec40455992eda20d282f6b7b7710be37 /sys/pccard
parent3ac71edb34a5f4def0dfab0943c008931c9580b9 (diff)
downloadFreeBSD-src-5c2428f158984828b4f1f9fcfa958d73e89e354a.zip
FreeBSD-src-5c2428f158984828b4f1f9fcfa958d73e89e354a.tar.gz
Initialize pcic_imask with SWI_MASK to interference from timeout routines.
Suggested by: bde
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pcic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 2f66575..a27f89c 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -718,6 +718,7 @@ pcic_probe(void)
* then attempt to get one.
*/
if (pcic_irq == 0) {
+ pcic_imask = SWI_MASK;
pcic_irq = pccard_alloc_intr(free_irqs,
pcicintr, 0, NULL, &pcic_imask);
if (pcic_irq < 0)
OpenPOWER on IntegriCloud