[fix]some radeon build problem

Young-Ho. Cha (ganadist@nakyup.mizi.com)
Fri, 2 Mar 2001 12:56:09 +0900


--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I have found some problem in building kernel with radeonfb 16bpp support at 2.4.2-ac8.

here is patch.

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="linux-2.4.2-ac8-radeonfb.patch"

--- 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

--HlL+5n6rz5pIUxbD--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/