lkml.org 
[lkml]   [2002]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: the userspace side of driverfs
On Tue, Sep 10, 2002 at 06:18:37PM -0700, Nicholas Miell wrote:
> - "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".

The "Hub/Port..." thing will change, I have a large "struct
device_driver" patch for the USB code that is still being worked on
before going into the kernel, and this is changed in that patch.. For
all other "name" files, it's something that makes sense for the device,
and can be parsed by a human. For some USB devices, they provide device
and manufacturer strings, so that information is provided. Other
devices do not, so we guess the best that we can.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.109 / U:1.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site