|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@a25d893
|
10 years |
jano.vesely |
uhci,ohci: Whitespace and comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8820544
|
11 years |
martin |
support for kernel notification multiplexing in the async framework
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5111c46
|
11 years |
jiri |
Convert OHCI and UHCI away from DDF_DATA_IMPLANT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@21f36e04
|
12 years |
jano.vesely |
ohci: typo
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a2e8c44
|
12 years |
jano.vesely |
ohci: initialize endpoint link.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@584aa38
|
12 years |
jano.vesely |
ohci: Remove error checking macro
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e732f1a
|
12 years |
jano.vesely |
usb: Add support for multiple packets per microframe.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fccf289
|
12 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
|
12 years |
jano.vesely |
ehci,ohci,uhci: Remove interrupt handler wrappers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5361fb
|
12 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
|
12 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
|
12 years |
jano.vesely |
libusbhost: Add status hook.
Implement in UHCI, OHCI
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ef8023
|
12 years |
jano.vesely |
ehci,ohci,uhci: Make driver structures const
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da06e92
|
12 years |
jano.vesely |
ohci: Use the newly provided helpers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7191992
|
12 years |
jano.vesely |
libusbhost: Add more helper functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7813516
|
12 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
|
|
|
@d1df381
|
12 years |
jano.vesely |
libusbhost: Make ddf interrupt helper return the used irq.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba4a03a5
|
12 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
|
|
|
@1760556
|
12 years |
jano.vesely |
ohci: Fix rh descriptor reported size
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@952bc66
|
12 years |
jano.vesely |
ohci, uhci: Don't unregister interrupt handler on setup failure.
This …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1a0006d
|
12 years |
jano.vesely |
ohci: Convert defines to enum
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09772f4
|
12 years |
jano.vesely |
typo
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e48c93
|
12 years |
jano.vesely |
ohci: Use static assert for HCCA structure size.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81d5f74
|
12 years |
jano.vesely |
ohci: Minor cleanup.
Use macros.h provided padding macros.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2acae4d
|
12 years |
jano.vesely |
ohci: Use pio_* functions to access registers.
This makes …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f5bfd98
|
12 years |
jano.vesely |
ohci: Fix incorrect parentheses
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d4b110
|
12 years |
jano.vesely |
ohci: Sanitize includes.
Include what you use.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@772a172
|
12 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
|
12 years |
jano.vesely |
uhci, ohci: Cleanup irq code generation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bf6b7c6
|
12 years |
jano.vesely |
ohci: rework error handling
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d40181
|
12 years |
jano.vesely |
ohci,uhci,ehci: Use library provided 'get_registers' function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@57c8fc9
|
12 years |
jano.vesely |
libusbhost: Move interrupt enabling to library.
Reduce code duplication.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce33c10
|
12 years |
jano.vesely |
Minor fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9348862
|
12 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
|
12 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
|
12 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
|
|
|
@dd7078c
|
12 years |
jano.vesely |
ohci: Add additional checks and a
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e991937
|
12 years |
jano.vesely |
usb: hc function no longer represents the HC nor holds its data
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb8ede1
|
12 years |
jano.vesely |
usb: Root hub always communicates at max spped
and it can be queried …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6340a6ff
|
12 years |
jano.vesely |
ohci: some more macro removal
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db71e2a
|
12 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
|
12 years |
jano.vesely |
revert usb hc macro changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f83666c
|
12 years |
jiri |
Remove remaining CHECK_RETxxx in ohci driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@507c6f3
|
12 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
|
|
|
@52f1882
|
13 years |
jano.vesely |
ohci: Add comments. Fix uninitialized pointer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@39339378
|
13 years |
jano.vesely |
ohci: Remove old root hub implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@171e668
|
13 years |
jano.vesely |
ohci: Use new root hub implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c91db2a
|
13 years |
jano.vesely |
ohci: Add new root hub implementation.
Uses libusbvirt.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86a01cc
|
13 years |
jano.vesely |
ohci: Fix comment offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ca778b
|
13 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
|
|
|
@ceb444c
|
13 years |
jano.vesely |
ohci: Switch to new root hub initialization.
Change few messages to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b0929e
|
13 years |
jano.vesely |
libusbhost: Drop hcd parameter from hcd_ddf_setup_hub.
Fix OHCI …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ef03d7
|
13 years |
jano.vesely |
libusbhost: Add speed and bw parameters to hcd_ddf_setup_device.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@53332b5b
|
13 years |
jano.vesely |
libusbhost: Move ddf specific functions to separate header.
Switch …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d09791e6
|
13 years |
jano.vesely |
libusb: Add additional parameter to hcd_setup_device.
uhci will need …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5994cc3
|
13 years |
jano.vesely |
libusbhost, ohci: Move more generic stuff to libusbhost.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddab093
|
13 years |
jano.vesely |
ohci: Initialization rework.
Move generic hcd initialization to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@395bb79
|
13 years |
jano.vesely |
ohci: Decouple OHCI from generic hcd.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f51587f5
|
13 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
|
13 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
|
|
|
@2f87aa6
|
13 years |
jano.vesely |
ohci: minor cleanup, don't implant data
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e6a98c5
|
13 years |
jiri |
Standards-compliant boolean type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2a6b72
|
13 years |
jano.vesely |
Merge mainline and io improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96e01fbc
|
13 years |
jano.vesely |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@920d0fc
|
13 years |
vojtechhorky |
USB logging functions are only macros to standard logging
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56fd7cf
|
13 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
|
13 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
|
13 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
|
|
|
@8fccd42
|
13 years |
jano.vesely |
ohci: Fix compiler errors
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8013637
|
13 years |
jano.vesely |
More mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97c7682
|
13 years |
jano.vesely |
Merge mainline changes.
Text conflict in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b0a6b4
|
13 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81716eb
|
13 years |
jano.vesely |
Mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c76e75
|
13 years |
jano.vesely |
ohci: Fix hcca_t structure.
The structure was not 256B, looks like …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44c1a48
|
13 years |
jano.vesely |
ohci: Rename and cleanup pci_* functions and files.
They are not pci …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4d74dc
|
13 years |
vojtechhorky |
Less includes in library headers
There is no need for errno.h to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64f6cba8
|
13 years |
jano.vesely |
ohci: Add generic ohci hc matchid.
Enables the driver on arm.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33cffa7
|
13 years |
jano.vesely |
ohci: Remove packed attribute from the registry map.
gcc on arm …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1dd1a94
|
13 years |
jano.vesely |
ohci: Fix hcca_t structure.
That structure was not 256B, looks like …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@89e54124
|
13 years |
jano.vesely |
ohci: Rename and cleanup pci_* functions and files.
They are not pci …
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
|
|
|
@45f4f19
|
13 years |
jano.vesely |
ohci: Use different macros for register and memory access.
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
|
|
|