mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
scsi: megaraid_sas: Update structures for HOST_DEVICE_LIST DCMD
Add padding to make the structure variables in MR_HOST_DEVICE_LIST_ENTRY 64-bit aligned. Also, add reserved fields to MR_HOST_DEVICE_LIST for future firmware usage. Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
fad28e3d9a
commit
a3742d6848
1 changed files with 2 additions and 1 deletions
|
@ -807,13 +807,14 @@ struct MR_HOST_DEVICE_LIST_ENTRY {
|
||||||
} flags;
|
} flags;
|
||||||
u8 scsi_type;
|
u8 scsi_type;
|
||||||
__le16 target_id;
|
__le16 target_id;
|
||||||
u8 reserved[2];
|
u8 reserved[4];
|
||||||
__le64 sas_addr[2];
|
__le64 sas_addr[2];
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
struct MR_HOST_DEVICE_LIST {
|
struct MR_HOST_DEVICE_LIST {
|
||||||
__le32 size;
|
__le32 size;
|
||||||
__le32 count;
|
__le32 count;
|
||||||
|
__le32 reserved[2];
|
||||||
struct MR_HOST_DEVICE_LIST_ENTRY host_device_list[1];
|
struct MR_HOST_DEVICE_LIST_ENTRY host_device_list[1];
|
||||||
} __packed;
|
} __packed;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue