Messages in this thread Patch in this message | | | Date | Sat, 5 Apr 2003 15:57:51 +0200 (MEST) | From | mikpe@csd ... | Subject | [PATCH][2.4.21-pre7] fix dmi_scan breakage |
| |
dmi_scan in -pre7 causes linkage errors when CONFIG_PCI=n, since neither broken_440gx_bios nor pci_probe exist then. This patch works around that.
/Mikael
--- linux-2.4.21-pre7/arch/i386/kernel/dmi_scan.c.~1~ 2003-04-05 12:35:30.000000000 +0200 +++ linux-2.4.21-pre7/arch/i386/kernel/dmi_scan.c 2003-04-05 14:22:32.000000000 +0200 @@ -427,8 +427,10 @@ #ifdef CONFIG_X86_IO_APIC skip_ioapic_setup = 0; #endif +#ifdef CONFIG_PCI broken_440gx_bios = 1; pci_probe |= PCI_BIOS_IRQ_SCAN; +#endif return 0; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |