Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 05e21ffc in mainline


Ignore:
Timestamp:
2011-05-13T10:30:49Z (11 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master
Children:
4a7a8d4
Parents:
652f484
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/root_hub.c

    r652f484 r05e21ffc  
    110110static const uint32_t hub_clear_feature_valid_mask =
    111111    (1 << USB_HUB_FEATURE_C_HUB_LOCAL_POWER) |
    112 (1 << USB_HUB_FEATURE_C_HUB_OVER_CURRENT);
     112    (1 << USB_HUB_FEATURE_C_HUB_OVER_CURRENT);
    113113
    114114/**
     
    123123static const uint32_t hub_set_feature_valid_mask =
    124124    (1 << USB_HUB_FEATURE_C_HUB_OVER_CURRENT) |
    125 (1 << USB_HUB_FEATURE_C_HUB_LOCAL_POWER);
     125    (1 << USB_HUB_FEATURE_C_HUB_LOCAL_POWER);
    126126
    127127/**
     
    136136static const uint32_t port_set_feature_valid_mask =
    137137    (1 << USB_HUB_FEATURE_PORT_ENABLE) |
    138 (1 << USB_HUB_FEATURE_PORT_SUSPEND) |
    139 (1 << USB_HUB_FEATURE_PORT_RESET) |
    140 (1 << USB_HUB_FEATURE_PORT_POWER);
     138    (1 << USB_HUB_FEATURE_PORT_SUSPEND) |
     139    (1 << USB_HUB_FEATURE_PORT_RESET) |
     140    (1 << USB_HUB_FEATURE_PORT_POWER);
    141141
    142142/**
     
    145145static const uint32_t port_clear_feature_valid_mask =
    146146    (1 << USB_HUB_FEATURE_PORT_CONNECTION) |
    147 (1 << USB_HUB_FEATURE_PORT_SUSPEND) |
    148 (1 << USB_HUB_FEATURE_PORT_OVER_CURRENT) |
    149 (1 << USB_HUB_FEATURE_PORT_POWER) |
    150 (1 << USB_HUB_FEATURE_C_PORT_CONNECTION) |
    151 (1 << USB_HUB_FEATURE_C_PORT_ENABLE) |
    152 (1 << USB_HUB_FEATURE_C_PORT_SUSPEND) |
    153 (1 << USB_HUB_FEATURE_C_PORT_OVER_CURRENT) |
    154 (1 << USB_HUB_FEATURE_C_PORT_RESET);
     147    (1 << USB_HUB_FEATURE_PORT_SUSPEND) |
     148    (1 << USB_HUB_FEATURE_PORT_OVER_CURRENT) |
     149    (1 << USB_HUB_FEATURE_PORT_POWER) |
     150    (1 << USB_HUB_FEATURE_C_PORT_CONNECTION) |
     151    (1 << USB_HUB_FEATURE_C_PORT_ENABLE) |
     152    (1 << USB_HUB_FEATURE_C_PORT_SUSPEND) |
     153    (1 << USB_HUB_FEATURE_C_PORT_OVER_CURRENT) |
     154    (1 << USB_HUB_FEATURE_C_PORT_RESET);
    155155//note that USB_HUB_FEATURE_PORT_POWER bit is translated into
    156156//USB_HUB_FEATURE_PORT_LOW_SPEED
     
    161161static const uint32_t port_status_change_mask =
    162162    (1 << USB_HUB_FEATURE_C_PORT_CONNECTION) |
    163 (1 << USB_HUB_FEATURE_C_PORT_ENABLE) |
    164 (1 << USB_HUB_FEATURE_C_PORT_OVER_CURRENT) |
    165 (1 << USB_HUB_FEATURE_C_PORT_RESET) |
    166 (1 << USB_HUB_FEATURE_C_PORT_SUSPEND);
     163    (1 << USB_HUB_FEATURE_C_PORT_ENABLE) |
     164    (1 << USB_HUB_FEATURE_C_PORT_OVER_CURRENT) |
     165    (1 << USB_HUB_FEATURE_C_PORT_RESET) |
     166    (1 << USB_HUB_FEATURE_C_PORT_SUSPEND);
    167167
    168168
Note: See TracChangeset for help on using the changeset viewer.