Print this page
fixup .text where possible
style update i86pc/io
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/dr/dr.c
          +++ new/usr/src/uts/i86pc/io/dr/dr.c
↓ open down ↓ 148 lines elided ↑ open up ↑
 149  149  
 150  150  dr_unsafe_devs_t        dr_unsafe_devs;
 151  151  
 152  152  /*
 153  153   * Table of known passthru commands.
 154  154   */
 155  155  struct {
 156  156          char    *pt_name;
 157  157          int     (*pt_func)(dr_handle_t *);
 158  158  } pt_arr[] = {
 159      -        "quiesce",              dr_pt_test_suspend,
      159 +        { "quiesce",            dr_pt_test_suspend }
 160  160  };
 161  161  
 162  162  int dr_modunload_okay = 0;              /* set to non-zero to allow unload */
 163  163  
 164  164  /*
 165  165   * State transition table.  States valid transitions for "board" state.
 166  166   * Recall that non-zero return value terminates operation, however
 167  167   * the herrno value is what really indicates an error , if any.
 168  168   */
 169  169  static int
↓ open down ↓ 252 lines elided ↑ open up ↑
 422  422  extern struct mod_ops mod_driverops;
 423  423  
 424  424  static struct modldrv modldrv = {
 425  425          &mod_driverops,
 426  426          "Dynamic Reconfiguration",
 427  427          &dr_dev_ops
 428  428  };
 429  429  
 430  430  static struct modlinkage modlinkage = {
 431  431          MODREV_1,
 432      -        (void *)&modldrv,
 433      -        NULL
      432 +        {   (void *)&modldrv,
      433 +            NULL }
 434  434  };
 435  435  
 436  436  /*
 437  437   * Driver entry points.
 438  438   */
 439  439  int
 440  440  _init(void)
 441  441  {
 442  442          int     err;
 443  443  
↓ open down ↓ 2886 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX