patch-2.1.111 linux/drivers/video/fbcon-cfb2.c
Next file: linux/drivers/video/fbcon-cfb2.h
Previous file: linux/drivers/video/fbcon-cfb16.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Tue Jul 21 10:28:24 1998
- Orig file:
v2.1.110/linux/drivers/video/fbcon-cfb2.c
- Orig date:
Tue Jul 21 00:15:32 1998
diff -u --recursive --new-file v2.1.110/linux/drivers/video/fbcon-cfb2.c linux/drivers/video/fbcon-cfb2.c
@@ -32,10 +32,19 @@
*/
static u_char nibbletab_cfb2[]={
+#if defined(__BIG_ENDIAN)
0x00,0x03,0x0c,0x0f,
0x30,0x33,0x3c,0x3f,
0xc0,0xc3,0xcc,0xcf,
0xf0,0xf3,0xfc,0xff
+#elif defined(__LITTLE_ENDIAN)
+ 0x00,0xc0,0x30,0xf0,
+ 0x0c,0xcc,0x3c,0xfc,
+ 0x03,0xc3,0x33,0xf3,
+ 0x0f,0xcf,0x3f,0xff
+#else
+#error FIXME: No endianness??
+#endif
};
@@ -185,7 +194,7 @@
struct display_switch fbcon_cfb2 = {
fbcon_cfb2_setup, fbcon_cfb2_bmove, fbcon_cfb2_clear, fbcon_cfb2_putc,
- fbcon_cfb2_putcs, fbcon_cfb2_revc, NULL, NULL, FONTWIDTH(8)
+ fbcon_cfb2_putcs, fbcon_cfb2_revc, NULL, NULL, NULL, FONTWIDTH(8)
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov