From: David Eger This patch brings the cirrusfb driver up to date with 2.6. cirrusfb has suffered bit rot like you wouldn't believe (last updated... 2.3.x era?). The driver will now compile again, and you can change to a high resolution text mode with stty. Known defects: doesn't play nice with X, nor fbset. Signed-off-by: David Eger Signed-off-by: Andrew Morton --- 25-akpm/drivers/video/Kconfig | 2 25-akpm/drivers/video/Makefile | 2 25-akpm/drivers/video/cirrusfb.c | 2784 +++++++++++++++++---------------------- 25-akpm/drivers/video/fbmem.c | 8 4 files changed, 1234 insertions(+), 1562 deletions(-) diff -puN drivers/video/cirrusfb.c~cirrusfb-it-lives drivers/video/cirrusfb.c --- 25/drivers/video/cirrusfb.c~cirrusfb-it-lives Tue Jun 22 13:54:25 2004 +++ 25-akpm/drivers/video/cirrusfb.c Tue Jun 22 13:54:25 2004 @@ -1,10 +1,13 @@ /* - * drivers/video/clgenfb.c - driver for Cirrus Logic chipsets + * drivers/video/cirrusfb.c - driver for Cirrus Logic chipsets * * Copyright 1999-2001 Jeff Garzik * * Contributors (thanks, all!) * + * David Eger: + * Overhaul for Linux 2.6 + * * Jeff Rugen: * Major contributions; Motorola PowerStack (PPC and PCI) support, * GD54xx, 1280x1024 mode support, change MCLK based on VCLK. @@ -15,9 +18,9 @@ * Lars Hecking: * Amiga updates and testing. * - * Original clgenfb author: Frank Neumann + * Original cirrusfb author: Frank Neumann * - * Based on retz3fb.c and clgen.c: + * Based on retz3fb.c and cirrusfb.c: * Copyright (C) 1997 Jes Sorensen * Copyright (C) 1996 Frank Neumann * @@ -31,7 +34,7 @@ * */ -#define CLGEN_VERSION "1.9.9.1" +#define CIRRUSFB_VERSION "2.0-pre2" #include #include @@ -63,15 +66,8 @@ #define isPReP 0 #endif -#include