patch-2.1.91 linux/drivers/video/fbcon.h
Next file: linux/drivers/video/fbgen.c
Previous file: linux/drivers/video/fbcon.c
Back to the patch index
Back to the overall index
- Lines: 48
- Date:
Sat Mar 21 11:12:49 1998
- Orig file:
v2.1.90/linux/drivers/video/fbcon.h
- Orig date:
Fri Oct 31 07:59:41 1997
diff -u --recursive --new-file v2.1.90/linux/drivers/video/fbcon.h linux/drivers/video/fbcon.h
@@ -8,6 +8,9 @@
* for more details.
*/
+#ifndef __VIDEO_FBCON_H
+#define __VIDEO_FBCON_H
+
#include <linux/console_struct.h>
@@ -16,8 +19,7 @@
*/
struct display_switch {
- int (*open)(struct display *p);
- void (*release)(void);
+ void (*setup)(struct display *p);
void (*bmove)(struct display *p, int sy, int sx, int dy, int dx,
int height, int width);
void (*clear)(struct vc_data *conp, struct display *p, int sy, int sx,
@@ -26,20 +28,11 @@
int xx);
void (*putcs)(struct vc_data *conp, struct display *p, const char *s,
int count, int yy, int xx);
- void (*rev_char)(struct display *p, int xx, int yy);
- struct display_switch *next;
+ void (*revc)(struct display *p, int xx, int yy);
};
/*
- * Driver registration
- */
-
-extern int fbcon_register_driver(struct display_switch *dispsw, int is_accel);
-int fbcon_unregister_driver(struct display_switch *dispsw);
-
-
- /*
* Attribute Decoding
*/
@@ -335,3 +328,5 @@
}
#endif /* !m68k */
+
+#endif /* __VIDEO_FBCON_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov