|
|
@a1732929
|
7 years |
aearsis |
usb: unified logging
Use logger instead of printf. Logger adds …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32fb6bce
|
7 years |
aearsis |
usbhost: refactoring
This commit moves interrupt, status and schedule …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5b3de6
|
7 years |
aearsis |
usbhost endpoint: removed target
The reasons for having usb_target_t …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5fd9c30
|
7 years |
aearsis |
usbhost refactoring: let transfer_batch be initialized by bus
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6b9182
|
7 years |
aearsis |
WIP usbhost refactoring: ohci completed
Along with that we noticed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4d7363
|
7 years |
aearsis |
usbhost: refactor the initialization
Before that, drivers had to …
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
|
|
|
@58563585
|
8 years |
martin |
code review and cstyle cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5f813c
|
9 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
|
9 years |
jano.vesely |
ohci: Switch to libusb malloc32 function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a25d893
|
10 years |
jano.vesely |
uhci,ohci: Whitespace and comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fccf289
|
11 years |
jano.vesely |
ohci: Add ohci_ prefix to driver interface functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4bfcf22
|
11 years |
jano.vesely |
ehci,ohci,uhci: Remove interrupt handler wrappers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5361fb
|
11 years |
jano.vesely |
ohci: Don't enable device interrupts if interrupt setup failed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e200736
|
11 years |
jano.vesely |
uhci,ohci, ehci: Move interrupt replacement fibril to libusbhost
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e26a9d95
|
11 years |
jano.vesely |
libusbhost: Add status hook.
Implement in UHCI, OHCI
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7813516
|
11 years |
jano.vesely |
uhci,ohci,ehci: Use all hw resources to initialize HC
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba4a03a5
|
11 years |
jano.vesely |
usb host: Use all hw resources when generating irq code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f5bfd98
|
11 years |
jano.vesely |
ohci: Fix incorrect parentheses
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d4b110
|
11 years |
jano.vesely |
ohci: Sanitize includes.
Include what you use.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@772a172
|
11 years |
jano.vesely |
ohci,uhci: Switch to library provided irq setup routine.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6210a333
|
11 years |
jano.vesely |
uhci, ohci: Cleanup irq code generation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9348862
|
11 years |
jano.vesely |
usb: Move HC driver implementation functions to a separate structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f03199
|
11 years |
jano.vesely |
Merge mainline changes.
Major conflicts in USB HC …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7de1988c
|
11 years |
jakub |
Adapt drivers using parsed HW resources to use the new interface.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6340a6ff
|
11 years |
jano.vesely |
ohci: some more macro removal
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db71e2a
|
11 years |
jano.vesely |
merge mainline changes.
usb hc macro changes from mainline were …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cffa14e6
|
11 years |
jano.vesely |
revert usb hc macro changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f83666c
|
11 years |
jiri |
Remove remaining CHECK_RETxxx in ohci driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@507c6f3
|
11 years |
jiri |
Remove CHECK_RETxxx macros from ohci.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@acdb5bac
|
12 years |
jiri |
Replace usage of bzero() with C standard memset().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@171e668
|
12 years |
jano.vesely |
ohci: Use new root hub implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ca778b
|
12 years |
jano.vesely |
usbmid: Use initialized parent to get address and hc handle.
Remove …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f51587f5
|
12 years |
jano.vesely |
ohci: Move generic hcd initialization out of device hc init.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4daee7a
|
12 years |
jano.vesely |
ohci, libusbhost: Move root hub registration to libusbhost.
Root hub …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56fd7cf
|
12 years |
jiri |
Make ddf_dev_t and ddf_fun_t opaque. This further tighthens the DDF …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea8b91d
|
12 years |
jano.vesely |
ohci: Fix interrupt mask on big endian hw.
This never caused problems …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8486c07
|
12 years |
martin |
IRQ pseudocode improvements
* rename CMD_BTEST to CMD_AND (less …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b90e90
|
13 years |
jano.vesely |
ohci: Improve HCCA structure handling. Add comments.
Fix minor root …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1ca752
|
13 years |
jano.vesely |
ohci: Remove deprecated endian conversion macros.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76fbd9a
|
13 years |
jano.vesely |
usb drivers: remove optical separators
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2578199
|
13 years |
jano.vesely |
ohci: Merge conflict leftover.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a208110
|
13 years |
jano.vesely |
Mainline changes.
Registering OHCI irq handler panics on ppc32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65eac7b
|
13 years |
jano.vesely |
ohci: Use endain aware access to manipulate memory structures.
Enable …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bfc5c9dd
|
13 years |
jano.vesely |
ohci: Use more generic approach to access registers(and convert …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffcc5776
|
13 years |
jano.vesely |
ohci: Consider endian difference when accessing OHCI registers.
HC …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d57122c
|
13 years |
jakub |
UHCI and OHCI HC's now define and use proper IRQ PIO range.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec12ab8
|
13 years |
jakub |
OHCI should use CMD_PIO_READ_* instead of already removed CMD_MEM_READ_*.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c986d3
|
13 years |
jano.vesely |
ohci: Use ddf_dev_data_alloc instead of plain malloc.
Fix possible …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@890a3454
|
13 years |
jano.vesely |
ohci: Bind root hub USB address to handle, after ddf_bind.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cd8089
|
13 years |
jano.vesely |
libusbhost: Change usb_device_manager interface.
Use request_address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e07cbc0
|
13 years |
jano.vesely |
libusbhost: usb_device_manager: Add speed limit.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@57e06ef
|
13 years |
jano.vesely |
ohci: Minor improvements.
Remove unused member.
Fix comments.
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48ae3ef
|
13 years |
jano.vesely |
libusbhost: Make interfaces more symmetric.
Make usb_endpoint_manager …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7265558
|
13 years |
jano.vesely |
libusbhost: Drop hash_table and use multiple lists instead.
This has …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8dfb40
|
13 years |
jano.vesely |
ohci: Use saner alignment rules.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b8958b
|
13 years |
jano.vesely |
ohci: Declare iteration variables inside for loops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b54fe6
|
13 years |
jano.vesely |
usb: Rename device_keeper ⇒ sub-device_manager to match the rest of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ec492b
|
13 years |
jano.vesely |
ohci: Fix error paths
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@933b0d7
|
13 years |
jano.vesely |
USB: make bandwidth count function changeable
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f1586d0
|
13 years |
jano.vesely |
ohci: do not create OHCI hw structures for root hub control endpoint
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c10e51
|
13 years |
jano.vesely |
ohci: use driver specific structure instead of the generic one
ohci: …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f974519
|
13 years |
jano.vesely |
ohci: Fix double enqueue issue, refactoring
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09ace19
|
13 years |
jano.vesely |
ohci: remove unused code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc34f5f0
|
13 years |
jano.vesely |
ohci: Fix new arch paths
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@961c29e8
|
13 years |
jano.vesely |
ohci: hub switched to generic hcd
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@620c710
|
13 years |
jano.vesely |
libushost: promote endpoint data dtor to destruction hook
ohci: use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e20eaed
|
13 years |
jano.vesely |
ohci: Rename hcd_endpoint ⇒ ohci_endpoint to avoid hcd confusion
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23b0fe8
|
13 years |
jano.vesely |
libusbhost,uhci,ohci: Remove batch init hook.
Hw specific …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90dd59d
|
13 years |
jano.vesely |
ohci: implement schedule function, finish batch initialization
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2976bb
|
13 years |
jano.vesely |
OHCI: Begin move to new hcd arch, plug in batch init hook.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b02308e
|
13 years |
jano.vesely |
OHCI: Use destructor instead of manual clearing.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ef9460b
|
13 years |
jiri |
ddf_fun_add_match_id() should copy its string argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d36062
|
13 years |
jano.vesely |
OHCI: Replace volatile uint with ioport type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb212e7
|
13 years |
jano.vesely |
OHCI: Mention consequences of removing dummy register access.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d5708d
|
13 years |
jano.vesely |
OHCI: Root hub: Final touches.
Simplify mask size computation.
Remove …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa81adc
|
13 years |
jano.vesely |
libusbhost: endpoint_t uses get/destroy pair, instead of init/destroy. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1cb4f05
|
13 years |
jano.vesely |
OHCI: Make error messages consistent and some minor reshuffling.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ef93fa
|
13 years |
jano.vesely |
OHCI: Start hw during driver initialization. Do not expose start function.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78ab6d4
|
13 years |
jano.vesely |
OHCI: Device access fixes.
Only access Legacy support registers if …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1f6eb7d
|
13 years |
jano.vesely |
OHCI: Remove irq code from hc_t structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e8a01b
|
13 years |
jano.vesely |
OHCI: Use the new way of generating IRQ code
Use bogus read to force …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ecc5de
|
13 years |
jano.vesely |
OHCI: Create a new way to generate IRQ code
Replace asserts with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5203e256
|
13 years |
martin |
keep the drivers source tree tidy by using logical subdirectories
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|