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 Postpone the ioapic_ih assignment a bit, si...
details: https://anonhg.NetBSD.org/src/rev/23036c34ae12
branches: trunk
changeset: 547239:23036c34ae12
user: fvdl <fvdl%NetBSD.org@localhost>
date: Thu May 15 16:32:50 2003 +0000
description:
Postpone the ioapic_ih assignment a bit, since the pin number may have
been corrected in a workaround in the meantime.
diffstat:
sys/arch/x86/x86/mpbios.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r dfa342131919 -r 23036c34ae12 sys/arch/x86/x86/mpbios.c
--- a/sys/arch/x86/x86/mpbios.c Thu May 15 15:02:52 2003 +0000
+++ b/sys/arch/x86/x86/mpbios.c Thu May 15 16:32:50 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mpbios.c,v 1.6 2003/05/15 13:30:31 fvdl Exp $ */
+/* $NetBSD: mpbios.c,v 1.7 2003/05/15 16:32:50 fvdl Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -1028,9 +1028,6 @@
mpi->bus_pin = dev;
mpi->global_int = -1;
- mpi->ioapic_ih = APIC_INT_VIA_APIC |
- ((id<<APIC_INT_APIC_SHIFT) | ((pin<<APIC_INT_PIN_SHIFT)));
-
mpi->type = type;
mpi->flags = flags;
mpi->redir = 0;
@@ -1089,6 +1086,10 @@
mpi->cpu_id = id;
}
}
+
+ mpi->ioapic_ih = APIC_INT_VIA_APIC |
+ ((id<<APIC_INT_APIC_SHIFT) | ((pin<<APIC_INT_PIN_SHIFT)));
+
if (mp_verbose) {
char buf[256];
Home |
Main Index |
Thread Index |
Old Index