isci: fix oem parameter header definition

The element_length is 2 bytes.

Reported-by: Yinghai Lu <yinghai.lu@oracle.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
Dan Williams 2011-04-19 15:29:25 -07:00
parent 6cb4d6b382
commit f22be5d838
2 changed files with 16 additions and 16 deletions

View File

@ -123,7 +123,7 @@ struct sci_bios_oem_param_block_hdr {
uint8_t version; uint8_t version;
uint8_t preboot_source; uint8_t preboot_source;
uint8_t num_elements; uint8_t num_elements;
uint8_t element_length; uint16_t element_length;
uint8_t reserved[8]; uint8_t reserved[8];
} __attribute__ ((packed)); } __attribute__ ((packed));

View File

@ -1,16 +1,16 @@
:10000000495343554F454D42E70017100002000089 :10000000495343554F454D42E80018100002000087
:10001000000000000000000101000000000000FFDF :1000100000000000000000000101000000000000DE
:10002000FFCF5F01000000037C0E00037C0E000385 :10002000FFFFCF5F01000000037C0E00037C0E0089
:100030007C0E00037C0E00FFFFCF5F010000000379 :10003000037C0E00037C0E00FFFFCF5F0100000079
:100040007C0E00037C0E00037C0E00037C0E00FF80 :10004000037C0E00037C0E00037C0E00037C0E007C
:10005000FFCF5F01000000037C0E00037C0E000355 :10005000FFFFCF5F01000000037C0E00037C0E0059
:100060007C0E00037C0E00FFFFCF5F010000000349 :10006000037C0E00037C0E00FFFFCF5F0100000049
:100070007C0E00037C0E00037C0E00037C0E00014E :10007000037C0E00037C0E00037C0E00037C0E004C
:1000800001000000000000FFFFCF5F02000000033E :100080000101000000000000FFFFCF5F0200000040
:100090007C0E00037C0E00037C0E00037C0E00FF30 :10009000037C0E00037C0E00037C0E00037C0E002C
:1000A000FFCF5F02000000037C0E00037C0E000304 :1000A000FFFFCF5F02000000037C0E00037C0E0008
:1000B0007C0E00037C0E00FFFFCF5F0200000003F8 :1000B000037C0E00037C0E00FFFFCF5F02000000F8
:1000C0007C0E00037C0E00037C0E00037C0E00FF00 :1000C000037C0E00037C0E00037C0E00037C0E00FC
:1000D000FFCF5F02000000037C0E00037C0E0003D4 :1000D000FFFFCF5F02000000037C0E00037C0E00D8
:0700E0007C0E00037C0E0002 :0800E000037C0E00037C0E00FE
:00000001FF :00000001FF