linux/drivers/usb/core
Alan Stern 2e5f10e4f0 USB: create attributes before sending uevent
This patch (as1087d) fixes a long-standing problem in usbcore: Device,
interface, and endpoint attributes aren't added until _after_ the
creation uevent has already been broadcast.

Unfortunately there are a few attributes which cannot be created that
early.  The "descriptors" attribute is binary and so must be created
separately.  The power-management attributes can't be created until
the dev/power/ group exists.  And the interface string can vary from
one altsetting to another, so it has to be created dynamically.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-05-14 10:00:26 -07:00
..
buffer.c USB: fix codingstyle issues in drivers/usb/core/*.c 2008-02-01 14:35:08 -08:00
config.c USB: ehci tolerates some buggy devices 2008-04-24 21:16:35 -07:00
devices.c USB: fix codingstyle issues in drivers/usb/core/devices.c 2008-02-01 14:35:07 -08:00
devio.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
driver.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
endpoint.c USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00
file.c USB: mark USB drivers as being GPL only 2008-02-01 14:35:07 -08:00
generic.c USB: move decision to ignore FREEZE events 2007-10-12 14:55:26 -07:00
hcd-pci.c USB: clarify usage of hcd->suspend/resume methods 2008-04-24 21:16:48 -07:00
hcd.c USB: don't explicitly reenable root-hub status interrupts 2008-04-24 21:16:53 -07:00
hcd.h USB: don't explicitly reenable root-hub status interrupts 2008-04-24 21:16:53 -07:00
hub.c usb: don't update devnum for wusb devices 2008-04-24 21:16:59 -07:00
hub.h wusb: make ep0_reinit available for modules 2008-04-24 21:16:59 -07:00
inode.c proc: remove proc_bus 2008-04-29 08:06:18 -07:00
Kconfig USB: Remove EXPERIMENTAL from dynamic USB minor allocation. 2008-04-24 21:16:43 -07:00
Makefile USB: add a blacklist for devices that can't handle some things we throw at them. 2007-02-23 15:03:46 -08:00
message.c USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00
notify.c USB : correct comments in usb/core/notify.c 2008-02-01 14:34:44 -08:00
otg_whitelist.h USB: fix codingstyle issues in drivers/usb/core/*.h 2008-02-01 14:35:07 -08:00
quirks.c USB: enable USB-PERSIST by default 2008-04-24 21:16:33 -07:00
sysfs.c USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00
urb.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
usb.c USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00
usb.h USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00