From: James Bottomley <James.Bottomley@SteelEye.com>
To: "Moore, Eric Dean" <Eric.Moore@lsil.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: RE: [patch 6/8] mptfusion: fc transport
Date: 06 Dec 2004 09:18:17 -0600 [thread overview]
Message-ID: <1102346303.2020.9.camel@mulgrave> (raw)
In-Reply-To: <91888D455306F94EBD4D168954A9457C73423E@nacos172.co.lsil.com>
On Fri, 2004-12-03 at 11:33, 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?
Can we take a step back from this and look at the actual problem you're
trying to solve with the fc class?
At the moment, its only real use is to display certain device
parameters, which is a passive feature (although it now has the capacity
to control cable pull blocking, which will be an active facility).
Your requirement came from SGI, who cares about the parameters. What
I'm proposing is that you move the mptbase_pci_table out of mptbase.c
and into *two* upper modules (you could even do it into mptscsih.c and a
new mptfc.c, which would depend on mptscsih). Now you have the FC
devices registered separately, you can put all of the fc transport
display into mptfc.c. This involves moving no code other than the
actual PCI table. Linux will automatically only modprobe mptfc if the
user has a FC device PCI ID and everyone will be happy.
Why is this such a hard thing to do?
James
next prev parent reply other threads:[~2004-12-06 15:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-03 17:33 [patch 6/8] mptfusion: fc transport Moore, Eric Dean
2004-12-03 18:17 ` Christoph Hellwig
2004-12-06 15:18 ` James Bottomley [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-01-13 19:14 Moore, Eric Dean
2004-12-07 0:29 Moore, Eric Dean
2005-01-08 21:33 ` James Bottomley
2004-12-06 17:12 Moore, Eric Dean
2004-12-06 17:20 ` James Bottomley
2004-12-01 23:40 Moore, Eric Dean
2004-12-01 19:46 Moore, Eric Dean
2004-12-01 20:49 ` James Bottomley
2004-11-19 15:39 Moore, Eric Dean
2004-11-25 20:54 ` James Bottomley
2004-11-18 23:33 Moore, Eric Dean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1102346303.2020.9.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=Eric.Moore@lsil.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox