diff options
author | Dave Jiang <dave.jiang@intel.com> | 2011-02-23 00:02:24 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 03:55:30 -0700 |
commit | 8db37aabaceb3dcd18754c1e782d4474e4052c81 (patch) | |
tree | db23bf522bd632dd5017adf2c4dbe4b38864d823 /drivers/scsi/isci/init.c | |
parent | d044af17aacd03a1f4fced1af4b7570d205c8fd9 (diff) | |
download | blackbird-op-linux-8db37aabaceb3dcd18754c1e782d4474e4052c81.tar.gz blackbird-op-linux-8db37aabaceb3dcd18754c1e782d4474e4052c81.zip |
isci: Adding EFI variable skeletal support
Adding EFI variable retrieving for OEM parameters. Still need GUID and
variable name.
Also updated the data struct for oem parameters and hex file for firmware
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
[fix CONFIG_EFI=n compile error]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/init.c')
-rw-r--r-- | drivers/scsi/isci/init.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index 65519321e1cc..13105294fbea 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c @@ -474,10 +474,9 @@ static int __devinit isci_pci_probe(struct pci_dev *pdev, const struct pci_devic return -ENOMEM; pci_set_drvdata(pdev, pci_info); - if (efi_enabled) { - /* do EFI parsing here */ - orom = NULL; - } else + if (efi_enabled) + orom = isci_get_efi_var(pdev); + else orom = isci_request_oprom(pdev); if (!orom) { |