|
|
@c46c356
|
8 years |
Jaroslav Jindrak |
Added command list deallocation during hc finalization.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e50bdd92
|
8 years |
Jaroslav Jindrak |
Event handler now processes all event trbs that belong to us on the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4d4fa2
|
8 years |
Jaroslav Jindrak |
Removed unused parameter to command waiting function. Removed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a06fd64
|
8 years |
Jaroslav Jindrak |
Fixed the ERDP update, we were missing macro definitions for EHB and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aee352c
|
8 years |
Jaroslav Jindrak |
Added a temporary workaround about faulty interrupts (IP being reset …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@110d795
|
8 years |
Jaroslav Jindrak |
Overhauled command system, not a special structure is passed that can …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9af3281
|
8 years |
Jaroslav Jindrak |
Added initialization of allocated ERST segments, previously garbage …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12fba858
|
8 years |
Jaroslav Jindrak |
Fixed the value of ERDP sent to the xHC, according to section 4.9.4 it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@955e988
|
8 years |
Jaroslav Jindrak |
Fixed cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cded246
|
8 years |
Jaroslav Jindrak |
Applied similar fix to the dcbaa one, crc_hi was rewriting crc_lo.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79d1e13
|
8 years |
Jaroslav Jindrak |
Fixed dcbaap_hi accessor macro, it was the same as dcbaap_lo and since …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37789b5f
|
8 years |
Jaroslav Jindrak |
Fixed the dcbaa pointer passed to the xHC.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8bb7090
|
8 years |
Jaroslav Jindrak |
Corrected cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe5db713
|
8 years |
Jaroslav Jindrak |
Added stream context and input control context extraction macros.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c058a388
|
8 years |
Jaroslav Jindrak |
Added reset device command sender, assertions to sender and TODOs …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7bd99bf
|
8 years |
salmelu |
Added roothub communication for adding devices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05aeee0e
|
8 years |
Jaroslav Jindrak |
Added reset endpoing and stop endpoint sending functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4fa5342
|
8 years |
Jaroslav Jindrak |
Added more compact way to report error codes similar to the trb type …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9ce62ae
|
8 years |
Jaroslav Jindrak |
Added sending function for the evaluate context command.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@665bf3c
|
8 years |
Jaroslav Jindrak |
Added a function that sends the configure endpoint command. Refactored …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8db42f7
|
8 years |
Jaroslav Jindrak |
Added ADDRESS DEVICE command sender and a basic handler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ac5eb1
|
8 years |
Jaroslav Jindrak |
Added means to send & handle disable slot command, improved cstyle and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c362127
|
8 years |
Jaroslav Jindrak |
Updated .bzrignore to include the HelenOS executable of the xhci driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f711f06
|
8 years |
Jaroslav Jindrak |
Added trb command completion code and command type extraction to the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce85fc8
|
8 years |
Jaroslav Jindrak |
Added qword equivalent of the XHCI_DWORD_EXTRACT macro.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9e7fe8
|
8 years |
Jaroslav Jindrak |
Added skeleton for command completion handling.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ee5408
|
8 years |
Jaroslav Jindrak |
Added a basic event handler that currently only calls the command …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8315ed
|
8 years |
Jaroslav Jindrak |
Added trb completion code definition.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@481af21e
|
8 years |
Jaroslav Jindrak |
Moved common tail of command sending functions into a separate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fd9f4ffe
|
8 years |
Jaroslav Jindrak |
The xHC now properly gets the physical addresses (with correct …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9c0e41
|
8 years |
Jaroslav Jindrak |
Moved commands into their own set of files (WIP).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dfd313b
|
8 years |
Jaroslav Jindrak |
Added definition of input control context and input context data …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@115f25b
|
8 years |
Jaroslav Jindrak |
Added missing guards.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a9ae994
|
8 years |
Jaroslav Jindrak |
Fixed label name and loop variable type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3256a6c
|
8 years |
Jaroslav Jindrak |
Added deallocation of dcbaa and device contexts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b19131c5
|
8 years |
Jaroslav Jindrak |
added scratchpad definition, allocation and deallocation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8cbc167
|
8 years |
Jaroslav Jindrak |
changed dcbaa to array of pointers, see section 6.1
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6133f1
|
8 years |
Jaroslav Jindrak |
fixed comment regarding bit distribution
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8fcd8cf
|
8 years |
aearsis |
xhci: missing tests
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@51b2693
|
8 years |
aearsis |
xhci: missed common.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91ca111
|
8 years |
aearsis |
xhci: extended capability handling
Currently, only detection of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4d7363
|
8 years |
aearsis |
usbhost: refactor the initialization
Before that, drivers had to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb89430
|
8 years |
aearsis |
xhci: event rings && hc initialization (WIP)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62ba2cbe
|
8 years |
aearsis |
xhci: dumping operational state
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce6e001
|
8 years |
aearsis |
xhci: finished register declaration
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48197c1
|
8 years |
aearsis |
xhci: completed register access macros (+tests)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5cbccd4
|
8 years |
aearsis |
xhci: register structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4eb6c93
|
8 years |
aearsis |
xhci: hardware data structures and trb ring management
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5119d34
|
8 years |
aearsis |
Added XHCI driver skeleton
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ee7e6a
|
8 years |
jakub |
Further reduce the number of inclusions of sys/types.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d2dd7f2
|
8 years |
jakub |
Reduce the number of files that include <sys/types.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@805552d
|
8 years |
jakub |
Remove obsolete STATIC_ASSERT, use static_assert instead
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e141281
|
8 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dc12262
|
8 years |
martin |
add standardized case fallthrough comment annotations, add actual …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58563585
|
9 years |
martin |
code review and cstyle cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4b534ac
|
9 years |
jakub |
Merge from lp:~jan.vesely/helenos/usb
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1cf26ab
|
9 years |
jakub |
Use static assert instead of regular ones
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4363000
|
9 years |
jakub |
Make sure not to shift bits out of the width of the result
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1558d85
|
9 years |
jakub |
Remove duplicate includes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f97f5cc2
|
10 years |
jiri |
Enable partition support with all disk drivers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8351f9a4
|
10 years |
jano.vesely |
usbhub: Rework port reset a bit.
return error if port reset did …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@691130cf
|
10 years |
jano.vesely |
ehci/rh: Make debug messages more informative
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9b2cb4c
|
10 years |
martin |
unify interface API
* introduce new interfaces
* unify location …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f523daf
|
10 years |
jano.vesely |
ehci_rh: Flag reset status change even if we give up ownership
usbhub …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b74ec299
|
10 years |
jano.vesely |
uhci: Set debug level explicitly
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58d4880
|
10 years |
jano.vesely |
uhci/rh: Poll the port status locally and in specified intervals
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc8bc6e
|
10 years |
jano.vesely |
uhci/rh: Fix debug printing macro format
Only print debug output on …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e9d018e
|
10 years |
jano.vesely |
uhci/rh: sanitize logging
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a1757e
|
10 years |
jano.vesely |
usbmast: downgrade cmd_fail to warning
set debug level explicitly
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb34d8e
|
10 years |
jano.vesely |
virtualusb: Rename device connection function to virtual to avoid …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55346870
|
10 years |
jano.vesely |
uhci,ohci,ehci: Fix memory leaks in error paths.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5f813c
|
10 years |
jano.vesely |
libusbhost,ehci,ohci,uhci,vhc: Pass ops structure instead of function …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2dbfe44
|
10 years |
jano.vesely |
ohci: Switch to libusb malloc32 function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a799708
|
10 years |
jano.vesely |
ehci,ohci,uhci: Switch to generic hc drv initialization function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc468c7
|
10 years |
jano.vesely |
vhc: Distinguish between std and class descriptor request
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@495547d
|
10 years |
jano.vesely |
ehci/hc: Postpone enabling of interrupts.
Clean status register …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@954d590
|
10 years |
jano.vesely |
ehci/eplist: Consolidate debug messages
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6de4b4a1
|
10 years |
jano.vesely |
ehci/ep: Consolidate debug messages
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@090eea68
|
10 years |
jano.vesely |
ehci/batch: Consolidate debug messages
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56b5569
|
10 years |
jano.vesely |
ehci/rh: promote port downgrade to info status
Include more information
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05b51e37
|
10 years |
jano.vesely |
ehci: consolidate HC logging messages
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@605db7f
|
10 years |
jano.vesely |
ehci,rh: Add more comprehensive RH debug messages
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34c9cfc
|
10 years |
jano.vesely |
ehci, usbhub: Fix formating errors
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce25903
|
10 years |
jano.vesely |
ubsmast: Add Test Unit Ready command
Fixes my two flash drive
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8fc61c8
|
10 years |
jano.vesely |
uhci: Use malloc32 from libusbhost
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45cbf897
|
10 years |
jano.vesely |
ehci, libusbhost: Move malloc32 to libusbhost.
So it can be shared …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6d7df1
|
10 years |
jano.vesely |
ehci: Set debug level explicitly
Makes it easier to change when debugging
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e98e5fc
|
10 years |
jano.vesely |
usbhub: Add identifier to debug messages
Add explicit debug settings …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96323d2
|
10 years |
jano.vesely |
usbhub: Handle device disappearing during reset
Rework reset status …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4ba645d
|
10 years |
jano.vesely |
ehci,rh: Improve logging
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ef69e9
|
10 years |
jano.vesely |
ehci,batch: consolidate debug messages
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26d6f73
|
10 years |
jano.vesely |
ehci: Use list_foreach_safe
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6abe20
|
10 years |
jano.vesely |
usbmast: Sanitize logging
Report the error condition.
Don't use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9599b9c
|
10 years |
jano.vesely |
ehci: Use page size allocations to make sure we have non-cacheable …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac96b11
|
10 years |
jano.vesely |
ehci batch: make sure the td holding memory is mapped
add completion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9e80a9
|
10 years |
jano.vesely |
ehci: Add barrier include to mem_access.h
This is useful for crafting …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@708da59e
|
10 years |
jano.vesely |
ehci, qh: Refactor QH initialization
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a996402e
|
10 years |
jano.vesely |
ehci, transfer_descriptor: Add write barrier after initializing the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50362c6
|
10 years |
jano.vesely |
ehci, ep list: stop using list_head_pa.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f6f2a5f7
|
10 years |
jano.vesely |
ehci,res: Adjust debug messages level
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|