]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1064bd592c746f4656974f796ca3321e4b5c2c5e
treef5fc27c48dfee2f76bd2a3fce2bb55faa4126d59
parent54ab5e7c66dc62328a4821cd0471bc83412c9e74
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