summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-05-07 14:19:51 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-05-07 14:19:51 +0000
commit0ea13db40b46a680b41482fd8a7501a118aefcab (patch)
treef1fd8a8343fdfb20fd4fc7f80b3d2793d4d9bd32 /sys/arch/amd64
parentcc767cdc1e4a6251704710b15637f7bcab35189d (diff)
Stop printing the "ioapic0: misconfigured as apic..." messages. Basically
all modern machines are "misconfigured". We simply have to configure them and it is pointless to complain.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/ioapic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/ioapic.c b/sys/arch/amd64/amd64/ioapic.c
index 876b1f518f5..14c3e138de2 100644
--- a/sys/arch/amd64/amd64/ioapic.c
+++ b/sys/arch/amd64/amd64/ioapic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ioapic.c,v 1.23 2015/03/14 03:38:46 jsg Exp $ */
+/* $OpenBSD: ioapic.c,v 1.24 2016/05/07 14:19:50 kettenis Exp $ */
/* $NetBSD: ioapic.c,v 1.6 2003/05/15 13:30:31 fvdl Exp $ */
/*-
@@ -357,7 +357,7 @@ ioapic_attach(struct device *parent, struct device *self, void *aux)
* Maybe we should record the original ID for interrupt
* mapping later ...
*/
- if (apic_id != sc->sc_apicid) {
+ if (mp_verbose && apic_id != sc->sc_apicid) {
printf("%s: misconfigured as apic %d",
sc->sc_pic.pic_name, apic_id);
ioapic_set_id(sc);