|
|
@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
|
|
|
@f527f58
|
9 years |
jakub |
Reference-count endpoint_t structures
Track explicit references to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e657635
|
9 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
|
9 years |
jakub |
Merge from lp:~jan.vesely/helenos/usb
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a637a4
|
10 years |
martin |
remove EEXISTS in favor of EEXIST
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
|
|
|
@a157846
|
10 years |
jano.vesely |
usb: Fix EINPROGRESS compile failures
why the removal of EINPROGRESS …
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
|
11 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
|
12 years |
jano.vesely |
libusbhost: Add more helper functions.
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
|
|
|
@75d8821
|
12 years |
jano.vesely |
libusbhost: Add dummy USB 2.0 calculations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d2e251
|
12 years |
jano.vesely |
libusbhost: Sanitize headers.
Include what you use. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19d21728
|
12 years |
jano.vesely |
libusbhost: Add generic irq setup routine.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c898236
|
12 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
|
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
|
|
|
@4cf5b8e0
|
12 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
|
|
|
@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
|
|
|
@feeac0d
|
12 years |
jiri |
Simplify use of list_foreach.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26e2de3
|
12 years |
jano.vesely |
libusbhost: reuse data set function for cleaning
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ee999d
|
12 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
|
12 years |
jano.vesely |
libusbhost: Fix accessing NULL pointer
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa9d3af
|
12 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
|
12 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
|
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
|
|
|
@2757247
|
12 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
|
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
|
|
|
@e588d12
|
12 years |
jano.vesely |
libusbhost: remove old iface
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
|
|
|
@4b8ecff
|
12 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
|
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
|
|
|
@cce3228
|
12 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
|
12 years |
jano.vesely |
libusbhost: unplug usbhc iface
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1845003
|
12 years |
jano.vesely |
libusbhost: Implement usb iface data communication.
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
|
|
|
@fdec59b
|
12 years |
jano.vesely |
libusbhost: Remove usbhc endpoint register/unregister implementation
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec6766a
|
12 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
|
|
|
@8a23fef
|
12 years |
jano.vesely |
libusbhost: Merge _remove_address and _release_address.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3aac088
|
12 years |
jano.vesely |
libusbhost: Initialize last_address to zero.
get_free_address is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@423c749
|
12 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
|
12 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
|
|
|
@b0fc92c
|
12 years |
jano.vesely |
libusb, libdrv, libusbhost: Remove searching for dev handle by usb address
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
|
|
|
@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
|
|
|
@ef40434
|
13 years |
jano.vesely |
usb: Drop deprecated usb hc interface functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c73603
|
13 years |
jano.vesely |
libusbhost: release address on device removal
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6becb9
|
13 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
|
13 years |
jano.vesely |
libusbhost: Implement new usb interface functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b995183
|
13 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
|
|
|
@bbd68a4
|
13 years |
jano.vesely |
libisbhost: Add message to error path.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a3886be
|
13 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
|
13 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
|
|
|
@b4c1c95
|
13 years |
jano.vesely |
libusbhost: Add more hcd wrappers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0816c2e
|
13 years |
jano.vesely |
libusbhost: Add hcd endpoint manipulation wrappers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17bbb28
|
13 years |
jano.vesely |
libusbhost: Sync function definition param.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d8cdf39e
|
13 years |
jano.vesely |
libusbhost: Remove fun_to_hcd helper.
Use dev_to_hcd instead.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3c4663e
|
13 years |
jano.vesely |
libusbhost: Drop ddf_fun argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1affef2f
|
13 years |
jano.vesely |
libusbhost: Use callback wrapper for toggle handling.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6a9910
|
13 years |
jano.vesely |
libusbhost: Add external toggle rest function to ep manager
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b591cab
|
13 years |
jano.vesely |
libusbhost: usb_transfer_batch: Remove private data member.
Nothing …
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
|
|
|
@0a12879
|
13 years |
jano.vesely |
libusbhost: Generate default name for unnamed devices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@daf59d1
|
13 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
|
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
|
|
|
@d9b2c73
|
13 years |
jano.vesely |
libusbhost: Add hcd parameter to batch scheduling and move …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f68913f
|
13 years |
jano.vesely |
libusbhost, libdrv, vhc: Drop ddf_fun_t argument to callback …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@21be46a
|
13 years |
jano.vesely |
libusbhost: Move hcd_init to .c file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c7ed9c
|
13 years |
jano.vesely |
libusbhost,hcd: Add generic device_add function.
This will be useful …
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
|
|
|
@8de2cca
|
13 years |
jano.vesely |
libusbhost: Use more function defines.
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
|
|
|
@f29931c
|
13 years |
jano.vesely |
libusbhost: Use function typedefs.
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
|
|
|
@8013637
|
13 years |
jano.vesely |
More mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@77ad86c
|
13 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a76b01b4
|
13 years |
jano.vesely |
libus*: remove optical separators
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cbd568b
|
14 years |
jano.vesely |
libsusbhost: Doxygen.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2582d8f
|
14 years |
jano.vesely |
libusbhost: Use same size for data copy and callback.
This breaks …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f167f55b
|
14 years |
jano.vesely |
lilbusbhost: Do not use usb_transfer_batch_t.error field in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f162ab
|
14 years |
jano.vesely |
usb: Use macros from macros.h header.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@02fc5c4
|
14 years |
jano.vesely |
usbhc: Export IPC wrapper instead of IPC call numbers.
Hide IPC …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bbd09694
|
14 years |
jano.vesely |
libusbhost: Make sure USB_DEFAULT_ADDRESS won't get assigned if not in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6b6fc232
|
14 years |
jano.vesely |
libusbhost,iface: Remove all registered endpoints on address release.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@46f2808
|
14 years |
jano.vesely |
libusbhost: usb_endpoint_manager add function to remove all endpoints …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@27736cf
|
14 years |
jano.vesely |
usb: Don't pass speed info when registering endpoint.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f37eb84
|
14 years |
jano.vesely |
libusbhost, libusbdev: Fix releasing default address.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b17e37
|
14 years |
jano.vesely |
libusbhost: Require all EP to have their address occupied before …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@67f55e7b
|
14 years |
jano.vesely |
usb: Allow devices to request explicit address.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|