Messages in this thread |  | | Date | Tue, 10 Sep 2002 19:16:10 -0700 | From | Greg KH <> | Subject | Re: 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/
|  |