usb: Add "portX/connect_type" attribute to expose usb port's connect type
authorLan Tianyu <tianyu.lan@intel.com>
Sat, 19 Jan 2013 17:53:32 +0000 (01:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 00:09:53 +0000 (16:09 -0800)
commitcef7468caff29d3333fba4d0ececd82063ce80d5
tree5e3a3409f3dc4a37336b2ba05f4893b8f6cb8710
parent9f7344fbaf191de63df315c7e0fa4c976e2ea419
usb: Add "portX/connect_type" attribute to expose usb port's connect type

Some platforms provide usb port connect types through ACPI. This
patch is to add this new attribute to expose these information
to user space.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-usb
drivers/usb/core/port.c