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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/emul64_bsd.c
          +++ new/usr/src/uts/common/io/emul64_bsd.c
↓ open down ↓ 154 lines elided ↑ open up ↑
 155  155  static int              emul64_yield_period = 1000;
 156  156  static int              emul64_yield_enable = 1;
 157  157  static kmutex_t         emul64_yield_mutex;
 158  158  static kcondvar_t       emul64_yield_cv;
 159  159  
 160  160  /*
 161  161   * This array establishes a set of tunable variables that can be set by
 162  162   * defining properties in the emul64.conf file.
 163  163   */
 164  164  struct prop_map emul64_properties[] = {
 165      -        "emul64_collect_stats",         &emul64_collect_stats,
 166      -        "emul64_yield_length",          &emul64_yield_length,
 167      -        "emul64_yield_period",          &emul64_yield_period,
 168      -        "emul64_yield_enable",          &emul64_yield_enable,
 169      -        "emul64_max_task",              &emul64_max_task,
 170      -        "emul64_task_nthreads",         &emul64_task_nthreads
      165 +        { "emul64_collect_stats",       &emul64_collect_stats },
      166 +        { "emul64_yield_length",        &emul64_yield_length },
      167 +        { "emul64_yield_period",        &emul64_yield_period },
      168 +        { "emul64_yield_enable",        &emul64_yield_enable },
      169 +        { "emul64_max_task",            &emul64_max_task },
      170 +        { "emul64_task_nthreads",       &emul64_task_nthreads }
 171  171  };
 172  172  
 173  173  static unsigned char *emul64_zeros = NULL; /* Block of 0s for comparison */
 174  174  
 175  175  extern void emul64_check_cond(struct scsi_pkt *pkt, uchar_t key,
 176  176                                  uchar_t asc, uchar_t ascq);
 177  177  /* ncyl=250000 acyl=2 nhead=24 nsect=357 */
 178  178  uint_t dkg_rpm = 3600;
 179  179  
 180  180  static int bsd_mode_sense_dad_mode_geometry(struct scsi_pkt *);
↓ open down ↓ 1202 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX