pc, pc64: remove "got unassigned irq" prints
most pc's are multiprocessors these days, that use apic or msi interrupts, then the irq does not matter anymore. and uefi does not even assign irq to pci devices anymore. if we have a problem enabling an interrupt, we will print.
This commit is contained in:
parent
6041d2048c
commit
7b309d2e28
2 changed files with 2 additions and 8 deletions
|
@ -40,11 +40,8 @@ intrenable(int irq, void (*f)(Ureg*, void*), void* a, int tbdf, char *name)
|
|||
irq, tbdf, name);
|
||||
return;
|
||||
}
|
||||
if(tbdf != BUSUNKNOWN && (irq == 0xff || irq == 0)){
|
||||
print("intrenable: got unassigned irq %d, tbdf 0x%uX for %s\n",
|
||||
irq, tbdf, name);
|
||||
if(tbdf != BUSUNKNOWN && (irq == 0xff || irq == 0))
|
||||
irq = -1;
|
||||
}
|
||||
|
||||
/*
|
||||
* IRQ2 doesn't really exist, it's used to gang the interrupt
|
||||
|
|
|
@ -41,11 +41,8 @@ intrenable(int irq, void (*f)(Ureg*, void*), void* a, int tbdf, char *name)
|
|||
return;
|
||||
}
|
||||
|
||||
if(tbdf != BUSUNKNOWN && (irq == 0xff || irq == 0)){
|
||||
print("intrenable: got unassigned irq %d, tbdf 0x%uX for %s\n",
|
||||
irq, tbdf, name);
|
||||
if(tbdf != BUSUNKNOWN && (irq == 0xff || irq == 0))
|
||||
irq = -1;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue