Ignore:
Timestamp:
2018-02-28T16:37:50Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b20da0
Parents:
f5e5f73 (diff), b2dca8de (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jakub Jermar <jakub@…> (2018-02-28 16:06:42)
git-committer:
Jakub Jermar <jakub@…> (2018-02-28 16:37:50)
Message:

Merge github.com:helenos-xhci-team/helenos

This commit merges support for USB 3 and generally refactors, fixes,
extends and cleans up the existing USB framework.

Notable additions and features:

  • new host controller driver has been implemented to control various xHC models (among others, NEC Renesas uPD720200)
  • isochronous data transfer mode
  • support for explicit USB device removal
  • USB tablet driver
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/hub/virthubops.c

    rf5e5f73 rdf6ded8  
    137137
    138138        switch (feature) {
    139                 case USB_HUB_FEATURE_PORT_ENABLE:
     139                case USB2_HUB_FEATURE_PORT_ENABLE:
    140140                        if ((port_state != HUB_PORT_STATE_NOT_CONFIGURED)
    141141                            && (port_state != HUB_PORT_STATE_POWERED_OFF)) {
     
    145145                        break;
    146146
    147                 case USB_HUB_FEATURE_PORT_SUSPEND:
     147                case USB2_HUB_FEATURE_PORT_SUSPEND:
    148148                        if (port_state != HUB_PORT_STATE_SUSPENDED) {
    149149                                rc = EOK;
     
    166166                        break;
    167167
    168                 case USB_HUB_FEATURE_C_PORT_ENABLE:
     168                case USB2_HUB_FEATURE_C_PORT_ENABLE:
    169169                        hub_clear_port_status_change(hub, port, HUB_STATUS_C_PORT_ENABLE);
    170170                        rc = EOK;
    171171                        break;
    172172
    173                 case USB_HUB_FEATURE_C_PORT_SUSPEND:
     173                case USB2_HUB_FEATURE_C_PORT_SUSPEND:
    174174                        hub_clear_port_status_change(hub, port, HUB_STATUS_C_PORT_SUSPEND);
    175175                        rc = EOK;
     
    317317                        break;
    318318
    319                 case USB_HUB_FEATURE_PORT_SUSPEND:
     319                case USB2_HUB_FEATURE_PORT_SUSPEND:
    320320                        if (port_state == HUB_PORT_STATE_ENABLED) {
    321321                                hub_set_port_state(hub, port, HUB_PORT_STATE_SUSPENDED);
Note: See TracChangeset for help on using the changeset viewer.