From b282c5d4fa0a99556d9b977b3a9b92e06c66db85 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 29 Jan 2016 19:28:16 +0100 Subject: Fallback on direct PCI access when no BIOS32 is available Some hardware start shippping with no BIOS32 at all, and we'll have to implement ACPI to get the address of the mmconfig table. In the meanwhile, we can hope that the direct probe works (it does on HP820 for instance). * linux/src/arch/i386/kernel/bios32.c (pcibios_init): Also try check_direct_pci() when bios32 probing failed. --- linux/src/arch/i386/kernel/bios32.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/src') diff --git a/linux/src/arch/i386/kernel/bios32.c b/linux/src/arch/i386/kernel/bios32.c index b069ce4..c10cc0c 100644 --- a/linux/src/arch/i386/kernel/bios32.c +++ b/linux/src/arch/i386/kernel/bios32.c @@ -909,6 +909,8 @@ unsigned long pcibios_init(unsigned long memory_start, unsigned long memory_end) } if (bios32_entry && check_pcibios()) access_pci = &pci_bios_access; + else + access_pci = check_direct_pci(); #endif return memory_start; } -- cgit v1.2.3