Skip to content

Commit 4eefd25

Browse files
committed
isci: fix apc mode definition
The original apc mode definition is the correct one, the fix from commit 4711ba1 "isci: fix oem parameter initialization and mode detection" was based on a typo from a specification update. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent b5f18a2 commit 4eefd25

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

‎drivers/scsi/isci/probe_roms.h‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,6 @@ struct isci_oem_hdr {
9696
#define ISCI_ROM_SIG "ISCUOEMB"
9797
#define ISCI_ROM_SIG_SIZE 8
9898

99-
#define ISCI_PREBOOT_SOURCE_INIT (0x00)
100-
#define ISCI_PREBOOT_SOURCE_OROM (0x80)
101-
#define ISCI_PREBOOT_SOURCE_EFI (0x81)
102-
10399
#define ISCI_EFI_VENDOR_GUID \
104100
EFI_GUID(0x193dfefa, 0xa445, 0x4302, 0x99, 0xd8, 0xef, 0x3a, 0xad, \
105101
0x1a, 0x04, 0xc6)
@@ -116,8 +112,8 @@ struct isci_oem_hdr {
116112
* being assigned is sufficient to declare manual PORT configuration.
117113
*/
118114
enum SCIC_PORT_CONFIGURATION_MODE {
119-
SCIC_PORT_AUTOMATIC_CONFIGURATION_MODE = 0,
120-
SCIC_PORT_MANUAL_CONFIGURATION_MODE = 1
115+
SCIC_PORT_MANUAL_CONFIGURATION_MODE = 0,
116+
SCIC_PORT_AUTOMATIC_CONFIGURATION_MODE = 1
121117
};
122118

123119
struct sci_bios_oem_param_block_hdr {

‎firmware/isci/isci_firmware.bin.ihex‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
:10000000495343554F454D42E70017100002000089
2-
:10001000000000000000000001000000000000FFE0
2+
:10001000000000000000000101000000000000FFDF
33
:10002000FFCF5F01000000037C0E00037C0E000385
44
:100030007C0E00037C0E00FFFFCF5F010000000379
55
:100040007C0E00037C0E00037C0E00037C0E00FF80
66
:10005000FFCF5F01000000037C0E00037C0E000355
77
:100060007C0E00037C0E00FFFFCF5F010000000349
8-
:100070007C0E00037C0E00037C0E00037C0E00004F
8+
:100070007C0E00037C0E00037C0E00037C0E00014E
99
:1000800001000000000000FFFFCF5F02000000033E
1010
:100090007C0E00037C0E00037C0E00037C0E00FF30
1111
:1000A000FFCF5F02000000037C0E00037C0E000304

0 commit comments

Comments
 (0)