Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35a6ae07 authored by Adrian-Ken Rueegsegger's avatar Adrian-Ken Rueegsegger Committed by Bjorn Helgaas
Browse files

x86/PCI: Refine PCI support check in pcibios_init()



Also consider raw_pci_ext_ops when validating if a system has PCI support.
This leads to proper resource allocation via pcibios_resource_survey() in
the case where PCI config space is exclusively accessed through MMCONFIG.

Signed-off-by: default avatarAdrian-Ken Rueegsegger <ken@codelabs.ch>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 9735a227
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -516,7 +516,7 @@ void __init pcibios_set_cache_line_size(void)

int __init pcibios_init(void)
{
	if (!raw_pci_ops) {
	if (!raw_pci_ops && !raw_pci_ext_ops) {
		printk(KERN_WARNING "PCI: System does not support PCI\n");
		return 0;
	}