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


 399 static sata_tran_hotplug_ops_t si_tran_hotplug_ops = {
 400         SATA_TRAN_HOTPLUG_OPS_REV_1,
 401         si_tran_hotplug_port_activate,
 402         si_tran_hotplug_port_deactivate
 403 };
 404 
 405 
 406 static int si_watchdog_timeout = 5; /* 5 seconds */
 407 static int si_watchdog_tick;
 408 
 409 extern struct mod_ops mod_driverops;
 410 
 411 static  struct modldrv modldrv = {
 412         &mod_driverops,     /* driverops */
 413         "si3124 driver",
 414         &sictl_dev_ops,     /* driver ops */
 415 };
 416 
 417 static  struct modlinkage modlinkage = {
 418         MODREV_1,
 419         &modldrv,
 420         NULL
 421 };
 422 
 423 
 424 /* The following are needed for si_log() */
 425 static kmutex_t si_log_mutex;
 426 static char si_log_buf[SI_LOGBUF_LEN];
 427 uint32_t si_debug_flags =
 428     SIDBG_ERRS|SIDBG_INIT|SIDBG_EVENT|SIDBG_TIMEOUT|SIDBG_RESET;
 429 
 430 static int is_msi_supported = 0;
 431 
 432 /*
 433  * The below global variables are tunable via /etc/system
 434  *
 435  * si_dma_sg_number
 436  */
 437 
 438 int si_dma_sg_number = SI_DEFAULT_SGT_TABLES_PER_PRB;
 439 
 440 /* Opaque state pointer to be initialized by ddi_soft_state_init() */




 399 static sata_tran_hotplug_ops_t si_tran_hotplug_ops = {
 400         SATA_TRAN_HOTPLUG_OPS_REV_1,
 401         si_tran_hotplug_port_activate,
 402         si_tran_hotplug_port_deactivate
 403 };
 404 
 405 
 406 static int si_watchdog_timeout = 5; /* 5 seconds */
 407 static int si_watchdog_tick;
 408 
 409 extern struct mod_ops mod_driverops;
 410 
 411 static  struct modldrv modldrv = {
 412         &mod_driverops,     /* driverops */
 413         "si3124 driver",
 414         &sictl_dev_ops,     /* driver ops */
 415 };
 416 
 417 static  struct modlinkage modlinkage = {
 418         MODREV_1,
 419         { &modldrv, NULL }

 420 };
 421 
 422 
 423 /* The following are needed for si_log() */
 424 static kmutex_t si_log_mutex;
 425 static char si_log_buf[SI_LOGBUF_LEN];
 426 uint32_t si_debug_flags =
 427     SIDBG_ERRS|SIDBG_INIT|SIDBG_EVENT|SIDBG_TIMEOUT|SIDBG_RESET;
 428 
 429 static int is_msi_supported = 0;
 430 
 431 /*
 432  * The below global variables are tunable via /etc/system
 433  *
 434  * si_dma_sg_number
 435  */
 436 
 437 int si_dma_sg_number = SI_DEFAULT_SGT_TABLES_PER_PRB;
 438 
 439 /* Opaque state pointer to be initialized by ddi_soft_state_init() */