aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/sysfs.c
Commit message (Collapse)AuthorAgeFilesLines
...
* usbcore: add configuration_string to attribute groupAlan Stern2006-09-271-3/+2
| | | | | | | | | | | | | | | This patch (as737b) does a very small cleanup of core/sysfs.c by adding the configuration_string attribute file to the existing attribute group instead of treating it separately. It doesn't need this separate treatment because unlike the other device string attributes, it changes along with the active configuration. The patch also fixes a simple typo (which, oddly enough, doesn't seem to bother the compiler). Signed-off-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
* Remove obsolete #include <linux/config.h>Jörn Engel2006-06-301-1/+0
| | | | | Signed-off-by: Jörn Engel <[email protected]> Signed-off-by: Adrian Bunk <[email protected]>
* [PATCH] USB: make usb_create_ep_files take a struct deviceGreg Kroah-Hartman2006-06-211-2/+2
| | | | | | | Instead of a kobject, will make things easier in the future (don't know what I was thinking when I did this originally...) Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] USB: move the endpoint specific sysfs code to it's own fileGreg Kroah-Hartman2006-06-211-197/+0
| | | | | | This makes it easier to modify in the future without touching anything else. Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] USB: move CONFIG_USB_DEBUG checks into the MakefileGreg Kroah-Hartman2005-11-171-7/+0
| | | | | | | | | This lets us remove a lot of code in the drivers that were all checking the same thing. It also found some bugs in a few of the drivers, which has been fixed up. Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
* [PATCH] usbcore: Fix handling of sysfs strings and other attributesAlan Stern2005-10-281-21/+15
| | | | | | | | | | This patch (as592) makes a few small improvements to the way device strings are handled, and it fixes some bugs in a couple of other sysfs attribute routines. (Look at show_configuration_string() to see what I mean.) Signed-off-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] usbcore: Wrap lines before column 80Alan Stern2005-10-281-10/+20
| | | | | | | | I can't stand text lines that wrap-around in my 80-column windows. This patch (as589) makes cosmetic changes to a couple of source files. Signed-off-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] usbcore: Improve endpoint sysfs file handlingAlan Stern2005-10-281-89/+118
| | | | | | | | | | | | | | | | This revised patch (as587b) improves the implementation of USB endpoint sysfs files. Instead of storing a whole bunch of attributes for every single endpoint, each endpoint now gets its own kobject and they can share a static list of attributes. The number of extra fields added to struct usb_host_endpoint has been reduced from 4 to 1. The bEndpointAddress field is retained even though it is redundant (it repeats the same information as the attributes' directory name). The code avoids calling kobject_register, to prevent generating unwanted hotplug events. Signed-off-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] USB: always export interface information for modaliasGreg Kroah-Hartman2005-10-281-20/+13
| | | | | | | | | | | | This fixes a problem with some cdc acm devices that were not getting automatically loaded as the module alias was not being reported properly. This check was for back in the days when we only reported hotplug events for the main usb device, not the interfaces. We should always give the interface information for MODALIAS/modalias as it can be needed. Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] USB: add endpoint information to sysfsGreg Kroah-Hartman2005-10-281-2/+193
| | | | | | | | | | | | This patch adds endpoint information for both devices and interfaces to sysfs. Previously it was only possible to get the endpoint information from usbfs, and never possible to get any information on endpoint 0. Signed-off-by: Greg Kroah-Hartman <[email protected]> drivers/usb/core/sysfs.c | 195 ++++++++++++++++++++++++++++++++++++++++++++++- include/linux/usb.h | 4 2 files changed, 197 insertions(+), 2 deletions(-)
* [PATCH] USB: add bMaxPacketSize0 attribute to sysfsGreg Kroah-Hartman2005-07-121-0/+2
| | | | | | For some reason this was not there... Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] USB: fix show_modalias() function due to attribute changeGreg Kroah-Hartman2005-06-201-1/+1
| | | | Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] Driver Core: drivers/s390/net/qeth_sys.c - ↵Yani Ioannou2005-06-201-12/+12
| | | | | | | drivers/usb/gadget/pxa2xx_udc.c: update device attribute callbacks Signed-off-by: Yani Ioannou <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] USB: make MODALIAS code a bit smaller devicesPaulo Marques2005-06-031-12/+10
| | | | | | | | | This patch makes the code to provide modalias in sysfs for usb devices 56 bytes smaller in i386, while making it clear that the first part of the modalias string is the same no matter what the device class is. Signed-Off-By: Paulo Marques <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
* [PATCH] USB: add modalias sysfs file for usb devicesGreg KH2005-05-171-0/+34
| | | | Signed-off-by: Greg Kroah-Hartman <[email protected]>
* Linux-2.6.12-rc2Linus Torvalds2005-04-161-0/+318
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!