public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Andries.Brouwer@cwi.nl
Cc: garloff@suse.de, linux-kernel@vger.kernel.org,
	linux-scsi@vger.kernel.org, sancho@dauskardt.de,
	linux-usb-devel@lists.sourceforge.net,
	linux1394-devel@lists.sourceforge.net
Subject: Re: [linux-usb-devel] Re: /proc/scsi/map
Date: Sun, 16 Jun 2002 10:05:49 -0700	[thread overview]
Message-ID: <aeigls$orm$2@main.gmane.org> (raw)
In-Reply-To: UTC200206152154.g5FLsCI23053.aeb@smtp.cwi.nl

Andries.Brouwer@cwi.nl wrote:
>     Both usb-storage and iee1394-sbp2 know the GUID. It only needs to be 
>     communicated..
> 
> The usb-storage GUID is just one random item of information.
> One might wish for much more.
> 
> And: this information is already somewhere:

For example, on the 2.5 kernels one might also wish for the physical
path to the USB device in question ... what usb_make_path() returns.
(Simple enough to backport this to 2.4, which some folk have wanted.)

It's a string like "usb-06:0f.1-3.2" indicating first that it's
USB, then that it's the bus with name/serial "06:0f.1" (which in
this case is a PCI function), then that it's connected to port 3 on
the root hub, and port 2 on the hub connected there.  That's a
stable name:  it won't change unless/until you re-cable things.

Right now all of the 2.5 USB network adapters with ethool support
return those strings in the bus_info field, FWIW -- someone else
on this thread mentioned the need to asssign network interface names
based on physical location, and for USB (and likely PCI) that can
be done already.

- Dave



  parent reply	other threads:[~2002-06-16 17:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <UTC200206152154.g5FLsCI23053.aeb@smtp.cwi.nl>
2002-06-15 22:27 ` /proc/scsi/map Douglas Gilbert
2002-06-15 22:40   ` /proc/scsi/map Sancho Dauskardt
2002-06-16 20:36     ` /proc/scsi/map Kurt Garloff
2002-06-15 22:28 ` /proc/scsi/map Sancho Dauskardt
2002-06-16 17:05 ` David Brownell [this message]
     [not found] <3D0CC56D.9050805@pacbell.net>
2002-06-16 17:25 ` [linux-usb-devel] /proc/scsi/map James Bottomley
2002-06-16 20:54   ` Oliver Neukum
2002-06-16 22:02     ` James Bottomley
2002-06-16 22:38       ` Oliver Neukum
2002-06-16 23:14         ` James Bottomley
2002-06-17  5:19           ` Oliver Neukum
2002-06-17 14:54             ` James Bottomley
2002-06-17 16:09               ` Patrick Mansfield
2002-06-17 16:42                 ` James Bottomley
2002-06-17 19:07                   ` Patrick Mansfield
2002-06-17 20:25                     ` James Bottomley
2002-06-17 16:53                 ` David Brownell
2002-06-17 17:15       ` David Brownell

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='aeigls$orm$2@main.gmane.org' \
    --to=david-b@pacbell.net \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=garloff@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=sancho@dauskardt.de \
    /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