public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nicholas Miell <nmiell@attbi.com>
To: mochel@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: the userspace side of driverfs
Date: 10 Sep 2002 18:18:37 -0700	[thread overview]
Message-ID: <1031707119.1396.30.camel@entropy> (raw)

I see documentation describing the kernel interface for driverfs, but
not much is available describing the userspace interface to driverfs --
i.e. the format of all those files that driverfs exports.

In order to prevent driverfs from becoming the maze of twisted files,
all different that is /proc, these details need to be specified now,
before it's too late.

Some issues I can think of off the top of my head:

- Can I safely assume that, for all normal files named X in driverfs,
that they have the exact same format and purpose?

- The "resource" files export resource structs, however the flags member
of the struct uses bits that aren't exported by the kernel and are
likely to change in the future. Also, some of the flags bits are
reserved for use by the bus that the resource lives on, but the bus type
isn't specified by the resource file, which requires the app to parse
the path name in order to figure out which bus the resource refers to.

- "name" isn't particularly consistent. Sometimes it requires parsing to
be useful ("PCI device 1234:1234", "USB device 1234:1234", etc.",
sometimes it's the actual device name, sometimes it's something strange
like "Hub/Port Status Changes".


- Nicholas


             reply	other threads:[~2002-09-11  1:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-11  1:18 Nicholas Miell [this message]
2002-09-11  2:16 ` the userspace side of driverfs Greg KH
2002-09-11  4:38 ` Patrick Mochel
2002-09-11  4:52   ` Nicholas Miell
2002-09-11  7:00   ` Miquel van Smoorenburg
2002-09-11 20:05     ` Nicholas Miell
2002-09-12  1:25   ` jw schultz
2002-09-12  4:13     ` Matt Domsch
2002-09-12  5:11       ` jw schultz
2002-09-12 16:41         ` 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=1031707119.1396.30.camel@entropy \
    --to=nmiell@attbi.com \
    --cc=linux-kernel@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