Re: [PATCH v6 part1 5/8] usb: assign usb3 external hub port peers

2014-03-05 Thread Alan Stern
On Wed, 5 Mar 2014, Dan Williams wrote: > 8<--- > Subject: usb: assign usb3 external hub port peers > > From: Dan Williams > > 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

Re: [PATCH v6 part1 5/8] usb: assign usb3 external hub port peers

2014-03-05 Thread Dan Williams
On Mon, 2014-03-03 at 18:33 -0800, Dan Williams wrote: > Subject: usb: assign usb3 external hub port peers > > From: Dan Williams > > 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 paren

Re: [PATCH v6 part1 5/8] usb: assign usb3 external hub port peers

2014-03-03 Thread Dan Williams
On Fri, 2014-02-28 at 15:18 -0800, Dan Williams wrote: > 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 >

[PATCH v6 part1 5/8] usb: assign usb3 external hub port peers

2014-02-28 Thread Dan Williams
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 m