patch-2.1.107 linux/drivers/video/vfb.c
Next file: linux/drivers/video/vgacon.c
Previous file: linux/drivers/video/vesafb.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Wed Jun 24 14:44:02 1998
- Orig file:
v2.1.106/linux/drivers/video/vfb.c
- Orig date:
Thu Mar 26 15:57:04 1998
diff -u --recursive --new-file v2.1.106/linux/drivers/video/vfb.c linux/drivers/video/vfb.c
@@ -56,7 +56,7 @@
/* 640x480, 8 bpp */
640, 480, 640, 480, 0, 0, 8, 0,
{0, 8, 0}, {0, 8, 0}, {0, 8, 0}, {0, 0, 0},
- 0, 0, -1, -1, FB_ACCEL_NONE, 20000, 64, 64, 32, 32, 64, 2,
+ 0, 0, -1, -1, 0, 20000, 64, 64, 32, 32, 64, 2,
0, FB_VMODE_NONINTERLACED
};
@@ -114,7 +114,7 @@
static struct fb_ops vfb_ops = {
vfb_open, vfb_release, vfb_get_fix, vfb_get_var, vfb_set_var, vfb_get_cmap,
- vfb_set_cmap, vfb_pan_display, NULL, vfb_ioctl
+ vfb_set_cmap, vfb_pan_display, vfb_ioctl
};
@@ -250,7 +250,7 @@
struct fb_fix_screeninfo fix;
vfb_encode_fix(&fix, var);
- display->screen_base = (u_char *)fix.smem_start;
+ display->screen_base = (char *)videomemory;
display->visual = fix.visual;
display->type = fix.type;
display->type_aux = fix.type_aux;
@@ -501,7 +501,7 @@
{
memset(fix, 0, sizeof(struct fb_fix_screeninfo));
strcpy(fix->id, vfb_name);
- fix->smem_start = (caddr_t)videomemory;
+ fix->smem_start = (char *)videomemory;
fix->smem_len = videomemorysize;
fix->type = FB_TYPE_PACKED_PIXELS;
fix->type_aux = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov