Print this page
7974 Some USB3 drives don't attach
Reviewed by: Dan McDonald <danmcd@omniti.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/usba/usbai_register.c
          +++ new/usr/src/uts/common/io/usb/usba/usbai_register.c
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   *
  25   25   * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  26      - * Copyright 2016 Joyent, Inc.
       26 + * Copyright 2017 Joyent, Inc.
  27   27   */
  28   28  
  29   29  /*
  30   30   * USBA: Solaris USB Architecture support
  31   31   *
  32   32   * This module builds a tree of parsed USB standard descriptors and unparsed
  33   33   * Class/Vendor specific (C/V) descriptors.  Routines are grouped into three
  34   34   * groups: those which build the tree, those which take it down, and those which
  35   35   * dump it.
  36   36   *
↓ open down ↓ 1098 lines elided ↑ open up ↑
1135 1135                  n_cvs_ptr = &state->st_curr_cfg->cfg_n_cvs;
1136 1136                  cvs_ptr = &state->st_curr_cfg->cfg_cvs;
1137 1137                  break;
1138 1138  
1139 1139          case USB_DESCR_TYPE_IF:
1140 1140                  n_cvs_ptr = &state->st_curr_alt->altif_n_cvs;
1141 1141                  cvs_ptr = &state->st_curr_alt->altif_cvs;
1142 1142                  break;
1143 1143  
1144 1144          case USB_DESCR_TYPE_EP:
     1145 +        case USB_DESCR_TYPE_SS_EP_COMP:
1145 1146                  n_cvs_ptr = &state->st_curr_ep->ep_n_cvs;
1146 1147                  cvs_ptr = &state->st_curr_ep->ep_cvs;
1147 1148                  break;
1148 1149  
1149 1150          default:
1150 1151                  USB_DPRINTF_L2(DPRINT_MASK_ALL, usbai_reg_log_handle,
1151 1152                      "usba_process_cv_descr: Type of last descriptor unknown. ");
1152 1153  
1153 1154                  return (USB_FAILURE);
1154 1155          }
↓ open down ↓ 863 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX