Print this page
7127  remove -Wno-missing-braces from Makefile.uts


  80  * one possible specified client driver name
  81  */
  82 #define USBA_MAX_COMPAT_NAMES           17
  83 #define USBA_MAX_COMPAT_NAME_LEN        64
  84 
  85 /* double linked list for usba_devices */
  86 usba_list_entry_t       usba_device_list;
  87 
  88 _NOTE(MUTEX_PROTECTS_DATA(usba_mutex, usba_device_list))
  89 
  90 /*
  91  * modload support
  92  */
  93 
  94 static struct modlmisc modlmisc = {
  95         &mod_miscops,       /* Type of module */
  96         "USBA: USB Architecture 2.0 1.66"
  97 };
  98 
  99 static struct modlinkage modlinkage = {
 100         MODREV_1, (void *)&modlmisc, NULL
 101 };
 102 
 103 
 104 static usb_log_handle_t usba_log_handle;
 105 uint_t          usba_errlevel = USB_LOG_L4;
 106 uint_t          usba_errmask = (uint_t)-1;
 107 
 108 extern usb_log_handle_t hubdi_log_handle;
 109 
 110 int
 111 _init(void)
 112 {
 113         int rval;
 114 
 115         /*
 116          * usbai providing log support needs to be init'ed first
 117          * and destroyed last
 118          */
 119         usba_usbai_initialization();
 120         usba_usba_initialization();




  80  * one possible specified client driver name
  81  */
  82 #define USBA_MAX_COMPAT_NAMES           17
  83 #define USBA_MAX_COMPAT_NAME_LEN        64
  84 
  85 /* double linked list for usba_devices */
  86 usba_list_entry_t       usba_device_list;
  87 
  88 _NOTE(MUTEX_PROTECTS_DATA(usba_mutex, usba_device_list))
  89 
  90 /*
  91  * modload support
  92  */
  93 
  94 static struct modlmisc modlmisc = {
  95         &mod_miscops,       /* Type of module */
  96         "USBA: USB Architecture 2.0 1.66"
  97 };
  98 
  99 static struct modlinkage modlinkage = {
 100         MODREV_1, { (void *)&modlmisc, NULL }
 101 };
 102 
 103 
 104 static usb_log_handle_t usba_log_handle;
 105 uint_t          usba_errlevel = USB_LOG_L4;
 106 uint_t          usba_errmask = (uint_t)-1;
 107 
 108 extern usb_log_handle_t hubdi_log_handle;
 109 
 110 int
 111 _init(void)
 112 {
 113         int rval;
 114 
 115         /*
 116          * usbai providing log support needs to be init'ed first
 117          * and destroyed last
 118          */
 119         usba_usbai_initialization();
 120         usba_usba_initialization();