]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
USB: add quirks to XHCI
authorBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 14 Jun 2022 16:39:31 +0000 (16:39 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 1 Jul 2022 13:50:10 +0000 (13:50 +0000)
commit39cd7aa134dfde52c2e6936142d976b8de0499b7
tree9db722dbfc5113e69d1e57616eedf869fda0eb85
parent2217448bcc2f8e8d5f5c20ab0b1be4511bf5fd01
USB: add quirks to XHCI

While XHCI is very generic some revisions of chipsets have problems.
On dwc3 <= 3.00a Port Disable does not seem to work so we need to not
enable it.
For that introduce quirks to xhci so that controllers can steer
certain features.  I would hope that this is and remains the only one.

Obtained from: an old patch mainly debugging other problems
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D35482

(cherry picked from commit 447c418da03454a2a00bc115a69c62055a6d5272)
sys/dev/usb/controller/xhci.c
sys/dev/usb/controller/xhci.h