Re: [RFC PATCH] USB:XHCI:Modify XHCI driver for USB2.0 controller

liulongfang
2021-02-27T03:39:30Z

On 2021/2/27 0:30, Alan Stern wrote:
> On Fri, Feb 26, 2021 at 04:21:37PM +0800, Longfang Liu wrote:
>> Our current XHCI hardware controller has been customized to only
>> support USB 2.0 ports. When using the current xhci driver, an xhci
>> controller device and an ehci controller device will be created
>> automatically.
>
> That sentence makes no sense at all. An EHCI controller device is a
> piece of hardware. How can an xHCI driver, which is a piece of
> software, create a piece of hardware?
>
> Alan Stern
> .
>
The hardware device is a complete USB3.0 controller,
but I hope to support a USB2.0-only mode through software configuration.
Thanks.
Longfang Liu