* [fix]some radeon build problem
@ 2001-03-02 3:56 Young-Ho. Cha
0 siblings, 0 replies; only message in thread
From: Young-Ho. Cha @ 2001-03-02 3:56 UTC (permalink / raw)
To: alan, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 104 bytes --]
I have found some problem in building kernel with radeonfb 16bpp support at 2.4.2-ac8.
here is patch.
[-- Attachment #2: linux-2.4.2-ac8-radeonfb.patch --]
[-- Type: text/plain, Size: 681 bytes --]
--- linux/drivers/video/radeonfb.c.orig Fri Mar 2 12:29:15 2001
+++ linux/drivers/video/radeonfb.c Fri Mar 2 12:29:28 2001
@@ -845,9 +845,11 @@
rinfo->depth = disp->var.bits_per_pixel;
switch (disp->var.bits_per_pixel) {
+#ifdef FBCON_HAS_CFB8
case 8:
disp->dispsw = &fbcon_cfb8;
break;
+#endif
#ifdef FBCON_HAS_CFB16
case 16:
disp->dispsw = &fbcon_cfb16;
@@ -1322,8 +1322,8 @@
i = (regno << 8) | regno;
rinfo->con_cmap.cfb32[regno] = (i << 16) | i;
break;
-#endif
}
+#endif
}
}
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-02 3:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-02 3:56 [fix]some radeon build problem Young-Ho. Cha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®