summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/trap.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-04-09 13:05:10 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-04-09 13:05:10 +0200
commit7b309d2e280675b6ce39f9b53cef6577e295c4f4 (patch)
treeba4ca836922f1131fe52c39bc057cf401e815680 /sys/src/9/pc/trap.c
parent6041d2048c13057fcefc318345d41eef26e51149 (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/pc/trap.c')
-rw-r--r--sys/src/9/pc/trap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/src/9/pc/trap.c b/sys/src/9/pc/trap.c
index 22cef6d8a..fadb64f42 100644
--- a/sys/src/9/pc/trap.c
+++ b/sys/src/9/pc/trap.c
@@ -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