diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-09 13:05:10 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-09 13:05:10 +0200 |
commit | 7b309d2e280675b6ce39f9b53cef6577e295c4f4 (patch) | |
tree | ba4ca836922f1131fe52c39bc057cf401e815680 /sys/src/9/pc64 | |
parent | 6041d2048c13057fcefc318345d41eef26e51149 (diff) |
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.
Diffstat (limited to 'sys/src/9/pc64')
-rw-r--r-- | sys/src/9/pc64/trap.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/src/9/pc64/trap.c b/sys/src/9/pc64/trap.c index 9e322f408..b1078c560 100644 --- a/sys/src/9/pc64/trap.c +++ b/sys/src/9/pc64/trap.c @@ -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; - } /* |