linux-kernel-test/drivers/usb/core
Inaky Perez-Gonzalez 5234ce1b02 usb: add the concept of default authorization to USB hosts
This introduces /sys/bus/devices/usb*/authorized_default; it dictates
what is going to be the default authorization state for devices
connected to the host. User space can set that using the sysfs file.

We hook to the root hub instead of to the device controller as it is
quite easy to get to it in sysfs from the device structure (device
5-4.3 is usb5) vs. backtracking to the controller device.

By default it is set to be 'authorized' (!0) for normal, wired USB
devices and 'unauthorized' (0) for Wireless USB devices.

As suggested by Adrian Bunk, make authorized_default static

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:55:04 -07:00
..
buffer.c
config.c USB: add IAD support to usbfs and sysfs 2007-07-12 16:34:40 -07:00
devices.c USB: add IAD support to usbfs and sysfs 2007-07-12 16:34:40 -07:00
devio.c USB: avoid urb->pipe in usbfs 2007-10-12 14:55:01 -07:00
driver.c USB: fix linked list insertion bugfix for usb core 2007-09-11 07:48:15 -07:00
endpoint.c
file.c USB: prevent char device open/deregister race 2007-07-12 16:29:48 -07:00
generic.c USB: unify reset_resume and normal resume 2007-07-12 16:34:30 -07:00
hcd-pci.c USB: remove references to dev.power.power_state 2007-07-12 16:29:46 -07:00
hcd.c usb: add the concept of default authorization to USB hosts 2007-10-12 14:55:04 -07:00
hcd.h usb: add the concept of default authorization to USB hosts 2007-10-12 14:55:04 -07:00
hub.c USB: address-0 handling during device initialization 2007-10-12 14:55:01 -07:00
hub.h
inode.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
Kconfig USB: add power/persist device attribute 2007-07-12 16:34:30 -07:00
Makefile
message.c USB: avoid using urb->pipe in usbcore 2007-10-12 14:55:00 -07:00
notify.c
otg_whitelist.h
quirks.c USB: disable autosuspend by default for non-hubs 2007-09-13 05:49:04 -07:00
sysfs.c USB: add "descriptors" binary sysfs attribute 2007-07-19 17:46:04 -07:00
urb.c USB: cleanup for previous patches 2007-10-12 14:55:01 -07:00
usb.c USB: avoid using urb->pipe in usbcore 2007-10-12 14:55:00 -07:00
usb.h USB: add ep->enable 2007-10-12 14:55:00 -07:00