ref: 7b309d2e280675b6ce39f9b53cef6577e295c4f4
parent: 6041d2048c13057fcefc318345d41eef26e51149
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Apr 9 09:05:10 EDT 2020
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.
--- a/sys/src/9/pc/trap.c
+++ b/sys/src/9/pc/trap.c
@@ -40,11 +40,8 @@
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
--- a/sys/src/9/pc64/trap.c
+++ b/sys/src/9/pc64/trap.c
@@ -41,11 +41,8 @@
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;
- }
/*