aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/cirrusfb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
index 53572c0f3474..d844c41e2010 100644
--- a/drivers/video/cirrusfb.c
+++ b/drivers/video/cirrusfb.c
@@ -499,12 +499,12 @@ static int cirrusfb_check_var(struct fb_var_screeninfo *var,
499 var->green.offset = -3; 499 var->green.offset = -3;
500 var->blue.offset = 8; 500 var->blue.offset = 8;
501 } else { 501 } else {
502 var->red.offset = 10; 502 var->red.offset = 11;
503 var->green.offset = 5; 503 var->green.offset = 5;
504 var->blue.offset = 0; 504 var->blue.offset = 0;
505 } 505 }
506 var->red.length = 5; 506 var->red.length = 5;
507 var->green.length = 5; 507 var->green.length = 6;
508 var->blue.length = 5; 508 var->blue.length = 5;
509 break; 509 break;
510 510
@@ -1180,7 +1180,7 @@ static int cirrusfb_set_par_foo(struct fb_info *info)
1180 /* pixel mask: pass-through all planes */ 1180 /* pixel mask: pass-through all planes */
1181 WGen(cinfo, VGA_PEL_MSK, 0xff); 1181 WGen(cinfo, VGA_PEL_MSK, 0xff);
1182#ifdef CONFIG_PCI 1182#ifdef CONFIG_PCI
1183 WHDR(cinfo, 0xc0); /* Copy Xbh */ 1183 WHDR(cinfo, 0xc1); /* Copy Xbh */
1184#elif defined(CONFIG_ZORRO) 1184#elif defined(CONFIG_ZORRO)
1185 /* FIXME: CONFIG_PCI and CONFIG_ZORRO may be defined both */ 1185 /* FIXME: CONFIG_PCI and CONFIG_ZORRO may be defined both */
1186 WHDR(cinfo, 0xa0); /* hidden dac reg: nothing special */ 1186 WHDR(cinfo, 0xa0); /* hidden dac reg: nothing special */