From: Matthew Wilcox <matthew@wil.cx>
To: Douglas Gilbert <dougg@torque.net>
Cc: Linux-SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: scsi sysfs design, ch driver
Date: Sun, 16 Oct 2005 00:39:31 -0600 [thread overview]
Message-ID: <20051016063931.GA27989@parisc-linux.org> (raw)
In-Reply-To: <4351EA1B.6020402@torque.net>
On Sun, Oct 16, 2005 at 03:50:19PM +1000, Douglas Gilbert wrote:
> So my question is why was "scsi_generic:sg0" form introduced,
> especially the ":sg0" part? It may help visually but it
> is a nuisance programmatically.
It was for the benefit of serial devices (and others) which may have
several classes.
# ls /sys/bus/pci/devices/0000\:00\:04.0
bus device local_cpus subsystem_device tty:ttyS1
class driver modalias subsystem_vendor tty:ttyS2
config irq resource tty:ttyS0 vendor
Without the :ttyS*, we'd have three links all called 'tty'.
prev parent reply other threads:[~2005-10-16 6:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-16 5:50 scsi sysfs design, ch driver Douglas Gilbert
2005-10-16 6:39 ` Matthew Wilcox [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=20051016063931.GA27989@parisc-linux.org \
--to=matthew@wil.cx \
--cc=dougg@torque.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.