public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* the userspace side of driverfs
@ 2002-09-11  1:18 Nicholas Miell
  2002-09-11  2:16 ` Greg KH
  2002-09-11  4:38 ` Patrick Mochel
  0 siblings, 2 replies; 10+ messages in thread
From: Nicholas Miell @ 2002-09-11  1:18 UTC (permalink / raw)
  To: mochel; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-09-12 16:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-11  1:18 the userspace side of driverfs Nicholas Miell
2002-09-11  2:16 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox