From: "Antonino A. Daplas" Add a framebuffer driver for the ATI w100 as found on several Sharp PDAs Signed-off-by: Richard Purdie Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton --- 25-akpm/drivers/video/Kconfig | 13 25-akpm/drivers/video/Makefile | 1 25-akpm/drivers/video/w100fb.c | 1864 +++++++++++++++++++++++++++++++++++++++++ 25-akpm/drivers/video/w100fb.h | 615 +++++++++++++ 25-akpm/include/video/w100fb.h | 21 5 files changed, 2514 insertions(+) diff -puN drivers/video/Kconfig~fbdev-add-w100-framebuffer-driver drivers/video/Kconfig --- 25/drivers/video/Kconfig~fbdev-add-w100-framebuffer-driver Thu Jan 13 15:40:57 2005 +++ 25-akpm/drivers/video/Kconfig Thu Jan 13 15:40:57 2005 @@ -1052,6 +1052,19 @@ config FB_PXA If unsure, say N. +config FB_W100 + tristate "W100 frame buffer support" + depends on FB && PXA_SHARPSL + ---help--- + Frame buffer driver for the w100 as found on the Sharp SL-Cxx series. + + This driver is also available as a module ( = code which can be + inserted and removed from the running kernel whenever you want). The + module will be called vfb. If you want to compile it as a module, + say M here and read . + + If unsure, say N. + config FB_PXA_PARAMETERS bool "PXA LCD command line parameters" default n diff -puN drivers/video/Makefile~fbdev-add-w100-framebuffer-driver drivers/video/Makefile --- 25/drivers/video/Makefile~fbdev-add-w100-framebuffer-driver Thu Jan 13 15:40:57 2005 +++ 25-akpm/drivers/video/Makefile Thu Jan 13 15:40:57 2005 @@ -95,6 +95,7 @@ obj-$(CONFIG_FB_GBE) += gbe obj-$(CONFIG_FB_CIRRUS) += cirrusfb.o cfbfillrect.o cfbimgblt.o cfbcopyarea.o obj-$(CONFIG_FB_ASILIANT) += asiliantfb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o obj-$(CONFIG_FB_PXA) += pxafb.o cfbimgblt.o cfbcopyarea.o cfbfillrect.o +obj-$(CONFIG_FB_W100) += w100fb.o cfbimgblt.o cfbcopyarea.o cfbfillrect.o # Platform or fallback drivers go here obj-$(CONFIG_FB_VESA) += vesafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o diff -puN /dev/null drivers/video/w100fb.c --- /dev/null Thu Apr 11 07:25:15 2002 +++ 25-akpm/drivers/video/w100fb.c Thu Jan 13 15:40:57 2005 @@ -0,0 +1,1864 @@ +/* + * linux/drivers/video/w100fb.c + * + * Frame Buffer Device for ATI Imageon w100 (Wallaby) + * + * Copyright (C) 2002, ATI Corp. + * Copyright (C) 2004-2005 Richard Purdie + * + * Rewritten for 2.6 by Richard Purdie + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include