summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/probe_roms.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2011-05-25 05:04:35 +0000
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:04:50 -0700
commitbf482c6069b514b7fe57a048ae1b6f11cf3bb10c (patch)
tree0630cb34b500867fe362dcb610a2ea3b1e44c6ea /drivers/scsi/isci/probe_roms.h
parent77d67385f7b4a630912fd567f104946be137f477 (diff)
downloadlwn-bf482c6069b514b7fe57a048ae1b6f11cf3bb10c.tar.gz
lwn-bf482c6069b514b7fe57a048ae1b6f11cf3bb10c.zip
isci: Retrieve the EFI variable for OEM parameter
We can call the EFI get_variable service routine directly to retrieve the EFI variable that holds the OEM parameters table. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/probe_roms.h')
-rw-r--r--drivers/scsi/isci/probe_roms.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/probe_roms.h b/drivers/scsi/isci/probe_roms.h
index 7e3e6d7a0a47..95c8d91aab8d 100644
--- a/drivers/scsi/isci/probe_roms.h
+++ b/drivers/scsi/isci/probe_roms.h
@@ -58,6 +58,7 @@
#ifdef __KERNEL__
#include <linux/firmware.h>
#include <linux/pci.h>
+#include <linux/efi.h>
#include "isci.h"
#define SCIC_SDS_PARM_NO_SPEED 0
@@ -202,7 +203,6 @@ struct isci_oem_hdr {
#define ISCI_EFI_VENDOR_GUID \
EFI_GUID(0x193dfefa, 0xa445, 0x4302, 0x99, 0xd8, 0xef, 0x3a, 0xad, \
0x1a, 0x04, 0xc6)
-#define ISCI_EFI_ATTRIBUTES 0
#define ISCI_EFI_VAR_NAME "RstScuO"
/* Allowed PORT configuration modes APC Automatic PORT configuration mode is