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


 197 static void vgatext_save_colormap(struct vgatext_softc *softc);
 198 static void vgatext_restore_colormap(struct vgatext_softc *softc);
 199 static int vgatext_get_pci_reg_index(dev_info_t *const devi,
 200                 unsigned long himask, unsigned long hival, unsigned long addr,
 201                 off_t *offset);
 202 static int vgatext_get_isa_reg_index(dev_info_t *const devi,
 203                 unsigned long hival, unsigned long addr, off_t *offset);
 204 static void     *vgatext_softc_head;
 205 static char     vgatext_silent;
 206 static char     happyface_boot;
 207 
 208 /* Loadable Driver stuff */
 209 
 210 static struct modldrv modldrv = {
 211         &mod_driverops,             /* Type of module.  This one is a driver */
 212         "VGA text driver",      /* Name of the module. */
 213         &vgatext_ops,               /* driver ops */
 214 };
 215 
 216 static struct modlinkage modlinkage = {
 217         MODREV_1, (void *) &modldrv, NULL
 218 };
 219 
 220 typedef enum pc_colors {
 221         pc_black        = 0,
 222         pc_blue         = 1,
 223         pc_green        = 2,
 224         pc_cyan         = 3,
 225         pc_red          = 4,
 226         pc_magenta      = 5,
 227         pc_brown        = 6,
 228         pc_white        = 7,
 229         pc_grey         = 8,
 230         pc_brt_blue     = 9,
 231         pc_brt_green    = 10,
 232         pc_brt_cyan     = 11,
 233         pc_brt_red      = 12,
 234         pc_brt_magenta  = 13,
 235         pc_yellow       = 14,
 236         pc_brt_white    = 15
 237 } pc_colors_t;




 197 static void vgatext_save_colormap(struct vgatext_softc *softc);
 198 static void vgatext_restore_colormap(struct vgatext_softc *softc);
 199 static int vgatext_get_pci_reg_index(dev_info_t *const devi,
 200                 unsigned long himask, unsigned long hival, unsigned long addr,
 201                 off_t *offset);
 202 static int vgatext_get_isa_reg_index(dev_info_t *const devi,
 203                 unsigned long hival, unsigned long addr, off_t *offset);
 204 static void     *vgatext_softc_head;
 205 static char     vgatext_silent;
 206 static char     happyface_boot;
 207 
 208 /* Loadable Driver stuff */
 209 
 210 static struct modldrv modldrv = {
 211         &mod_driverops,             /* Type of module.  This one is a driver */
 212         "VGA text driver",      /* Name of the module. */
 213         &vgatext_ops,               /* driver ops */
 214 };
 215 
 216 static struct modlinkage modlinkage = {
 217         MODREV_1, { (void *) &modldrv, NULL }
 218 };
 219 
 220 typedef enum pc_colors {
 221         pc_black        = 0,
 222         pc_blue         = 1,
 223         pc_green        = 2,
 224         pc_cyan         = 3,
 225         pc_red          = 4,
 226         pc_magenta      = 5,
 227         pc_brown        = 6,
 228         pc_white        = 7,
 229         pc_grey         = 8,
 230         pc_brt_blue     = 9,
 231         pc_brt_green    = 10,
 232         pc_brt_cyan     = 11,
 233         pc_brt_red      = 12,
 234         pc_brt_magenta  = 13,
 235         pc_yellow       = 14,
 236         pc_brt_white    = 15
 237 } pc_colors_t;