From: Michael Schmitz Update the atari fb to 2.6 by Michael Schmitz, Reformatting and rewrite of bit plane functions by Roman Zippel, A few more fixes by Geert Uytterhoeven. Signed-off-by: Michael Schmitz Signed-off-by: Roman Zippel Signed-off-by: Geert Uytterhoeven --- drivers/video/Kconfig | 5 drivers/video/Makefile | 3 drivers/video/atafb.c | 2799 +++++++++++++++++++++-------------------- drivers/video/atafb.h | 36 drivers/video/atafb_iplan2p2.c | 293 ++++ drivers/video/atafb_iplan2p4.c | 308 ++++ drivers/video/atafb_iplan2p8.c | 345 +++++ drivers/video/atafb_mfb.c | 112 + drivers/video/atafb_utils.h | 400 +++++ 9 files changed, 2986 insertions(+), 1315 deletions(-) --- linux-m68k-2.6.21.orig/drivers/video/Kconfig +++ linux-m68k-2.6.21/drivers/video/Kconfig @@ -389,7 +389,10 @@ config FB_ARC config FB_ATARI bool "Atari native chipset support" - depends on (FB = y) && ATARI && BROKEN + depends on (FB = y) && ATARI + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT help This is the frame buffer device driver for the builtin graphics chipset found in Ataris. --- linux-m68k-2.6.21.orig/drivers/video/Makefile +++ linux-m68k-2.6.21/drivers/video/Makefile @@ -63,7 +63,8 @@ obj-$(CONFIG_FB_TCX) += tcx obj-$(CONFIG_FB_LEO) += leo.o sbuslib.o obj-$(CONFIG_FB_SGIVW) += sgivwfb.o obj-$(CONFIG_FB_ACORN) += acornfb.o -obj-$(CONFIG_FB_ATARI) += atafb.o +obj-$(CONFIG_FB_ATARI) += atafb.o c2p.o atafb_mfb.o \ + atafb_iplan2p2.o atafb_iplan2p4.o atafb_iplan2p8.o obj-$(CONFIG_FB_MAC) += macfb.o obj-$(CONFIG_FB_HGA) += hgafb.o obj-$(CONFIG_FB_IGA) += igafb.o --- linux-m68k-2.6.21.orig/drivers/video/atafb.c +++ linux-m68k-2.6.21/drivers/video/atafb.c @@ -2,7 +2,7 @@ * linux/drivers/video/atafb.c -- Atari builtin chipset frame buffer device * * Copyright (C) 1994 Martin Schaller & Roman Hodek - * + * * 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. @@ -70,14 +70,8 @@ #include #include -#include