From 028480bfb1299a0a34ad19f20e2cc3f24b402235 Mon Sep 17 00:00:00 2001 From: tegge Date: Wed, 1 Apr 1998 21:07:37 +0000 Subject: Add two workarounds for broken MP tables: - Attempt to handle PCI devices where the interrupt is an ISA/EISA interrupt according to the mp table. - Attempt to handle multiple IO APIC pins connected to the same PCI or ISA/EISA interrupt source. Print a warning if this happens, since performance is suboptimal. This workaround is only used for PCI devices. With these two workarounds, the -SMP kernel is capable of running on my Asus P/I-P65UP5 motherboard when version 1.4 of the MP table is disabled. --- sys/i386/include/smp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/i386/include/smp.h') diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index b31aadd..283c925 100644 --- a/sys/i386/include/smp.h +++ b/sys/i386/include/smp.h @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: smp.h,v 1.40 1998/03/07 21:34:59 dyson Exp $ + * $Id: smp.h,v 1.41 1998/04/01 20:38:28 tegge Exp $ * */ @@ -112,6 +112,7 @@ void mp_announce __P((void)); u_int isa_apic_mask __P((u_int)); int isa_apic_pin __P((int)); int pci_apic_pin __P((int, int, int)); +int next_apic_pin __P((int)); int undirect_isa_irq __P((int)); int undirect_pci_irq __P((int)); int apic_bus_type __P((int)); -- cgit v1.1