Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 14 Aug 2002 15:26:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 14 Aug 2002 15:26:23 -0400 Received: from p0465.as-l042.contactel.cz ([194.108.238.211]:9600 "EHLO ppc.vc.cvut.cz") by vger.kernel.org with ESMTP id ; Wed, 14 Aug 2002 15:26:10 -0400 Date: Wed, 14 Aug 2002 21:30:36 +0200 From: Petr Vandrovec To: linux-kernel@vger.kernel.org, linux-fbdev-devel@lists.sourceforge.net Subject: [PATCH] VGA support in 2.5.31-bk... Message-ID: <20020814193036.GE37217@ppc.vc.cvut.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 40481 Lines: 1376 Hello, I have strange VGA driver which supports also 360x480 in 256 colors by using 4 planes, and which supports native text mode. I updated it to the new fbdev API. If you are really using vga16fb, please tell me whether you are interested in this code or not. If you are interested, please verify whether it works correctly on your hardware (especially non-ia32), and persuade me to send it to Linus. Otherwise I'll drop it and will forget about crappy VGA hardware. For working driver you also need patch to generic drivers/video/* files I sent few minutes ago. Best regards, Petr Vandrovec vandrove@vc.cvut.cz diff -urdN linux/drivers/video/Makefile linux/drivers/video/Makefile --- linux/drivers/video/Makefile 2002-08-14 17:55:07.000000000 +0200 +++ linux/drivers/video/Makefile 2002-08-14 17:59:19.000000000 +0200 @@ -8,7 +8,7 @@ export-objs := fbmem.o fbcmap.o fbcon.o fbmon.o modedb.o \ fbcon-afb.o fbcon-ilbm.o fbcon-accel.o \ fbcon-vga.o fbcon-iplan2p2.o fbcon-iplan2p4.o \ - fbcon-iplan2p8.o fbcon-vga-planes.o fbcon-cfb16.o \ + fbcon-iplan2p8.o fbcon-vga-planes.o fbcon-vga8-planes.o fbcon-cfb16.o \ fbcon-cfb2.o fbcon-cfb24.o fbcon-cfb32.o fbcon-cfb4.o \ fbcon-cfb8.o fbcon-mfb.o fbcon-hga.o \ cyber2000fb.o sa1100fb.o fbgen.o @@ -68,7 +68,7 @@ obj-$(CONFIG_FB_S3TRIO) += S3triofb.o obj-$(CONFIG_FB_TGA) += tgafb.o obj-$(CONFIG_FB_VESA) += vesafb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o -obj-$(CONFIG_FB_VGA16) += vga16fb.o fbcon-vga-planes.o +obj-$(CONFIG_FB_VGA16) += vga16fb.o fbcon-vga-planes.o fbcon-vga8-planes.o obj-$(CONFIG_FB_VIRGE) += virgefb.o obj-$(CONFIG_FB_G364) += g364fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o obj-$(CONFIG_FB_FM2) += fm2fb.o cfbfillrect.o cfbcopyarea.o cfbimgblt.o diff -urdN linux/drivers/video/fbcon-vga8-planes.c linux/drivers/video/fbcon-vga8-planes.c --- linux/drivers/video/fbcon-vga8-planes.c 1970-01-01 01:00:00.000000000 +0100 +++ linux/drivers/video/fbcon-vga8-planes.c 2002-08-14 17:59:19.000000000 +0200 @@ -0,0 +1,382 @@ +/* + * linux/drivers/video/fbcon-vga8-planes.c -- Low level frame buffer operations + * for VGA 256 color, 4-plane modes + * + * Created Feb 2, 1999, by Petr Vandrovec + * and Ben Pfaff + * Based on code by Michael Schmitz + * Based on the old macfb.c 4bpp code by Alan Cox + * + * 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. + */ + +#include +#include +#include +#include +#include +#include + +#include + +#include