Module Name: src
Committed By: pgoyette
Date: Tue Apr 5 13:17:05 UTC 2011
Modified Files:
src/sys/arch/x86/x86: mpacpi.c
Log Message:
Display a warning message if an attempt is made to process interrupt
routing for a bus that has previously been processed.
>From PR kern/43570 - doesn't fix the problem but at least lets you
know it exists.
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/x86/x86/mpacpi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x86/x86/mpacpi.c
diff -u src/sys/arch/x86/x86/mpacpi.c:1.90 src/sys/arch/x86/x86/mpacpi.c:1.91
--- src/sys/arch/x86/x86/mpacpi.c:1.90 Wed Mar 16 06:02:36 2011
+++ src/sys/arch/x86/x86/mpacpi.c Tue Apr 5 13:17:04 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: mpacpi.c,v 1.90 2011/03/16 06:02:36 dholland Exp $ */
+/* $NetBSD: mpacpi.c,v 1.91 2011/04/05 13:17:04 pgoyette Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.90 2011/03/16 06:02:36 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.91 2011/04/05 13:17:04 pgoyette Exp $");
#include "acpica.h"
#include "opt_acpi.h"
@@ -786,6 +786,11 @@
mpr->mpr_bus);
mpb = &mp_busses[mpr->mpr_bus];
+
+ if (mpb->mb_name != NULL)
+ printf("mpacpi: PCI bus %d int routing already done!\n",
+ mpr->mpr_bus);
+
mpb->mb_intrs = NULL;
mpb->mb_name = "pci";
mpb->mb_idx = mpr->mpr_bus;