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


  90         nodev,                  /* getinfo */
  91         nulldev,                /* identify */
  92         nulldev,                /* probe */
  93         cpudrv_attach,          /* attach */
  94         cpudrv_detach,          /* detach */
  95         nodev,                  /* reset */
  96         (struct cb_ops *)NULL,  /* cb_ops */
  97         (struct bus_ops *)NULL, /* bus_ops */
  98         cpudrv_power,           /* power */
  99         ddi_quiesce_not_needed,         /* quiesce */
 100 };
 101 
 102 static struct modldrv modldrv = {
 103         &mod_driverops,                     /* modops */
 104         "CPU Driver",                   /* linkinfo */
 105         &cpudrv_ops,                        /* dev_ops */
 106 };
 107 
 108 static struct modlinkage modlinkage = {
 109         MODREV_1,               /* rev */
 110         &modldrv,           /* linkage */
 111         NULL
 112 };
 113 
 114 /*
 115  * Function prototypes
 116  */
 117 static int cpudrv_init(cpudrv_devstate_t *cpudsp);
 118 static void cpudrv_free(cpudrv_devstate_t *cpudsp);
 119 static int cpudrv_comp_create(cpudrv_devstate_t *cpudsp);
 120 static void cpudrv_monitor_disp(void *arg);
 121 static void cpudrv_monitor(void *arg);
 122 
 123 /*
 124  * Driver global variables
 125  */
 126 uint_t cpudrv_debug = 0;
 127 void *cpudrv_state;
 128 static uint_t cpudrv_idle_hwm = CPUDRV_IDLE_HWM;
 129 static uint_t cpudrv_idle_lwm = CPUDRV_IDLE_LWM;
 130 static uint_t cpudrv_idle_buf_zone = CPUDRV_IDLE_BUF_ZONE;
 131 static uint_t cpudrv_idle_bhwm_cnt_max = CPUDRV_IDLE_BHWM_CNT_MAX;




  90         nodev,                  /* getinfo */
  91         nulldev,                /* identify */
  92         nulldev,                /* probe */
  93         cpudrv_attach,          /* attach */
  94         cpudrv_detach,          /* detach */
  95         nodev,                  /* reset */
  96         (struct cb_ops *)NULL,  /* cb_ops */
  97         (struct bus_ops *)NULL, /* bus_ops */
  98         cpudrv_power,           /* power */
  99         ddi_quiesce_not_needed,         /* quiesce */
 100 };
 101 
 102 static struct modldrv modldrv = {
 103         &mod_driverops,                     /* modops */
 104         "CPU Driver",                   /* linkinfo */
 105         &cpudrv_ops,                        /* dev_ops */
 106 };
 107 
 108 static struct modlinkage modlinkage = {
 109         MODREV_1,               /* rev */
 110         { &modldrv, NULL }  /* linkage */

 111 };
 112 
 113 /*
 114  * Function prototypes
 115  */
 116 static int cpudrv_init(cpudrv_devstate_t *cpudsp);
 117 static void cpudrv_free(cpudrv_devstate_t *cpudsp);
 118 static int cpudrv_comp_create(cpudrv_devstate_t *cpudsp);
 119 static void cpudrv_monitor_disp(void *arg);
 120 static void cpudrv_monitor(void *arg);
 121 
 122 /*
 123  * Driver global variables
 124  */
 125 uint_t cpudrv_debug = 0;
 126 void *cpudrv_state;
 127 static uint_t cpudrv_idle_hwm = CPUDRV_IDLE_HWM;
 128 static uint_t cpudrv_idle_lwm = CPUDRV_IDLE_LWM;
 129 static uint_t cpudrv_idle_buf_zone = CPUDRV_IDLE_BUF_ZONE;
 130 static uint_t cpudrv_idle_bhwm_cnt_max = CPUDRV_IDLE_BHWM_CNT_MAX;