summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ehcireg.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Save and restore the (non-standard) USBMODE register around a reset of thekettenis2016-10-021-1/+8
| | | | | | | | | | | | | controller. This register controls whether the controller is in device or host mode on many dual role controllers and gets reset during a reset of the controller, placing the controller in (non-functional) idle mode. By saving and restoring it, we keep the controller in host mode. Since this is a non-standard register, add a new EHCIF_USBMODE flag and only do the save and restore if it has been set. Makes the upper "OTG" port of the Cubox-i work. ok mpi@, jsg@
* Full-speed isochronous transfers support with opportunistic micro-framesmpi2015-04-101-22/+13
| | | | | | | | | | | | scheduling. More work is required to properly budget and schedule micro-frames, most of it at the HUB level. But this let people use USB1.1 uaudio(4) devices on ehci(4)-only systems. Thanks to all the testers! ok ratchov@, sthen@, naddy@
* Kill dead links.mpi2014-03-111-8/+1
|
* Get rid of various 'typedef struct' definitions and use plain structuremglocker2013-04-151-12/+12
| | | | | | | | | definitions instead. We don't change usb.h for now to stay compatible with userland. Tested by mpi@ on macppc and myself on i386. ok mpi@
* fix defines for some ehci registers. they are not used yet as they onlyeric2011-11-021-7/+10
| | | | | | matter for split-transactions which are not currently supported. ok deraadt@ miod@
* Fix high-speed isoc USB transfers; 64bit capable USB host controllersmglocker2008-11-291-3/+4
| | | | | | | | | have a different transfer descriptor than non-64bit capable ones. This fixes isoc transfer issues (resulting in broken image data) for uvideo(4) devices attached to ehci(4) seen on USB Intel host controllers. From Jeremy Morse via NetBSD.
* Add isochronous xfer support for ehci(4). From NetBSD.mglocker2008-08-091-32/+34
| | | | OK brad@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* correct legsup register per spec; dlg@ pascoe@ ok.fgsch2005-10-281-2/+2
|
* from freebsd: ehci.c 1.13, ehci_pci.c 1.13, ehcireg.h 1.5, ehcivar.h 1.3dlg2004-12-291-4/+11
| | | | | | | | | | | | log message: Attempt to follow the correct procedure for synchronising with the system BIOS to disable legacy device emulation as per the "EHCI Extended Capability: Pre-OS to OS Handoff Synchronisation" section of the EHCI spec. BIOSes that implement legacy emulation using SMIs are supposed to disable the emulation when this procedure is performed. tested on various archs by jsg@ and me ok pascoe@, looks sane jsg@
* add EHCI_QTD_SET_STATUSdlg2004-10-251-1/+2
| | | | from NetBSD
* fix spelling, macros and formattingdlg2004-08-111-34/+35
|
* copyright dates sync; loki@animata.netderaadt2004-07-071-2/+2
|
* Changes EHCI_QTD_TOGGLE to EHCI_QTD_TOGGLE_MASK; loki@animata.netderaadt2004-07-071-2/+2
|
* Completes the structs for the isochronous and split transactionderaadt2004-07-051-5/+78
| | | | | isochronous transfer descriptor types. Also updates the doco link at the top of the file; from netbsd; via loki@animata.net
* Adds missing port routing rules field, fixes an incorrect offset forderaadt2004-07-051-2/+4
| | | | | EHCI_QH_GET_CTL and adds a macro for setting the data toggle on a qtd token; from netbsd; via loki@animata.net
* This fixes a couple of spelling errors (EHCI_HCS_P_INCICATOR toderaadt2004-07-051-3/+3
| | | | | EHCI_HCS_P_INDICATOR and EHCI_QG_MPLMASK to EHCI_QH_MPLMASK); from netbsd; via, loki@animata.net
* rcsidstedu2004-05-301-0/+1
|
* ehci support; hacked into working shape by jonathon@gateway.zenbu.netderaadt2004-05-231-0/+288
|
* Meant to commit only ulpt and committed everything. Most things weren't readynate2002-05-071-288/+0
|
* Sync ulpt driver with NetBSDnate2002-05-071-0/+288