ref: fe004d8a8d2694f03998d72534102658fe789c7e
parent: d628ef01c4128c06b2f443fe7ff66f8d75714e0f
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;
- }
/*
--
⑨