From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Antonino A. Daplas" Subject: [PATCH 14/20] m68k: atafb: Atari fb revival Date: Sat, 05 May 2007 23:00:57 +0800 Message-ID: <463C9C29.1040803@gmail.com> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HkN5M-0005nC-I9 for linux-fbdev-devel@lists.sourceforge.net; Sat, 05 May 2007 09:26:16 -0700 Received: from py-out-1112.google.com ([64.233.166.180]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1HkMEF-0008EN-BW for linux-fbdev-devel@lists.sourceforge.net; Sat, 05 May 2007 08:31:24 -0700 Received: by py-out-1112.google.com with SMTP id a29so906538pyi for ; Sat, 05 May 2007 08:31:23 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: Andrew Morton Cc: Michael Schmitz , Linux Fbdev development list 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 Signed-off-by: Antonino Daplas --- drivers/video/Kconfig | 5 = drivers/video/Makefile | 3 = drivers/video/atafb.c | 2801 +++++++++++++++++++++---------------= ---- drivers/video/atafb.h | 36 + drivers/video/atafb_iplan2p2.c | 309 ++++ 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, 3003 insertions(+), 1316 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index c3dab68..0b7dc06 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -432,7 +432,10 @@ config FB_ARC = config FB_ATARI bool "Atari native chipset support" - depends on (FB =3D y) && ATARI && BROKEN + depends on (FB =3D 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. diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 5f3e844..2fa9423 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -71,7 +71,8 @@ obj-$(CONFIG_FB_TCX) +=3D tcx obj-$(CONFIG_FB_LEO) +=3D leo.o sbuslib.o obj-$(CONFIG_FB_SGIVW) +=3D sgivwfb.o obj-$(CONFIG_FB_ACORN) +=3D acornfb.o -obj-$(CONFIG_FB_ATARI) +=3D atafb.o +obj-$(CONFIG_FB_ATARI) +=3D atafb.o c2p.o atafb_mfb.o \ + atafb_iplan2p2.o atafb_iplan2p4.o ata= fb_iplan2p8.o obj-$(CONFIG_FB_MAC) +=3D macfb.o obj-$(CONFIG_FB_HECUBA) +=3D hecubafb.o obj-$(CONFIG_FB_HGA) +=3D hgafb.o diff --git a/drivers/video/atafb.c b/drivers/video/atafb.c index bffe2b9..0038a05 100644 --- a/drivers/video/atafb.c +++ b/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 Pub= lic * License. See the file COPYING in the main directory of this archive * for more details. @@ -70,14 +70,8 @@ #include #include #include = -#include