diff options
| author | Hannes Reinecke <hare@suse.de> | 2012-11-12 15:42:42 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-11-12 16:42:56 +0100 |
| commit | 4003e24fce1df84a2e8c992376ed2c294816c33c (patch) | |
| tree | 4b6dd0139490160e039834dbf9bdbec443705123 /hw/mfi.h | |
| parent | accfeb2dd32ece73350b06cee1b2403f47e86fe3 (diff) | |
| download | focaccia-qemu-4003e24fce1df84a2e8c992376ed2c294816c33c.tar.gz focaccia-qemu-4003e24fce1df84a2e8c992376ed2c294816c33c.zip | |
megasas: Correct target/lun mapping
The structure to reference a logical drive has an unused field, which can be used to carry the lun ID. This enabled seabios to establish the proper target/LUN mapping. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/mfi.h')
| -rw-r--r-- | hw/mfi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mfi.h b/hw/mfi.h index 436b6906b1..cd8355badf 100644 --- a/hw/mfi.h +++ b/hw/mfi.h @@ -1085,7 +1085,7 @@ struct mfi_pd_list { union mfi_ld_ref { struct { uint8_t target_id; - uint8_t reserved; + uint8_t lun_id; uint16_t seq; } v; uint32_t ref; |