Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 481 → Rev 482

/shark/trunk/drivers/fb/vesafb.c
281,6 → 281,8
if (info->fix.smem_len > 16 * 1024 * 1024)
info->fix.smem_len = 16 * 1024 * 1024;
 
fb_info.screen_base = ioremap(vesafb_fix.smem_start, vesafb_fix.smem_len);
 
/* some dummy values for timing to make fbset happy */
info->var.pixclock = 10000000 / info->var.xres * 1000 / info->var.yres;
info->var.left_margin = (info->var.xres / 8) & 0xf8;
/shark/trunk/drivers/fb/fbmem.c
975,6 → 975,7
struct fb_con2fbmap con2fb;
#endif
struct fb_cmap cmap;
struct fb_fillrect rect;
int i;
if (!fb)
990,6 → 991,23
if (i) return i;
if (copy_to_user((void *) arg, &var, sizeof(var)))
return -EFAULT;
 
rect.dx = 0;
rect.dy = 0;
rect.width = info->var.xres;
rect.height = info->var.yres;
rect.color = 0;
rect.rop = ROP_COPY;
cfb_fillrect(info,&rect);
if (info->var.bits_per_pixel >= 8) {
fb_prepare_logo(info);
fb_show_logo(info);
}
 
return 0;
case FBIOGET_FSCREENINFO:
return copy_to_user((void *) arg, &info->fix,