From: Ralf Baechle Revive HX frame buffer support for 2.6. Signed-off-by: Andrew Morton --- drivers/video/pmagb-b-fb.c | 417 +++++++++++++++++++++++++++++++++------------ include/video/pmagb-b-fb.h | 74 +++++-- 2 files changed, 358 insertions(+), 133 deletions(-) diff -puN drivers/video/pmagb-b-fb.c~dec-pmagb-b-framebuffer-update drivers/video/pmagb-b-fb.c --- devel/drivers/video/pmagb-b-fb.c~dec-pmagb-b-framebuffer-update 2005-08-03 22:01:56.000000000 -0700 +++ devel-akpm/drivers/video/pmagb-b-fb.c 2005-08-03 22:01:56.000000000 -0700 @@ -1,114 +1,128 @@ /* - * linux/drivers/video/pmagb-b-fb.c + * linux/drivers/video/pmagb-b-fb.c * - * PMAGB-B TurboChannel framebuffer card support ... derived from: + * PMAGB-B TURBOchannel Smart Frame Buffer (SFB) card support, + * derived from: * "HP300 Topcat framebuffer support (derived from macfb of all things) * Phil Blundell 1998", the original code can be - * found in the file hpfb.c in the same directory. + * found in the file hpfb.c in the same directory. * - * DECstation related code Copyright (C) 1999, 2000, 2001 by - * Michael Engel , - * Karsten Merker and + * DECstation related code Copyright (C) 1999, 2000, 2001 by + * Michael Engel , + * Karsten Merker and * Harald Koerfgen. - * 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. + * Copyright (c) 2005 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. */ -/* - * We currently only support the PMAGB-B in high resolution mode - * as I know of no way to detect low resolution mode set via jumper. - * KM, 2001/01/07 - */ - -#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