patch-2.1.107 linux/include/linux/console.h

Next file: linux/include/linux/console_compat.h
Previous file: linux/include/linux/coda.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.106/linux/include/linux/console.h linux/include/linux/console.h
@@ -27,24 +27,29 @@
 /* DPC: 1994-04-13 !!! con_putcs is new entry !!! */
 
 struct consw {
-	unsigned long (*con_startup)(unsigned long, const char **);
-	void   (*con_init)(struct vc_data *);
-	int    (*con_deinit)(struct vc_data *);
-	int    (*con_clear)(struct vc_data *, int, int, int, int);
-	int    (*con_putc)(struct vc_data *, int, int, int);
-	int    (*con_putcs)(struct vc_data *, const char *, int, int, int);
-	int    (*con_cursor)(struct vc_data *, int);
-	int    (*con_scroll)(struct vc_data *, int, int, int, int);
-	int    (*con_bmove)(struct vc_data *, int, int, int, int, int, int);
-	int    (*con_switch)(struct vc_data *);
-	int    (*con_blank)(int);
-	int    (*con_get_font)(struct vc_data *, int *, int *, char *);
-	int    (*con_set_font)(struct vc_data *, int, int, char *);
-	int    (*con_set_palette)(struct vc_data *, unsigned char *);
+	unsigned long	(*con_startup)(unsigned long, const char **);
+	void	(*con_init)(struct vc_data *);
+	void	(*con_deinit)(struct vc_data *);
+	void	(*con_clear)(struct vc_data *, int, int, int, int);
+	void	(*con_putc)(struct vc_data *, int, int, int);
+	void	(*con_putcs)(struct vc_data *, const char *, int, int, int);
+	void	(*con_cursor)(struct vc_data *, int);
+	void	(*con_scroll)(struct vc_data *, int, int, int, int);
+	void	(*con_bmove)(struct vc_data *, int, int, int, int, int, int);
+	int	(*con_switch)(struct vc_data *);
+	int	(*con_blank)(int);
+	int	(*con_get_font)(struct vc_data *, int *, int *, char *);
+	int	(*con_set_font)(struct vc_data *, int, int, char *);
+	int	(*con_set_palette)(struct vc_data *, unsigned char *);
+	int	(*con_scrolldelta)(struct vc_data *, int);
 };
 
 extern struct consw *conswitchp;
 
+extern struct consw fb_con;	/* frame buffer based console */
+extern struct consw vga_con;	/* VGA text console */
+extern struct consw compat_con;	/* console wrapper */
+
 /* flag bits */
 #define CON_INITED  (1)
 
@@ -101,5 +106,11 @@
 extern void register_console(struct console *);
 extern int unregister_console(struct console *);
 extern struct console *console_drivers;
+
+/* VEA Blanking Levels */
+#define VESA_NO_BLANKING        0
+#define VESA_VSYNC_SUSPEND      1
+#define VESA_HSYNC_SUSPEND      2
+#define VESA_POWERDOWN          3
 
 #endif /* linux/console.h */

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