Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2014 10:30:36 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Nidal Khalil <nedmath@gmail.com>,  Kohji Okuno <okuno.kohji@jp.panasonic.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: About XHCI_TD_PAGE_SIZE.
Message-ID:  <549541BC.6070505@selasky.org>
In-Reply-To: <CADoY-6gXxYvw-Raq-LW6q_QmiG8F=W6msZs2Q3vcx3s1LnksLw@mail.gmail.com>
References:  <20141217.110334.1811096089058017495.okuno.kohji@jp.panasonic.com> <CADoY-6gXxYvw-Raq-LW6q_QmiG8F=W6msZs2Q3vcx3s1LnksLw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/17/14 05:42, Nidal Khalil wrote:
> I agree. Thanks
>
> Nidal
> On Dec 16, 2014 6:25 PM, "Kohji Okuno" <okuno.kohji@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?549541BC.6070505>