x86: Use PCI setup data
authorMatthew Garrett <mjg@redhat.com>
Wed, 5 Dec 2012 21:33:27 +0000 (14:33 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Dec 2012 21:38:26 +0000 (14:38 -0700)
commitf9a37be0f02a943d63e3346b19f9c9d8d91826cb
treef5fc27c48dfee2f76bd2a3fce2bb55faa4126d59
parent84c1b80e32638f881c17390dfe88143e5cd3f583
x86: Use PCI setup data

EFI can provide PCI ROMs out of band via boot services, which may not be
available after boot. Add support for using the data handed off to us by
the boot stub or bootloader.

[bhelgaas: added Seth's boot_params section mismatch fix]
[bhelgaas: drop "boot_params.hdr.version < 0x0209" test]
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Seth Forshee <seth.forshee@canonical.com>
arch/x86/kernel/setup.c
arch/x86/pci/common.c