RE: [patch 6/8] mptfusion: fc transport

James Bottomley
2004-12-01T20:50:05Z

On Wed, 2004-12-01 at 14:46, Moore, Eric Dean wrote:
> On Thursday, November 25, 2004 1:55 PM, James Bottomley wrote:
> > How difficult would it be to separate out the scsi and FC
> > pieces of the
> > fusion driver, so we could allow more fined grained control of this?
>
> This driver is four separate driver modules { mptbase, mptscsih, mptlan,
> mptctl },
> with FC and SCSI spread through out, and SAS waiting in the wings.
> In this current design, separating FC is not going to be an easy task,
> as well as dealing with SAS because I'm sure people would want that
> separated as well.
> Device recognization done from mptbase, as well as unique
> configuration/initialization
> for respective bus type, and messaging interface from the other drivers
> (mptscsih,
> mptlan, and mptctl) to the firmware. The scsi interface layer is in
> mptscsih,
> and is where this fc transports and our spi domain validation is done
> currently.
>
> What do you have in mind in seperating this code for each (3) different bus
> classes from
> each these (4) drivers?

Nothing complex. How about just a simple module wrapper for the PCI
attachment, so you have the FC devices in one, the SPI in another etc.
Then you could attach and initialise the FC transport only if the user
modprobes the FC driver.

I just don't see it being tenable to drag in the whole of the fc
transport class in a SCSI only configuration for fusion.

James