diff options
author | Dan Williams <dan.j.williams@intel.com> | 2014-05-20 18:08:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 16:38:52 -0700 |
commit | 8b1ba80c59fb3e77f9e1761480617d5ea9ee159c (patch) | |
tree | 120b54fcb3cf3d97d6798bd41d19b2b725554bab /arch/x86/kernel/vmlinux.lds.S | |
parent | d8521afe35862f4fbe3ccd6ca37897c0a304edf3 (diff) |
usb: assign usb3 external hub port peers
Given that root hub port peers are already established, external hub peer
ports can be determined by traversing the device topology:
1/ ascend to the parent hub and find the upstream port_dev
2/ walk ->peer to find the peer port
3/ descend to the peer hub via ->child
4/ find the port with the matching port id
Note that this assumes the port labeling scheme required by the
specification [1].
[1]: usb3 3.1 section 10.3.3
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kernel/vmlinux.lds.S')
0 files changed, 0 insertions, 0 deletions