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


 201         &(cb_conskbd_ops),  /* devo_cb_ops */
 202         (struct bus_ops *)NULL, /* devo_bus_ops */
 203         NULL,                   /* devo_power */
 204         ddi_quiesce_not_needed,         /* quiesce */
 205 };
 206 
 207 /*
 208  * Module linkage information for the kernel.
 209  */
 210 static struct modldrv modldrv = {
 211         &mod_driverops, /* Type of module.  This one is a pseudo driver */
 212         "conskbd multiplexer driver",
 213         &conskbd_ops,       /* driver ops */
 214 };
 215 
 216 /*
 217  * Module linkage structure
 218  */
 219 static struct modlinkage modlinkage = {
 220         MODREV_1,       /* ml_rev */
 221         &modldrv,   /* ml_linkage */
 222         NULL            /* NULL terminates the list */
 223 };
 224 
 225 /*
 226  * Debug printing
 227  */
 228 #ifndef DPRINTF
 229 #ifdef DEBUG
 230 void    conskbd_dprintf(const char *fmt, ...);
 231 #define DPRINTF(l, m, args) \
 232         (((l) >= conskbd_errlevel) && ((m) & conskbd_errmask) ?  \
 233                 conskbd_dprintf args :                          \
 234                 (void) 0)
 235 
 236 /*
 237  * Severity levels for printing
 238  */
 239 #define PRINT_L0        0       /* print every message */
 240 #define PRINT_L1        1       /* debug */
 241 #define PRINT_L2        2       /* quiet */
 242 




 201         &(cb_conskbd_ops),  /* devo_cb_ops */
 202         (struct bus_ops *)NULL, /* devo_bus_ops */
 203         NULL,                   /* devo_power */
 204         ddi_quiesce_not_needed,         /* quiesce */
 205 };
 206 
 207 /*
 208  * Module linkage information for the kernel.
 209  */
 210 static struct modldrv modldrv = {
 211         &mod_driverops, /* Type of module.  This one is a pseudo driver */
 212         "conskbd multiplexer driver",
 213         &conskbd_ops,       /* driver ops */
 214 };
 215 
 216 /*
 217  * Module linkage structure
 218  */
 219 static struct modlinkage modlinkage = {
 220         MODREV_1,               /* ml_rev */
 221         { &modldrv, NULL }  /* ml_linkage */

 222 };
 223 
 224 /*
 225  * Debug printing
 226  */
 227 #ifndef DPRINTF
 228 #ifdef DEBUG
 229 void    conskbd_dprintf(const char *fmt, ...);
 230 #define DPRINTF(l, m, args) \
 231         (((l) >= conskbd_errlevel) && ((m) & conskbd_errmask) ?  \
 232                 conskbd_dprintf args :                          \
 233                 (void) 0)
 234 
 235 /*
 236  * Severity levels for printing
 237  */
 238 #define PRINT_L0        0       /* print every message */
 239 #define PRINT_L1        1       /* debug */
 240 #define PRINT_L2        2       /* quiet */
 241