Files
freebsd/sys/dev/usb/controller
ShengYi Hung 0f59df8386 xhci: Only reset the data toggle value when the USB stack asks for it
The previous patch assumes that we don't want to reset toggle bit in
STOPPED_STEP. However, a device can explicitly call
usbd_clear_data_toggle if necessary. As a result, instead of not
dropping the bit unconditionally, we added a field in xhci to specify
that we want to drop it, so that usbd_clear_data_toggle can handle it
correctly.

Reported by:    oh
Reviewed by:    kevans
Tested by:      oh
Fixes:		28d85db46b ("xhci: Do not drop and add bits in xhci")
MFC after:	3 days
Differential Revision:  https://reviews.freebsd.org/D59186
2026-08-26 15:52:11 -05:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…