Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 When updating IOAPIC ID, wr...
details: https://anonhg.NetBSD.org/src/rev/dc8b6c0331a3
branches: sommerfeld_i386mp_1
changeset: 482515:dc8b6c0331a3
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Sat Apr 27 14:25:03 2002 +0000
description:
When updating IOAPIC ID, write the correct register..
diffstat:
sys/arch/i386/i386/ioapic.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 831092f7d409 -r dc8b6c0331a3 sys/arch/i386/i386/ioapic.c
--- a/sys/arch/i386/i386/ioapic.c Thu Apr 18 12:54:16 2002 +0000
+++ b/sys/arch/i386/i386/ioapic.c Sat Apr 27 14:25:03 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ioapic.c,v 1.1.2.13 2001/12/29 23:31:00 sommerfeld Exp $ */
+/* $NetBSD: ioapic.c,v 1.1.2.14 2002/04/27 14:25:03 sommerfeld Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -266,7 +266,7 @@
if (apic_id != sc->sc_apicid) {
printf("%s: misconfigured as apic %d\n", sc->sc_dev.dv_xname, apic_id);
- ioapic_write(sc,IOAPIC_VER,
+ ioapic_write(sc,IOAPIC_ID,
(ioapic_read(sc,IOAPIC_ID)&~IOAPIC_ID_MASK)
|(sc->sc_apicid<<IOAPIC_ID_SHIFT));
Home |
Main Index |
Thread Index |
Old Index