About XHCI_TD_PAGE_SIZE.

Hans Petter Selasky hps at selasky.org
Sat Dec 20 09:30:09 UTC 2014


On 12/17/14 05:42, Nidal Khalil wrote:
> I agree. Thanks
>
> Nidal
> On Dec 16, 2014 6:25 PM, "Kohji Okuno" <okuno.kohji at jp.panasonic.com> wrote:
>
>> Hi Hans,
>>
>> If we use PAGE_SIZE as USB_PAGE_SIZE, we should use PAGE_SIZE as
>> XHCI_TD_PAGE_SIZE, too. I think.
>>
>> As you know, one TRB can use 1~64kB for the transfer length.
>>

Hi,

We currently only check if 4K pages are supported by the hardware. If 
you change the value of XHCI_TD_PAGE_SIZE, you will also need to change 
the checks other places. You know that PAGE_SIZE is not a constant?

Do you have a complete patch?

--HPS



More information about the freebsd-usb mailing list