patch-2.4.0-test4 linux/drivers/video/vesafb.c
Next file: linux/drivers/video/vga_font.c
Previous file: linux/drivers/video/fonts.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Thu Jul 13 14:49:57 2000
- Orig file:
v2.4.0-test3/linux/drivers/video/vesafb.c
- Orig date:
Fri Jun 23 21:55:10 2000
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/video/vesafb.c linux/drivers/video/vesafb.c
@@ -30,6 +30,7 @@
#include <video/fbcon-cfb16.h>
#include <video/fbcon-cfb24.h>
#include <video/fbcon-cfb32.h>
+#include <video/fbcon-mac.h>
#define dac_reg (0x3c8)
#define dac_val (0x3c9)
@@ -220,8 +221,13 @@
break;
#endif
default:
+#ifdef FBCON_HAS_MAC
+ sw = &fbcon_mac;
+ break;
+#else
sw = &fbcon_dummy;
return;
+#endif
}
memcpy(&vesafb_sw, sw, sizeof(*sw));
display->dispsw = &vesafb_sw;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)