]> git.hungrycats.org Git - linux/commit
[PATCH] USB: add missing usb entries to sysfs
authorRobert Love <rml@ximian.com>
Wed, 7 Apr 2004 09:52:34 +0000 (02:52 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 7 Apr 2004 09:52:34 +0000 (02:52 -0700)
commit7775f7ea6fdab0f2f6323b504c0ecd53bc5c8586
tree621f94eec4310c17eb801a4cf178c9f479e7a9e4
parent606d0900c7b253a674101fa56e1a20c60bf6cad0
[PATCH] USB: add missing usb entries to sysfs

We have found in the course of hacking on HAL that some information that
is in /proc/bus/usb/devices is not in sysfs.  It would be nice to rely
only on sysfs, so the attached patch adds three files to usb devices in
sysfs: devnum, maxChild, and version.

This patch is actually by David Zuethen, the HAL maintainer - I told him
I would clean it up and get it upstream.
drivers/usb/core/driverfs.c