From 4003e24fce1df84a2e8c992376ed2c294816c33c Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Mon, 12 Nov 2012 15:42:42 +0100 Subject: 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 Cc: Gerd Hoffmann Signed-off-by: Hannes Reinecke Signed-off-by: Paolo Bonzini --- hw/mfi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/mfi.h') 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; -- cgit 1.4.1