|
|
@82a639cd
|
12 years |
jano.vesely |
ehci, rh: Fix status word construction.
Use USB feature enum
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95d5dca
|
12 years |
jano.vesely |
ehci, rh: Handle status change bits
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b300d2b
|
12 years |
jano.vesely |
usbhub: Add error codes to debug messages
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64c96b9
|
12 years |
jano.vesely |
ehci: Fix per port power message
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@478e243
|
12 years |
jano.vesely |
ehci: Initialize and start the HC
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2be477d5
|
12 years |
jano.vesely |
ehci: Implement EHCI RH routines.
untested. reste signalling requires …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ee5272
|
12 years |
jano.vesely |
libusb, usbhub: Add USB2 features and structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@615abda
|
12 years |
jano.vesely |
ehci: plug legacy disabling code
Remove CHECK_RET macro
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9e954c
|
12 years |
jano.vesely |
ehci: Add ehci_ prefix to driver interface functions.
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
|
|
|
@9f6cb910
|
12 years |
jano.vesely |
uhci: Add uhci_ 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
|
|
|
@fddffb2
|
12 years |
jano.vesely |
ehci: Check op success to avoid endless loop
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
|
|
|
@972e8a9
|
12 years |
jano.vesely |
ehci: Use the newly provided helper functions
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
|
|
|
@1a0fa29c
|
12 years |
jano.vesely |
uhci: Use the newly provided helper functions.
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
|
|
|
@e3a07bba
|
12 years |
jano.vesely |
uhci: move legacy disabling to main
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1bb9833
|
12 years |
jano.vesely |
uhci: Fix post-merge build failure
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b973dc
|
12 years |
jano.vesely |
merge libdrv cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@99e8fb7b
|
12 years |
jano.vesely |
libdrv: Move pci_config client side to libdrv
Remove duplicate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6297465
|
12 years |
jano.vesely |
ehci: Add skeleton driver.
Mostly copied from ohci. Reports root hub …
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
|
|
|
@643e7ba
|
12 years |
jano.vesely |
ehci: Fix typo, include ddi.h for pio_* functions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad5f149
|
12 years |
jano.vesely |
uhci: Use foreach_safe to iterate through list.
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
|
|
|
@6576019
|
12 years |
jano.vesely |
ehci: Add hw structure definitions.
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
|
|
|
@d3dd96e2
|
12 years |
jano.vesely |
ehci: Use register layout structures instead of arbitrary offsets
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fd16b93
|
12 years |
jano.vesely |
ehci: Add register layout structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b89d43b
|
12 years |
jakub |
Unbreak USB UHCI support.
- Support PIO_WINDOW_DEV_IFACE in the uhci …
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
|
|
|
@11a3b5f
|
12 years |
jano.vesely |
uhci: Move legacy disabling to uhci.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8064c2f6
|
12 years |
jano.vesely |
uhci: Sanitize headers.
Include what you use.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c01987c
|
12 years |
jano.vesely |
libusbdev: Sanitize headers.
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
|
|
|
@ea69749f
|
12 years |
jano.vesely |
uhci: 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
|
|
|
@feeac0d
|
12 years |
jiri |
Simplify use of list_foreach.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c67dbd6
|
12 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8442d10
|
12 years |
martin |
improve the API of physmem_map(), dmamem_map() and …
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
|
|
|
@0918382f
|
12 years |
jano.vesely |
usb: Switch to using port number as device identifier.
Port number …
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
|
|
|
@d8d100c
|
12 years |
jano.vesely |
usbhid, uhci: minor cleanup
we don't need data implant
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3121b5f
|
12 years |
jano.vesely |
rename get_device_handle ⇒ get_my_device_handle
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
|
|
|
@e0d8b740
|
12 years |
jano.vesely |
uhci: remove some more error handling macros
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d93f5afb
|
12 years |
jano.vesely |
libusbdev: Cleanup unused code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6fe7683
|
12 years |
jano.vesely |
usbmid: remove unused forwarding code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e4219ab
|
12 years |
jano.vesely |
Implement and use usb_get_device_handle.
Enables object instantiation …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3cc55b47
|
12 years |
jano.vesely |
usbmast: Set bulk pipes before probing the device
Fixes usbmast segfault
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
|
|
|
@d930980
|
12 years |
jiri |
Eliminate remaning CHECK_RETxxx macros.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c53007f
|
12 years |
jiri |
Eliminate CHECK_RETxxx macros from uhci and uhcirh.
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
|
|
|
@f81498d
|
12 years |
vojtechhorky |
C style: uninitialized variables
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
|
|
|
@c4f7bf6
|
12 years |
jakub |
Silence compiler warnings when optimized for size.
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
|
|
|
@a5c2eb5f
|
13 years |
jano.vesely |
uhci: Move function definition to avoid separate declaration.
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
|
|
|
@49f2f29
|
13 years |
jano.vesely |
libusbvirt: Drop port_count param.
Use library provided macro to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a5a7711
|
13 years |
jano.vesely |
libusbvirt, virthub: Allow drivers to set endpoint number and port …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af4e464e
|
13 years |
jano.vesely |
uhci: Cleanup.
include guard, doxygen, line wrap.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d3a1ad58
|
13 years |
jano.vesely |
usbmid: Add endpoint management forwarding.
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
|
|
|
@e2dfa86
|
13 years |
jano.vesely |
usb_device: Change API to allow direct(RO) access to descriptors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@87619045
|
13 years |
jano.vesely |
usb: Move usb_device to a separate header
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b68bdf
|
13 years |
jano.vesely |
usbhub, libusbhid: Forgotten conversions to usb_device wrappers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb70637
|
13 years |
jano.vesely |
usb: Rework polling to accept either ep numbers or descriptions.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e23316
|
13 years |
jano.vesely |
usbmast: Don't access mapped endpoints directly.
Use provided functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e10ef4
|
13 years |
jano.vesely |
libusbdev: Interface number and alternate interfaces wrappers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6785b538
|
13 years |
jano.vesely |
usbmid, usbhid, usbhub, usbflbk: Don't access ddf_dev directly, use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c69861
|
13 years |
jano.vesely |
usbmast: Don't access ddf_dev member directly, use provided wrappers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|