]> 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)
commitb30822bd196ffd785ca5bba1de1ce1029c50070c
treef5fc27c48dfee2f76bd2a3fce2bb55faa4126d59
parente92c4d6136849731038b4f6dfc6a9471f76a0482
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