|
|
@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
|
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
|
|
|
@8351f9a4
|
10 years |
jano.vesely |
usbhub: Rework port reset a bit.
return error if port reset did …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34c9cfc
|
10 years |
jano.vesely |
ehci, usbhub: Fix formating errors
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e98e5fc
|
10 years |
jano.vesely |
usbhub: Add identifier to debug messages
Add explicit debug settings …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96323d2
|
10 years |
jano.vesely |
usbhub: Handle device disappearing during reset
Rework reset status …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee1c2d9
|
10 years |
jano.vesely |
mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fab2746
|
10 years |
jiri |
New transport layer API. Only UDP implemented.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffa96c2
|
11 years |
jiri |
Convert libusbdev away from DDF_DATA_IMPLANT.
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
|
|
|
@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
|
|
|
@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
|
|
|
@d93f5afb
|
12 years |
jano.vesely |
libusbdev: Cleanup unused code.
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
|
|
|
@c4f7bf6
|
12 years |
jakub |
Silence compiler warnings when optimized for size.
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
|
|
|
@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
|
|
|
@c39e9fb
|
13 years |
jano.vesely |
usb, drivers: Use usb_device_* wrappers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f4bff8
|
13 years |
jano.vesely |
libusbdev: Add and use few new wrappers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ef4e8eb
|
13 years |
jano.vesely |
Remove unused usb hub code.
All the functionality is now handled by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5a470c
|
13 years |
jano.vesely |
usbhub: Decrease op count on error paths.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9467b0
|
13 years |
jano.vesely |
usbhub: Fix after porting to new usb ops.
Check attached handle …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3df8ea9
|
13 years |
jano.vesely |
usbhub: Switch to new usb interface functions and provided …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea30cc1
|
13 years |
jano.vesely |
libsubdev: Add delay parameter to autopol.
usbhub: Set delay to 255 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dc1d499
|
13 years |
jano.vesely |
usbhub: Print more info about power switching
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db8b7ca
|
13 years |
jano.vesely |
libusbdev: Drop support for custom function data and ops.
Unused and …
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
|
|
|
@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
|
|
|
@81716eb
|
13 years |
jano.vesely |
Mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e882e3a
|
13 years |
jiri |
Remove include of devman.h where not needed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76fbd9a
|
14 years |
jano.vesely |
usb drivers: remove optical separators
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fd3abb6d
|
14 years |
jano.vesely |
usbhub: Extend comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@815b244a
|
14 years |
jano.vesely |
usbhub: Consider endian when setting port number.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e3c005
|
14 years |
jano.vesely |
libusbdev: Doxygen and minor cleanup/renaming.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb2ef35
|
14 years |
jano.vesely |
usbhub: Use usb_device_T provided hc_connection.
Start long transfer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cae002c
|
14 years |
jano.vesely |
usbhub: Remove flawed implementation of dev_remove.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@54d1ad9
|
14 years |
jano.vesely |
usbhub: Fix over-current handling.
Make power-switching policies part …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e27c2476
|
14 years |
jano.vesely |
usbhub: Fix double free in error paths.
Remove redundant …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b803845
|
14 years |
jano.vesely |
usb: Make endpoint descriptions const.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@065064e6
|
14 years |
jano.vesely |
usb: Add and use usb_device_data_alloc.
Inspired by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@344a0ac
|
14 years |
jano.vesely |
usbhub: Open hc connection before unregistering address.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a825eeb0
|
14 years |
jano.vesely |
usbhub: Remove connected devices before confirming device gone.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a14d6a7
|
14 years |
jano.vesely |
usbhub: Remove +1 port_count hack
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eda7a4e0
|
14 years |
jano.vesely |
usbhub: rename hub_info ⇒ hub_dev
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32ec5671
|
14 years |
jano.vesely |
usb: Remove unused port_no argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@013517b
|
14 years |
jano.vesely |
usb: Remove assigned_handle output parameter.
Use new_fun instead.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90994fa
|
14 years |
jano.vesely |
usb: Hubs should store child functions not just handles.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@205f0766
|
14 years |
jano.vesely |
usbhub: Implement device gone routine.
Fix error path.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6626bba9
|
14 years |
jano.vesely |
usbhub: Rename usb_hub_info ⇒ usb_hub_dev.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@196fbb0
|
14 years |
jano.vesely |
usbhub: Store hub function ptr within hub structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@940f576
|
14 years |
jano.vesely |
usbhub: Add device_gone skeleton
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4501e207
|
14 years |
jano.vesely |
rename: usb_hc_attached_device_t ⇒ usb_hub_attached_device_t
Host …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1a4ea01d
|
14 years |
jano.vesely |
usb: Rename add_device ⇒ device_add
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fec6bf2
|
14 years |
jano.vesely |
usbhub: Check size before touching configuration descriptor.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f05705
|
14 years |
jano.vesely |
usbhub: Declare iteration variables inside for loops.
Codestyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dbd54f72
|
14 years |
jano.vesely |
usbhub: Handle device removal on port.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32cd37f
|
14 years |
jakub |
Fix stack buffer overflow.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e231d26
|
14 years |
jano.vesely |
usbhub: Fix compile issues.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a1cb170
|
14 years |
jano.vesely |
usbhub: Minor fixes
License and whitespace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d650494
|
14 years |
jano.vesely |
ushub: Handle situation when both connection and enabled change occur.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@400f363
|
14 years |
jano.vesely |
usbhub: Rename port_status.h ⇒ status.h
It contains both …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a61c683
|
14 years |
jano.vesely |
usbhub: Fix endian TODOs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aefa0d5
|
14 years |
jano.vesely |
usbhub: Convert add device mechanism to use usb_hub_port_t instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0212751
|
14 years |
jano.vesely |
usbhub: IMplement some easy TODOs
Convert process_intterrupt to use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4559d89
|
14 years |
jano.vesely |
usbhub: Remove unused control_pipe field.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@621ba8c
|
14 years |
jano.vesely |
usbhub: Request only hub descriptor header. DOn't use deserialize …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b617579
|
14 years |
jano.vesely |
usbhub: Add license lines.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@442fa6b
|
14 years |
jano.vesely |
usbhub: More functions use new usb_hub_port_t elements.
Use per port …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0587d90
|
14 years |
jano.vesely |
usbhub: Add pipe and port number to port structure.
Use these fields …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a590a23
|
14 years |
jano.vesely |
usbhub: Rename ports ⇒ port.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c5abf9
|
14 years |
jano.vesely |
usbhub: Further unused code removal.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aff1880
|
14 years |
jano.vesely |
usbhub: Move feature set/clear to ports.h, refactor reset sequence.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48a31be
|
14 years |
jano.vesely |
usbhub: Remove unused code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6e2938
|
14 years |
jano.vesely |
usbhub: Refactor handling of port changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bba0f1fc
|
14 years |
jano.vesely |
usbhub: Use generic device requests for hub device features.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3433a2
|
14 years |
jano.vesely |
usbhub: Create GET_PORT_STATUS request inline isntead of creation function.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d3cd30
|
14 years |
jano.vesely |
usbhub: Remove is_default_address_used.
Contrary to what the comment …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75eb6735
|
14 years |
jano.vesely |
usbhub: Reduce the use of usb_info_t.control_pipe
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea6de35
|
14 years |
jano.vesely |
usbhub: Refactoring
Add note about GET_STATUS request. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bf73a02
|
14 years |
jano.vesely |
usbhub: Refactor handling of global hub events.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@193da9d6
|
14 years |
jano.vesely |
usbhub: Rename usbhub_private.h ⇒ utils.h.
Add error checks, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34a0d17
|
14 years |
jano.vesely |
usbhub: Fix include in main.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b6f8dd
|
14 years |
jano.vesely |
usbhub: Remove unused status_change_pipe element.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@983e135
|
14 years |
jano.vesely |
usbhub: Further codestyle changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d46b13d
|
14 years |
jano.vesely |
usbhub: Fix device initialization error paths.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee9ea16
|
14 years |
jano.vesely |
usbhub: Codestyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8895d05
|
14 years |
jano.vesely |
usbhub: Do not register in "hub" category as there is no such category …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1dc4a5e
|
14 years |
jiri |
Renaming to reflect classes are gone.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fe28ca1
|
14 years |
jano.vesely |
OHCI: Root hub: Set over-current protection mode to match power mode.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5fd0dc23
|
14 years |
jano.vesely |
usbhub: Fix power switching procedure, get rid of heap allocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dbb9663
|
14 years |
jano.vesely |
libusb: Fix hub descriptor parsing: USB is little endian.
usbhub: Fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5203e256
|
14 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
|