From: Antonino A. Daplas Date: Fri, 9 Sep 2005 20:04:37 +0000 (-0700) Subject: [PATCH] fbdev: Fix greater than 1 bit monochrome color handling X-Git-Tag: v2.6.14-rc1~322 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8c909454f046b59065c6997b651fe20cd90c0f4;p=pandora-kernel.git [PATCH] fbdev: Fix greater than 1 bit monochrome color handling Currently, fbcon assumes that the visual FB_VISUAL_MONO* is always 1 bit. According to Geert, there are old hardware where it's possible to have monochrome at 8-bit, but has only 2 colors, black - 0x00 and white - 0xff. Fix color handlers (fb_get_color_depth, and get_color) for this special case. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed