Hi Marek,

On Tue, Jun 27, 2017 at 2:06 AM, Marek Vasut <ma...@denx.de> wrote:
> On 06/24/2017 03:53 AM, Bin Meng wrote:
>> Hi Marek,
>>
>> On Sat, Jun 24, 2017 at 1:59 AM, Marek Vasut <ma...@denx.de> wrote:
>>> On 06/23/2017 11:54 AM, Bin Meng wrote:
>>>> USB 3.0 hub port status field has different bit positions from 2.0
>>>> hubs. Since U-Boot only understands the old version, translate the
>>>> new one into the old one.
>>>
>>> This is quite hairy. I'd rather see some protocol version agnostic flag
>>> field rather than patching the wPortStatus and co.
>>>
>>
>> I am not sure how do do that in a clean way. If we return the raw 3.0
>> hub port status data, that means we need change lot of hub codes here
>> and there to do different parsing.
>
> How does Linux handle this?

Looks Linux is doing different parsing depending on hub is 3.0 or 2.0,
at least for the power bit that I was just looking at. Do you want to
do that?

Regards,
Bin
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to