- Allocate the 'PCIC' interrupt from the last available (higher #) IRQ

instead of the first available, like Win95 does.  This appears to help
  on some machines, and avoids potential problems with built-in serial
  ports which tend to live at IRQ 3, which is usually picked with the
  old method.
This commit is contained in:
Nate Williams 1997-10-06 02:56:15 +00:00
parent 90c752d519
commit 6270089212
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ pccard_alloc_intr(u_int imask, inthand2_t *hand, int unit,
int irq;
unsigned int mask;
for (irq = 1; irq < ICU_LEN; irq++) {
for (irq = ICU_LEN; irq > 0; irq--) {
mask = 1ul << irq;
if (!(mask & imask))
continue;