Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Display a warning message if an attempt is ...
details: https://anonhg.NetBSD.org/src/rev/684fc0a3bf20
branches: trunk
changeset: 763848:684fc0a3bf20
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Apr 05 13:17:04 2011 +0000
description:
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.
diffstat:
sys/arch/x86/x86/mpacpi.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 2778f560f05c -r 684fc0a3bf20 sys/arch/x86/x86/mpacpi.c
--- a/sys/arch/x86/x86/mpacpi.c Tue Apr 05 12:18:11 2011 +0000
+++ b/sys/arch/x86/x86/mpacpi.c Tue Apr 05 13:17:04 2011 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index