From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] iSeries virtual i/o sysfs files
Date: Tue, 22 Jun 2004 21:23:19 +1000 [thread overview]
Message-ID: <20040622212319.2a0c121b.sfr@canb.auug.org.au> (raw)
In-Reply-To: <40D7CFBC.30706@pobox.com>
[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]
Hi Jeff,
On Tue, 22 Jun 2004 02:20:44 -0400 Jeff Garzik <jgarzik@pobox.com> wrote:
>
> Stephen Rothwell wrote:
> >
> > OK, this is what the patch does. All the iSeries virtual devices now
> > appear in /sys/devices/vio and /sys/bus/vio/devices. Unfortunately,
> > apart from the veth devices, there are all possible devices there at
> > the moment - I need to think about how to reduce it but that requires
> > moving all the probe code into vio.c ...
>
> I'm not sure I entirely parse the third sentence in this paragraph, but
> nonetheless...
What it means is that, as the patch stands, a node is created in
/sys/devices/vio (and /sys/bus/vio/devices) for all possible virtual
devices not just those actually present. The exception is for virtual
ethernets which are relatively easy to enumerate. To enumerate the other
devices precisely, I will need to extract the device probing code from
each of the other device drivers (viodasd, viocd and viotape) and include
some (hopefully simplified) form of the code directly into the bus probing
code for iSeries in vio.c.
> My general idea was that vio should be presented as a bus, so that
> userland could enumerate all vio devices. This approach seems along
> these lines, and I have no objections to the patch.
Great, thanks.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-06-22 11:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-22 4:04 Stephen Rothwell
2004-06-22 6:20 ` Jeff Garzik
2004-06-22 11:23 ` Stephen Rothwell [this message]
2004-06-22 11:31 ` Christoph Hellwig
2004-06-22 12:34 ` Stephen Rothwell
2004-06-22 12:39 ` Christoph Hellwig
2004-06-22 13:57 ` Arnd Bergmann
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=20040622212319.2a0c121b.sfr@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®