2 .\" Copyright (c) 2011-2022 Hans Petter Selasky. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .Nd USB eXtensible Host Controller driver
34 .Cd "options USB_DEBUG"
39 driver provides support for the
41 eXtensible Host Controller Interface,
44 1.0, 2.0 and 3.0 devices on the same
52 connection speeds from 5.0Gbps and above when using USB 3.x
59 compatible controllers having PCI class 12 (serial bus),
60 subclass 3 (USB) and programming interface 48 (XHCI).
62 The following variables are available as both
67 .Bl -tag -width indent
68 .It Va hw.usb.xhci.debug
69 Set debug output level, where 0 is debugging disabled and larger
70 values increase debug message verbosity.
71 The default value is 0.
72 .It Va hw.usb.xhci.dcepquirk
73 Set to enable quirk for deconfiguration of endpoints.
74 The default value is 0.
75 .It Va hw.usb.xhci.ctlquirk
76 Set to submit full USB control request as one job, up to 64kBytes.
77 Else the USB control request will be split into multiple smaller
79 The default value is 1.
80 .It Va hw.usb.xhci.streams
81 Set to enable USB streams support.
82 The default value is 0.
83 .It Va hw.usb.xhci.route
84 Set bitmap for switching EHCI ports to the XHCI controller.
85 The default value is 0.
86 .It Va hw.usb.xhci.polling
87 Set to use a timer to poll the interrupt handler.
88 The default value is 0.
89 .It Va hw.usb.xhci.dma32
90 Set to only use 32-bit DMA for the XHCI controller.
91 The default value is 0.
92 .It Va hw.usb.xhci.ctlstep
93 Set to enable control endpoint status state stepping.
94 The default value is 0.
104 device driver first appeared in