aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2011-02-24 15:09:39 -0500
committerDan Williams <dan.j.williams@intel.com>2011-07-03 06:55:30 -0400
commitca507b98e65f539e0b3866b6aa8efd76c13be285 (patch)
treee8c20ae094480fcb83916dcf46e13715602fd63f
parent07373a5caa29e4159ef1ea5e72985ddaf013519a (diff)
isci: update efi variable name and guid
These are the finalized values that the driver can expect to see in production. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r--drivers/scsi/isci/probe_roms.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/scsi/isci/probe_roms.h b/drivers/scsi/isci/probe_roms.h
index 69526ffa8474..02940e709f97 100644
--- a/drivers/scsi/isci/probe_roms.h
+++ b/drivers/scsi/isci/probe_roms.h
@@ -73,6 +73,7 @@ struct isci_orom *isci_get_efi_var(struct pci_dev *pdev);
73#else 73#else
74#define SCI_MAX_PORTS 4 74#define SCI_MAX_PORTS 4
75#define SCI_MAX_PHYS 4 75#define SCI_MAX_PHYS 4
76#define SCI_MAX_CONTROLLERS 2
76#endif 77#endif
77 78
78#define ISCI_FW_NAME "isci/isci_firmware.bin" 79#define ISCI_FW_NAME "isci/isci_firmware.bin"
@@ -82,9 +83,11 @@ struct isci_orom *isci_get_efi_var(struct pci_dev *pdev);
82#define ISCI_ROM_SIG "ISCUOEMB" 83#define ISCI_ROM_SIG "ISCUOEMB"
83#define ISCI_ROM_SIG_SIZE 8 84#define ISCI_ROM_SIG_SIZE 8
84 85
85#define ISCI_EFI_VENDOR_GUID NULL_GUID 86#define ISCI_EFI_VENDOR_GUID \
87 EFI_GUID(0x193dfefa, 0xa445, 0x4302, 0x99, 0xd8, 0xef, 0x3a, 0xad, \
88 0x1a, 0x04, 0xc6)
86#define ISCI_EFI_ATTRIBUTES 0 89#define ISCI_EFI_ATTRIBUTES 0
87#define ISCI_EFI_VAR_NAME "isci_oemb" 90#define ISCI_EFI_VAR_NAME "RST_SCU_OEM"
88 91
89/* Allowed PORT configuration modes APC Automatic PORT configuration mode is 92/* Allowed PORT configuration modes APC Automatic PORT configuration mode is
90 * defined by the OEM configuration parameters providing no PHY_MASK parameters 93 * defined by the OEM configuration parameters providing no PHY_MASK parameters
@@ -138,7 +141,7 @@ struct scic_sds_oem_params {
138 141
139struct isci_orom { 142struct isci_orom {
140 struct sci_bios_oem_param_block_hdr hdr; 143 struct sci_bios_oem_param_block_hdr hdr;
141 struct scic_sds_oem_params ctrl[2]; 144 struct scic_sds_oem_params ctrl[SCI_MAX_CONTROLLERS];
142} __attribute__ ((packed)); 145} __attribute__ ((packed));
143 146
144#endif 147#endif