diff options
author | Henryk Dembkowski <Henryk.Dembkowski@intel.com> | 2011-02-23 19:55:11 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 06:55:30 -0400 |
commit | 07373a5caa29e4159ef1ea5e72985ddaf013519a (patch) | |
tree | 0ea13c0ede1012dec6e6d491ed181418e62453ee /drivers/scsi/isci/probe_roms.h | |
parent | 8db37aabaceb3dcd18754c1e782d4474e4052c81 (diff) |
isci: add support for 2 more oem parmeters
1/ add OEM paramater support for mode_type (MPC vs APC)
2/ add OEM parameter support for max_number_concurrent_device_spin_up
3/ cleanup scic_sds_controller_start_next_phy
todo: hook up the amp control afe parameters into the afe init code
Signed-off-by: Henryk Dembkowski <henryk.dembkowski@intel.com>
Signed-off-by: Jacek Danecki <Jacek.Danecki@intel.com>
[cleaned up scic_sds_controller_start_next_phy]
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.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/scsi/isci/probe_roms.h b/drivers/scsi/isci/probe_roms.h index 96d8b9212457..69526ffa8474 100644 --- a/drivers/scsi/isci/probe_roms.h +++ b/drivers/scsi/isci/probe_roms.h | |||
@@ -86,6 +86,20 @@ struct isci_orom *isci_get_efi_var(struct pci_dev *pdev); | |||
86 | #define ISCI_EFI_ATTRIBUTES 0 | 86 | #define ISCI_EFI_ATTRIBUTES 0 |
87 | #define ISCI_EFI_VAR_NAME "isci_oemb" | 87 | #define ISCI_EFI_VAR_NAME "isci_oemb" |
88 | 88 | ||
89 | /* Allowed PORT configuration modes APC Automatic PORT configuration mode is | ||
90 | * defined by the OEM configuration parameters providing no PHY_MASK parameters | ||
91 | * for any PORT. i.e. There are no phys assigned to any of the ports at start. | ||
92 | * MPC Manual PORT configuration mode is defined by the OEM configuration | ||
93 | * parameters providing a PHY_MASK value for any PORT. It is assumed that any | ||
94 | * PORT with no PHY_MASK is an invalid port and not all PHYs must be assigned. | ||
95 | * A PORT_PHY mask that assigns just a single PHY to a port and no other PHYs | ||
96 | * being assigned is sufficient to declare manual PORT configuration. | ||
97 | */ | ||
98 | enum SCIC_PORT_CONFIGURATION_MODE { | ||
99 | SCIC_PORT_MANUAL_CONFIGURATION_MODE = 0, | ||
100 | SCIC_PORT_AUTOMATIC_CONFIGURATION_MODE = 1 | ||
101 | }; | ||
102 | |||
89 | struct sci_bios_oem_param_block_hdr { | 103 | struct sci_bios_oem_param_block_hdr { |
90 | uint8_t signature[ISCI_ROM_SIG_SIZE]; | 104 | uint8_t signature[ISCI_ROM_SIG_SIZE]; |
91 | uint16_t total_block_length; | 105 | uint16_t total_block_length; |