public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Lee Xing <lxing@Crossroads.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Help - can Linux SCSI sub-system add newly-attached devices to /dev on the fly?
Date: Thu, 20 May 2004 18:00:22 +0100	[thread overview]
Message-ID: <20040520180022.A10101@infradead.org> (raw)
In-Reply-To: <519672568F040C41B6FAC21ADF51B18FEFFD@mailnode1.commstor.crossroads.com>; from lxing@Crossroads.com on Thu, May 20, 2004 at 11:58:21AM -0500

On Thu, May 20, 2004 at 11:58:21AM -0500, Lee Xing wrote:
> Mid-layer in lk 2.6 defines two functions, scsi_add_device() and scsi_add_host(),
> that can be called by low-level drivers based on the document.  I'm not familiar 
> with lk2.6.  Can low-level drivers in lk2.6 call scsi_add_device( ) to add 
> newly-attached disks to mid-layer on the fly?

Yes.  For an example take a look at drivers/ieee1394/sbp2.c.

> Does lk2.4 provide a similar 
> function to scsi_add_device( ) in lk2.6?

No.

      reply	other threads:[~2004-05-20 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-20 16:58 Help - can Linux SCSI sub-system add newly-attached devices to /dev on the fly? Lee Xing
2004-05-20 17:00 ` Christoph Hellwig [this message]

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=20040520180022.A10101@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=lxing@Crossroads.com \
    /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