Messages in this thread Patch in this message | | | Date | Thu, 13 Jul 2000 00:00:25 +0200 | From | Pavel Machek <> | Subject | Make fbcon-mac usable on vesafb |
| |
Hi!
vesafb does not allow fbcon_mac for no good reason. Here is fix. With this, you can run 6x11 font on your pc - and 168x69 resolution is not bad.
Pavel
PS: vesafb should be usable everywhere fbcon-cfb* is usable -- it supports almost any bit depth. It would be nice to make it widely available.
--- clean/drivers/video/vesafb.c Mon Jun 26 19:31:24 2000 +++ linux/drivers/video/vesafb.c Wed Jul 12 23:46:54 2000 @@ -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; -- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |