|
|
@c280d7e
|
7 years |
aearsis |
libdrv: usb iface callbacks joined
In addition to handle and current …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@944f8fdd
|
7 years |
aearsis |
libusbhost: move utility functions to new header utility.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c7d5189
|
7 years |
aearsis |
usbhost: split hcd_device_explore
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4603b35
|
7 years |
aearsis |
libdrv: merged usbhc default address reservation operations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eeca8a6
|
7 years |
aearsis |
usb: speed moved from default address reservation to enumeration callback
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c952abc4
|
7 years |
aearsis |
usbhost ddf: inlined hcd_ddf_new_device and hcd_ddf_remove_device
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@1ed3eb4
|
7 years |
aearsis |
usbhost: endpoint is identified also by its direction
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7242ba21
|
7 years |
aearsis |
usbhost: mark roothub gone on binding failure
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9848c77
|
7 years |
aearsis |
usbhost: renamed bus_device_remove to bus_device_gone
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0892663a
|
7 years |
aearsis |
usbhost: device removal and off/onlining moved into the library
Also, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1102eca
|
7 years |
aearsis |
usbhost: documentation & cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e2b1ae6
|
7 years |
aearsis |
usbhost: reserve default speed in library
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56257ba
|
7 years |
aearsis |
usbhost: manage endpoints by library + get/set_toggle → reset_toggle
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9efad54
|
7 years |
aearsis |
usb: move endpoint descriptor parsing to HC
This better separates …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c901632
|
7 years |
aearsis |
usbdev: polling interval and interval is the same thing
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
|
|
|
@6832245
|
7 years |
aearsis |
usbhost bus: refactor the bus ops
This way, method names better …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10cd715
|
7 years |
aearsis |
usbhost bus: request_address → reserve_default_address
It doesn't …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64fea02
|
7 years |
aearsis |
usbhost: refactor include hiearchy
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41df71f9
|
7 years |
aearsis |
ddf: split usb interface to usb and usbhc
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d37514e
|
7 years |
petr.manek |
Routing fun_online and _offline through the USB bus. Added appropriate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b8c164
|
7 years |
aearsis |
libusbhost bus: endpoint→device is now managed by bus implementation
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b35478
|
7 years |
aearsis |
usb fix: fixed mistaken argument
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0206d35
|
7 years |
aearsis |
Moving things around to improve isolation of responsibilities
Bus …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56db65d
|
7 years |
aearsis |
usbhost: provide usb_endpoint_desc_t to bus when registering endpoint
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec700c7
|
7 years |
salmelu |
Superspeed companion descriptor is processed
Superspeed endpoint …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@327f147
|
7 years |
aearsis |
usbhost: change parameters of methods
Pass (device_t, usb_target_t) …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f6b50f
|
7 years |
petr.manek |
Added DDF device to HCD initialization to prepare RH data structures …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95c675b
|
7 years |
aearsis |
Merge mainline
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@816f5f4
|
7 years |
salmelu |
Remote USB (async) sending structures
remote_usb_register_endpoint is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20eaa82
|
7 years |
aearsis |
usbhost refactoring: introduced bus→enumerate_device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@867b375
|
7 years |
aearsis |
hcd_ddf_new_device refactoring
This long function is now split into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@366e9b6
|
7 years |
aearsis |
usbhost: setup of the root hub is now a method of an driver
[oue]hci …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41924f30
|
7 years |
aearsis |
WIP usbhost refactoring
This commit replaces callbacks with more …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cccd60c3
|
7 years |
jiri |
hw_res_enable_interrupt should allow enabling individual interrupts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2bdf92a5
|
7 years |
jiri |
Eliminate remaining cases of drivers directly calling …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@42bc933
|
7 years |
salmelu |
Dummy for bulk transfers (need to support streams)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f74275
|
7 years |
jakub |
Fix terminology around capabilities, capability handles and kernel objects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9d15d9
|
7 years |
jakub |
Turn IRQ structures into kernel objects
ipc_irq_subscribe() now …
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
|
|
|
@5cbccd4
|
8 years |
aearsis |
xhci: register structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e657635
|
8 years |
jakub |
Fix use after free in hcd_ddf_remove_device()
The problem here is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4b534ac
|
8 years |
jakub |
Merge from lp:~jan.vesely/helenos/usb
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f29643d5
|
10 years |
jano.vesely |
libusbhost: Make sure interrupts are registered before touching hw.
…
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
|
|
|
@d51ba359
|
10 years |
jano.vesely |
libusbhost: merge ddf_hcd_device_setup_all to hcd_ddf_add_hc
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d7552c
|
10 years |
jano.vesely |
libusbhost: add generic driver initialization function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c86ca9a
|
10 years |
jano.vesely |
libusbhost: Add more debugging output
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2003739
|
10 years |
jano.vesely |
libusbhost: Fix build on BE ssytems
not even const functions are …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e7c9fe
|
10 years |
jano.vesely |
merge mainline changes
most usb changes were reverted. blink and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e732f1a
|
11 years |
jano.vesely |
usb: Add support for multiple packets per microframe.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ff59981
|
11 years |
jano.vesely |
libusbhost: Unlock mutex on error path.
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
|
|
|
@7191992
|
11 years |
jano.vesely |
libusbhost: Add more helper functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1df381
|
11 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
|
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
|
|
|
@8d2e251
|
11 years |
jano.vesely |
libusbhost: Sanitize headers.
Include what you use. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19d21728
|
11 years |
jano.vesely |
libusbhost: Add generic irq setup routine.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c898236
|
11 years |
jano.vesely |
libusbhost: clean hw_res if resource retrieval fails.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@57c8fc9
|
11 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
|
11 years |
jano.vesely |
Minor fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4cf5b8e0
|
11 years |
jano.vesely |
libusbhost: Rename usb_endpoint_manager → usb_bus
It's shorter and …
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
|
|
|
@0ee999d
|
11 years |
jano.vesely |
libusbhost: Add TT information to usb_enpoint_t structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5dad73d
|
11 years |
jano.vesely |
libusbhost: Fix accessing NULL pointer
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa9d3af
|
11 years |
jano.vesely |
libusbhost: Add information about the nearest HS hub.
The last pice …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14dd4c9
|
11 years |
jano.vesely |
libusbhost: consolidate device lists and locking.
Root hub is added …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0918382f
|
11 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
|
|
|
@2757247
|
11 years |
jano.vesely |
libusbhost: Keep devices tree in internal representation.
This is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e991937
|
11 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
|
|
|
@e588d12
|
11 years |
jano.vesely |
libusbhost: remove old iface
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3121b5f
|
11 years |
jano.vesely |
rename get_device_handle ⇒ get_my_device_handle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b8ecff
|
11 years |
jano.vesely |
libusbhost: remove implementations of the old HC handle based functions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb8ede1
|
11 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
|
|
|
@cce3228
|
11 years |
jano.vesely |
libusbhost: Use goto instead of macros for error handling.
supposedly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dcbda00
|
11 years |
jano.vesely |
libusbhost: unplug usbhc iface
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1845003
|
11 years |
jano.vesely |
libusbhost: Implement usb iface data communication.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e4219ab
|
11 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
|
|
|
@ec6766a
|
11 years |
jano.vesely |
libusbhost: Remove speed argument from add_ep.
It can be queried …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@423c749
|
11 years |
jano.vesely |
libusbhost: Remove usb_device_manager.
Functions merged to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@059d507
|
11 years |
jano.vesely |
libusbhost: Remove devman handle information from usb_device_manager.
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
|
|
|
@d2cfe72
|
12 years |
jano.vesely |
libusbhost: Implement endpoint management for usb iface.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c73603
|
12 years |
jano.vesely |
libusbhost: release address on device removal
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6becb9
|
12 years |
jano.vesely |
libusbhost: Don't try to destroy device if unbind fails.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56bd6f11
|
12 years |
jano.vesely |
libusbhost: Implement new usb interface functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b995183
|
12 years |
jano.vesely |
libusbhost: Add support for device removal. Use address as id.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a3886be
|
12 years |
jano.vesely |
libusbhost: Remove the old root hub initialization code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@237df2f
|
12 years |
jano.vesely |
libusbhost: Add host side device initialization.
Add new roothub …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b0929e
|
12 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
|
|
|
@0a12879
|
12 years |
jano.vesely |
libusbhost: Generate default name for unnamed devices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@daf59d1
|
12 years |
jano.vesely |
libusbhost: Move lsit of usb device to ddf helper structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ef03d7
|
12 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
|
12 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
|