/shark/trunk/drivers/fb/fbmem.c |
---|
1153,6 → 1153,7 |
{ |
int fbidx = iminor(inode); |
struct fb_info *info; |
struct fb_fillrect rect; |
int res = 0; |
if (fbidx >= FB_MAX) |
1174,6 → 1175,15 |
info->fbops->fb_set_par(info); |
fb_pan_display(info, &info->var); |
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); |