Change since v1: [PATCH 3/4]: Rename link file's name "child" to "device", add check of return value of sysfs_create_link() and handle error properly. 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