From: "Maciej W. Rozycki" 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 Cc: Ralf Baechle Signed-off-by: Andrew Morton --- drivers/video/Kconfig | 20 ++ drivers/video/tgafb.c | 290 ++++++++++++++++++++++++++++++++-------- include/video/tgafb.h | 47 ++++++ 3 files changed, 298 insertions(+), 59 deletions(-) diff -puN drivers/video/Kconfig~tgafb-turbochannel-support drivers/video/Kconfig --- a/drivers/video/Kconfig~tgafb-turbochannel-support +++ a/drivers/video/Kconfig @@ -522,15 +522,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 -puN drivers/video/tgafb.c~tgafb-turbochannel-support drivers/video/tgafb.c --- a/drivers/video/tgafb.c~tgafb-turbochannel-support +++ a/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