public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Matt Domsch <Matt_Domsch@Dell.com>,
	linux-scsi@vger.kernel.org, mochel@osdl.org
Subject: Re: [PATCH] declare and export scsi_bus_type
Date: Thu, 12 Dec 2002 07:58:01 -0600	[thread overview]
Message-ID: <200212121358.gBCDw2b01977@localhost.localdomain> (raw)
In-Reply-To: Message from Christoph Hellwig <hch@infradead.org> of "Thu, 12 Dec 2002 09:12:03 GMT." <20021212091203.A21539@infradead.org>

hch@infradead.org said:
> I'm very unhappy with exporting random parts of the scsi midlayer.  In
> what way do you need it?  How does your code work with modular scsi? 

Convention tends to be that these bus types are exported.  That's certainly 
true for pci and mca.

However, perhaps we should have a better way of finding them than by direct 
export of the symbol.  Since each bus is required to have a unique name, and 
the sysfs system has an internal list of bus_types, we could have a function 
which takes the name and returns a pointer to the bus_type if it exists?

James



  reply	other threads:[~2002-12-12 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12  1:46 [PATCH] declare and export scsi_bus_type Matt Domsch
2002-12-12  9:12 ` Christoph Hellwig
2002-12-12 13:58   ` James Bottomley [this message]
2002-12-12 16:16     ` Patrick Mochel
2002-12-12 16:00   ` Patrick Mochel

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=200212121358.gBCDw2b01977@localhost.localdomain \
    --to=james.bottomley@steeleye.com \
    --cc=Matt_Domsch@Dell.com \
    --cc=hch@infradead.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mochel@osdl.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