History | View | Annotate | Download (68.9 kB)
megasas: Add 'hba_serial' property
Add a 'hba_serial' property to the megasas driver. Originallyit would be using a pointer value which would break migration.
Reported-by: Stefan Weil <sw@weilnetz.de>Cc: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Hannes Reinecke <hare@suse.de>...
megasas: static SAS addresses
This patch introduces a new property 'sas_address' whichallows the user to specify the SAS address for the HBA.The default address is following the NAA locally assignedidentifier format with the locally assigned address0x525400 as used eg for the MAC addresses....
megasas: Update function megasys_scsi_uninit
Commit f90c2bcdbc69e41e575f868b984c3e2de8f51bac changedPCIUnregisterFunc, therefore the function prototypeneeds an update.
megasas.o is currently not linked, so this bug was notdetected by the buildbots.
Signed-off-by: Stefan Weil <sw@weilnetz.de>...
megasas: Replace trace_megasas_dcmd_dump_frame()
trace_megasas_dcmd_dump_frame() takes 9 arguments, which israther much. Plus the trace infrastructure doesn't supportit. As we can get the information via other means it's pointlessto have it in the driver, so rather use some proper trace...
megasas: fix misuse of scsi_req_abort
scsi_req_abort is for terminating a command with a non-zero status.The ABORT task management function is invoked by scsi_req_cancel.In fact, ABORTED_COMMAND is a sense key, not a SAM status code.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
megasas: mark mfi_frame_desc as 'static'
Suggested by blue swirl. Patch is on top of Paolo'sscsi-next tree.
Signed-off-by: Hannes Reinecke <hare@suse.de>Cc: Paolo Bonzini <pbonzini@redhat.com>Cc: Blue Swirl <blauwirbel@gmail.com>Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
megasas: LSI Megaraid SAS HBA emulation
This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.I've tested it to work with Linux, Windows Vista, and Windows7.
Signed-off-by: Hannes Reinecke <hare@suse.de>[ Squashed trivial changes from Andreas Faerber, rebased over IOMMU...