patch-2.1.111 linux/drivers/video/sbusfb.h

Next file: linux/drivers/video/skeletonfb.c
Previous file: linux/drivers/video/sbusfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.110/linux/drivers/video/sbusfb.h linux/drivers/video/sbusfb.h
@@ -41,6 +41,9 @@
 	unsigned long size;
 };
 
+#define SBUS_MMAP_FBSIZE(n) (-n)
+#define SBUS_MMAP_EMPTY	0x80000000
+
 struct fb_info_sbusfb {
 	struct fb_info info;
 	struct fb_fix_screeninfo fix;
@@ -63,7 +66,6 @@
 	int x_margin;
 	int y_margin;
 	int vtconsole;
-	int lastconsole;
 	int consolecnt;
 	int emulations[4];
 	struct sbus_mmap_map *mmap_map;
@@ -81,6 +83,7 @@
 	void (*reset)(struct fb_info_sbusfb *);
 	void (*fill)(struct fb_info_sbusfb *, int, int, unsigned short *);
 	void (*switch_from_graph)(struct fb_info_sbusfb *);
+	void (*restore_palette)(struct fb_info_sbusfb *);
 };
 
 extern char *creatorfb_init(struct fb_info_sbusfb *);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov