Gerd Hoffmann wrote: > On 11/12/09 12:48, Hannes Reinecke wrote: >> >> This patch adds an emulation for the LSI MegaRAID SAS HBA. >> It is build on top of kraxel's scsi.v7 tree. >> >> This is just a rough implementation, many of the more >> advanced topics (like Windows booting :-) are missing. >> >> Signed-off-by: Hannes Reinecke<h...@suse.de> > > Added, will be in scsi.v8. Needs a patch after rebasing due to pci > changes (attached fyi). > Grand. Meanwhile I've dug up some more register definitions, so I'll doing some more updates to the driver.
Thanks for including it. Meanwhile I've stumbled across another issue: The megasas HBA insists on returning some data like inquiry or VPD pages during init/configuration. I can't really use the normal command completion here, as eg on megasas configuration command requires me to issue several requests to the underlying device. So what to do? Easiest would it to have a non-completion interface, like req_buf() but without the callback bit. But really don't know if that's best. We could also attach the inquiry data and vpd 0x83 as a property to the device; might be easier as we don't have to add another interface. But the properties stuff is a bit beyond me currently. Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage h...@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg)