On Wed, Aug 02, 2017 at 04:13:24PM +0200, Hannes Reinecke wrote: > Hi all, > > as we're trying to get rid of the remaining request_fn drivers here's > a patchset to move the DAC960 driver to the SCSI stack. > The new driver is called 'mylex'. > > The Mylex/DAC960 HBA comes in two flavours; the later one (V2) already > has a pretty complete SCSI emulation layer, so we just have to reformat > the command. > For for earlier ones (V1) we don't have a SCSI emulation layer for the > logical drives, so I've added a (pretty rudimentary, admittedly) SCSI > translation for them. > And the weird proc interface has been converted to sysfs attributes. It seems like V1 and V2 basically don't share any code at all, so it seems like they should be separate drivers. And for V1 it seems like it might even be better off as a blk-mq driver - which could then reuse the DAC960 name and device nodes? For the V2 firmware your approach looks great, though.