diff options
| author | Bill Fumerola <billf@FreeBSD.org> | 1999-08-17 22:13:06 +0000 |
|---|---|---|
| committer | Bill Fumerola <billf@FreeBSD.org> | 1999-08-17 22:13:06 +0000 |
| commit | a4447566250c1792ce85256dc0d27778c003da49 (patch) | |
| tree | 4c71519cb115f0164280f4076361ecf103e87592 | |
| parent | 4fae07fae9847af16cb72538af909a758a1497a2 (diff) | |
Notes
| -rw-r--r-- | sys/pccard/pcic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 278c388f5ed4..5a637abd1458 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -760,15 +760,16 @@ pcic_probe(void) pcic_imask = soft_imask; /* See if the user has requested a specific IRQ */ - if (getenv_int("machdep.pccard.pcic_irq", &desired_irq)) + if (getenv_int("machdep.pccard.pcic_irq", &desired_irq)) { /* legal IRQ? */ if (desired_irq >= 1 && desired_irq <= ICU_LEN && (1ul << desired_irq) & free_irqs) free_irqs = 1ul << desired_irq; else - /* illeagal, disable use of IRQ */ + /* illegal, disable use of IRQ */ free_irqs = 0; + } pcic_irq = pccard_alloc_intr(free_irqs, pcicintr, 0, &pcic_imask, NULL); |
