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

Christoph Hellwig
2004-12-03T18:17:39Z

On Fri, Dec 03, 2004 at 10:33:17AM -0700, Moore, Eric Dean wrote:
> Why does spi_attach_transport or fc_attach_transport have to be
> done from the module_init routines? Meaning there is an assumption
> that spi and FC are separate drivers. Why can't the xxx_attach_transport be
> done
> later from the probe routines when we know which pci devices we are
> attaching?

That's fine. But as soon as a module uses symbols from another module that
second module needs to be loaded.

But I think splitting doesn't make a lot of sense here, we can introduce
config options to disable SPI/FC/SAS support so people building custom
kernels don't waste memory.