Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945920AbXEAUlM (ORCPT ); Tue, 1 May 2007 16:41:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1945918AbXEAUlL (ORCPT ); Tue, 1 May 2007 16:41:11 -0400 Received: from asia.telenet-ops.be ([195.130.137.74]:37202 "EHLO asia.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423672AbXEAUfU (ORCPT ); Tue, 1 May 2007 16:35:20 -0400 Message-Id: <20070501203330.469191361@mail.of.borg> References: <20070501203234.252205858@mail.of.borg> User-Agent: quilt/0.45-1 Date: Tue, 01 May 2007 22:32:39 +0200 From: Geert Uytterhoeven To: Linus Torvalds , Andrew Morton Cc: linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org, Antonino Daplas , Michael Schmitz , Roman Zippel Subject: [patch 05/33] m68k: Atari fb revival Content-Disposition: inline; filename=636-atafb.diff Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 162285 Lines: 5543 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