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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/sata/adapters/ahci/ahci.c
          +++ new/usr/src/uts/common/io/sata/adapters/ahci/ahci.c
↓ open down ↓ 339 lines elided ↑ open up ↑
 340  340  extern struct mod_ops mod_driverops;
 341  341  
 342  342  static  struct modldrv modldrv = {
 343  343          &mod_driverops,         /* driverops */
 344  344          ahci_ident,             /* short description */
 345  345          &ahcictl_dev_ops,       /* driver ops */
 346  346  };
 347  347  
 348  348  static  struct modlinkage modlinkage = {
 349  349          MODREV_1,
 350      -        &modldrv,
 351      -        NULL
      350 +        { &modldrv, NULL }
 352  351  };
 353  352  
 354  353  /* The following variables are watchdog handler related */
 355  354  static clock_t ahci_watchdog_timeout = 5; /* 5 seconds */
 356  355  static clock_t ahci_watchdog_tick;
 357  356  
 358  357  /*
 359  358   * This static variable indicates the size of command table,
 360  359   * and it's changeable with prdt number, which ahci_dma_prdt_number
 361  360   * indicates.
↓ open down ↓ 9963 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX