[PATCH V3 0/4] usb: expose DeviceRemovable to user space via sysfs attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Change since v1:
	[PATCH 3] Rename link file's name "child" to "device", add check of return value of
sysfs_create_link() and handle error return value properly.

Change since v2:
       [PATCH 1] fix a logic backward problem. Add changelog about change ehci root hub descriptors based on ACPI information.  
       [PATCH 2] Add changelog about using ACPI inforatmion to set hub DeviceRemovable rather than xhci PORTSC.

This patchset is to set DeviceRemovable according ACPI information
and create a new attribute "connect_type" under port device to expose
port connect type to user space. Patch3 create two link files under
port device and its child device to show their relationship under sysfs.

Following patchset is based on the commit d124a60dbb "USB: isp1760-if:
Change to use irq_of_parse_and_map" of usb-next tree

USB: Set usb port's DeviceRemovable according acpi information in EHCI
usb/xhci: set root hub's DeviceRemovable according to usb port connect type
usb: Create link files between child device and usb port device.
usb: Add "portX/connect_type" attribute to expose usb port's connect type

 Documentation/ABI/testing/sysfs-bus-usb |    9 +++++++++
 drivers/usb/core/hub.c                  |   83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/core/usb.h                  |    4 ----
 drivers/usb/host/ehci-hub.c             |    9 +++++++++
 drivers/usb/host/xhci-hub.c             |   19 +++++++++++++++++--
 include/linux/usb.h                     |    4 ++++
 6 files changed, 122 insertions(+), 6 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux