Module Name: src Committed By: snj Date: Tue Aug 11 05:07:16 UTC 2015
Modified Files: src/sys/arch/x86/x86 [netbsd-7]: lapic.c mpacpi.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #948): sys/arch/x86/x86/mpacpi.c: revisions 1.99, 1.100 sys/arch/x86/x86/lapic.c: revision 1.49 - Add lapic_dump() to print lapic's setting. - Add mpacpi_dump() to dump mp_intrs[]. -- Configure ioapic before lapic because lapic(lapic_set_lvt()) checks the existence of ioapic. This change fixes a problem that some machines hang after attaching ehci (little after writing EHCI_USBINTR to enable interrupt). Even though cold == 1, LAPIC_LVINT0 was not set as masked. Perhaps it's the reason of the problem. This problem was observed on SuperMicro X10SLX-F, X10SDV-TLN4F and Shuttle DS57U without wm(4) driver. To generate a diff of this commit: cvs rdiff -u -r1.47.4.1 -r1.47.4.2 src/sys/arch/x86/x86/lapic.c cvs rdiff -u -r1.97 -r1.97.10.1 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.