mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
drivers/char: add RX support to the XHCI driver
Add another work ring buffer for received data, and point IN TRB at it. Ensure there is always at least one pending IN TRB, so the controller has a way to send incoming data to the driver. Note that both "success" and "short packet" completion codes are okay - in fact it will be "short packet" most of the time, as the TRB length is about maximum size, not required size. Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
3a1a7b809f
commit
d88e2aa4ea
2 files changed
+132
-3
No files matched your search
@@ -728,9 +728,9 @@ Available alternatives, with their meaning, are:
|
||||
Specify the USB controller to use, either by instance number (when going
|
||||
over the PCI busses sequentially) or by PCI device (must be on segment 0).
|
||||
|
||||
Use `ehci` for EHCI debug port, use `xhci` for XHCI debug capability (output
|
||||
only). XHCI driver will wait indefinitely for the debug host to connect - make
|
||||
sure the cable is connected.
|
||||
Use `ehci` for EHCI debug port, use `xhci` for XHCI debug capability.
|
||||
XHCI driver will wait indefinitely for the debug host to connect - make sure
|
||||
the cable is connected.
|
||||
|
||||
### debug_stack_lines
|
||||
> `= <integer>`
|
||||
|
||||