18e13d96bSTom Rhodes.\" $NetBSD: ehci.4,v 1.8 2001/11/21 17:22:56 augustss Exp $ 28e13d96bSTom Rhodes.\" 38e13d96bSTom Rhodes.\" Copyright (c) 2001 The NetBSD Foundation, Inc. 48e13d96bSTom Rhodes.\" All rights reserved. 58e13d96bSTom Rhodes.\" 68e13d96bSTom Rhodes.\" This code is derived from software contributed to The NetBSD Foundation 78e13d96bSTom Rhodes.\" by Lennart Augustsson. 88e13d96bSTom Rhodes.\" 98e13d96bSTom Rhodes.\" Redistribution and use in source and binary forms, with or without 108e13d96bSTom Rhodes.\" modification, are permitted provided that the following conditions 118e13d96bSTom Rhodes.\" are met: 128e13d96bSTom Rhodes.\" 1. Redistributions of source code must retain the above copyright 138e13d96bSTom Rhodes.\" notice, this list of conditions and the following disclaimer. 148e13d96bSTom Rhodes.\" 2. Redistributions in binary form must reproduce the above copyright 158e13d96bSTom Rhodes.\" notice, this list of conditions and the following disclaimer in the 168e13d96bSTom Rhodes.\" documentation and/or other materials provided with the distribution. 178e13d96bSTom Rhodes.\" 188e13d96bSTom Rhodes.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 198e13d96bSTom Rhodes.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 208e13d96bSTom Rhodes.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 218e13d96bSTom Rhodes.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 228e13d96bSTom Rhodes.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 238e13d96bSTom Rhodes.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 248e13d96bSTom Rhodes.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 258e13d96bSTom Rhodes.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 268e13d96bSTom Rhodes.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 278e13d96bSTom Rhodes.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 288e13d96bSTom Rhodes.\" POSSIBILITY OF SUCH DAMAGE. 298e13d96bSTom Rhodes.\" 307722b7d5SEdward Tomasz Napierala.Dd April 24, 2018 318e13d96bSTom Rhodes.Dt EHCI 4 328e13d96bSTom Rhodes.Os 338e13d96bSTom Rhodes.Sh NAME 348e13d96bSTom Rhodes.Nm ehci 358e13d96bSTom Rhodes.Nd USB Enhanced Host Controller driver 368e13d96bSTom Rhodes.Sh SYNOPSIS 378e13d96bSTom Rhodes.Cd "device ehci" 388e13d96bSTom Rhodes.Sh DESCRIPTION 398e13d96bSTom RhodesThe 408e13d96bSTom Rhodes.Nm 418e13d96bSTom Rhodesdriver provides support for the 428e13d96bSTom Rhodes.Tn USB 438e13d96bSTom RhodesEnhanced Host Controller Interface, 448e13d96bSTom Rhodeswhich is used by 458e13d96bSTom Rhodes.Tn USB 468e13d96bSTom Rhodes2.0 controllers. 478e13d96bSTom Rhodes.Pp 488e13d96bSTom Rhodes.Tn EHCI 498e13d96bSTom Rhodescontrollers are peculiar in that they can only handle the 508e13d96bSTom Rhodes.Tn USB 518e13d96bSTom Rhodes2.0 protocol. 528e13d96bSTom RhodesThis means that they normally have one or more companion controllers 538e13d96bSTom Rhodes(i.e., 548e13d96bSTom Rhodes.Xr ohci 4 558e13d96bSTom Rhodesor 568e13d96bSTom Rhodes.Xr uhci 4 ) 578e13d96bSTom Rhodeshandling USB 1.x devices. 588e13d96bSTom RhodesConsequently each 598e13d96bSTom Rhodes.Tn USB 608e13d96bSTom Rhodesconnector is electrically connected to two 618e13d96bSTom Rhodes.Tn USB 628e13d96bSTom Rhodescontrollers. 638e13d96bSTom RhodesThe handling of this is totally automatic, 648e13d96bSTom Rhodesbut can be noticed since 658e13d96bSTom Rhodes.Tn USB 668e13d96bSTom Rhodes1.x and 678e13d96bSTom Rhodes.Tn USB 688e13d96bSTom Rhodes2.0 devices plugged in to the same 69db4fcadfSConrad Meyerconnector appear to connect to different USB buses. 70f728775bSHans Petter Selasky.Sh LOADER TUNABLES 714e8eb2e0SEitan AdlerWhen the kernel has been compiled with 724e8eb2e0SEitan Adler.Cd options USB_DEBUG , 734e8eb2e0SEitan Adlersome tunables become available that affect the behavior of 744e8eb2e0SEitan Adler.Nm . 754e8eb2e0SEitan AdlerThese tunables can be set at the 76f728775bSHans Petter Selasky.Xr loader 8 77f728775bSHans Petter Selaskyprompt before booting the kernel or stored in 78f728775bSHans Petter Selasky.Xr loader.conf 5 . 79f728775bSHans Petter Selasky.Bl -tag -width "xxxxxx" 80f728775bSHans Petter Selasky.It Va hw.usb.ehci.lostintrbug 81f728775bSHans Petter SelaskyThis tunable enables the lost interrupt quirk. 82f728775bSHans Petter SelaskyThe default value is 0 (off). 83f728775bSHans Petter Selasky.It Va hw.usb.ehci.iaadbug 84f728775bSHans Petter SelaskyThis tunable enables the EHCI doorbell quirk. 85f728775bSHans Petter SelaskyThe default value is 0 (off). 86f728775bSHans Petter Selasky.It Va hw.usb.ehci.no_hs 87f728775bSHans Petter SelaskyThis tunable disables USB devices to attach like HIGH-speed ones and will force all attached devices to attach to the FULL- or LOW-speed companion controller. 88f728775bSHans Petter SelaskyThe default value is 0 (off). 89*1adc28f5SChristian Brueffer.El 907722b7d5SEdward Tomasz Napierala.Sh SYSCTL VARIABLES 917722b7d5SEdward Tomasz NapieralaThe following variables are available as both 927722b7d5SEdward Tomasz Napierala.Xr sysctl 8 937722b7d5SEdward Tomasz Napieralavariables and 947722b7d5SEdward Tomasz Napierala.Xr loader 8 957722b7d5SEdward Tomasz Napieralatunables: 967722b7d5SEdward Tomasz Napierala.Bl -tag -width indent 977722b7d5SEdward Tomasz Napierala.It Va hw.usb.ehci.debug 984426f429SBrad DavisDebug output level, where 0 is debugging disabled and larger values increase 994426f429SBrad Davisdebug message verbosity. 1004426f429SBrad DavisDefault is 0. 101f728775bSHans Petter Selasky.El 1024426f429SBrad Davis.Sh SEE ALSO 1034426f429SBrad Davis.Xr ohci 4 , 1044426f429SBrad Davis.Xr uhci 4 , 1054426f429SBrad Davis.Xr usb 4 , 1064426f429SBrad Davis.Xr xhci 4 1074426f429SBrad Davis.Sh HISTORY 1084426f429SBrad DavisThe 1094426f429SBrad Davis.Nm 1104426f429SBrad Davisdevice driver first appeared in 1114426f429SBrad Davis.Fx 5.1 . 112