From: Maciej W. Rozycki Date: Tue, 8 May 2007 07:37:48 +0000 (-0700) Subject: tgafb: TURBOchannel support X-Git-Tag: v2.6.22-rc1~451 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=86c6f7d08b2868ba7cc1ef509c76ee9e9266af40;p=linux-2.6-omap-h63xx.git tgafb: TURBOchannel support This is support for the TC variations of the TGA boards (properly known as SFB+ or Smart Frame Buffer Plus boards). The 8-plane SFB+ board uses the Bt459 RAMDAC (unlike its PCI TGA counterpart, which uses the Bt485), so bits have been added to support this chip as well. Signed-off-by: Maciej W. Rozycki Cc: "Antonino A. Daplas" Cc: James Simmons Acked-by: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 0aeab4e725a..bc9a12be1e3 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -525,15 +525,25 @@ config FB_HP300 default y config FB_TGA - tristate "TGA framebuffer support" - depends on FB && ALPHA + tristate "TGA/SFB+ framebuffer support" + depends on FB && (ALPHA || TC) select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT select BITREVERSE - help - This is the frame buffer device driver for generic TGA graphic - cards. Say Y if you have one of those. + ---help--- + This is the frame buffer device driver for generic TGA and SFB+ + graphic cards. These include DEC ZLXp-E1, -E2 and -E3 PCI cards, + also known as PBXGA-A, -B and -C, and DEC ZLX-E1, -E2 and -E3 + TURBOchannel cards, also known as PMAGD-A, -B and -C. + + Due to hardware limitations ZLX-E2 and E3 cards are not supported + for DECstation 5000/200 systems. Additionally due to firmware + limitations these cards may cause troubles with booting DECstation + 5000/240 and /260 systems, but are fully supported under Linux if + you manage to get it going. ;-) + + Say Y if you have one of those. config FB_VESA bool "VESA VGA graphics support" diff --git a/drivers/video/tgafb.c b/drivers/video/tgafb.c index 7478d0e3e21..5345fe03cdf 100644 --- a/drivers/video/tgafb.c +++ b/drivers/video/tgafb.c @@ -5,27 +5,45 @@ * Copyright (C) 1997 Geert Uytterhoeven * Copyright (C) 1999,2000 Martin Lucina, Tom Zerucha * Copyright (C) 2002 Richard Henderson + * Copyright (C) 2006 Maciej W. Rozycki * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for * more details. */ -#include -#include -#include -#include -#include -#include +#include #include -#include +#include +#include #include +#include +#include +#include +#include +#include #include #include -#include +#include +#include +#include + #include + #include