diff options
author | Hannes Reinecke <hare@suse.de> | 2014-10-29 13:00:05 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-10-31 11:28:59 +0100 |
commit | d97ae3684863960d12633c845f648d50ce767273 (patch) | |
tree | 12357efaf84dd7e0ef367a505f266743c2105962 /hw/scsi/mfi.h | |
parent | 1894df02811f6b79ea3ffbf1084599d96f316173 (diff) |
megasas: fixup MFI_DCMD_LD_LIST_QUERY
The MFI_DCMD_LD_LIST_QUERY function is using a different format than
MFI_DCMD_LD_LIST, so we need to implement it differently.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/mfi.h')
-rw-r--r-- | hw/scsi/mfi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/scsi/mfi.h b/hw/scsi/mfi.h index a3034f6239..5050ce4732 100644 --- a/hw/scsi/mfi.h +++ b/hw/scsi/mfi.h @@ -1111,6 +1111,13 @@ struct mfi_ld_list { } ld_list[MFI_MAX_LD]; } QEMU_PACKED; +struct mfi_ld_targetid_list { + uint32_t size; + uint32_t ld_count; + uint8_t pad[3]; + uint8_t targetid[MFI_MAX_LD]; +} QEMU_PACKED; + enum mfi_ld_access { MFI_LD_ACCESS_RW = 0, MFI_LD_ACCSSS_RO = 2, |