megasas: Correct target/lun mapping
commit4003e24fce1df84a2e8c992376ed2c294816c33c
authorHannes Reinecke <hare@suse.de>
Mon, 12 Nov 2012 14:42:42 +0000 (12 15:42 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Nov 2012 15:42:56 +0000 (12 16:42 +0100)
tree4b6dd0139490160e039834dbf9bdbec443705123
parentaccfeb2dd32ece73350b06cee1b2403f47e86fe3
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>
hw/megasas.c
hw/mfi.h