Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 3 Dec 2002 10:06:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 3 Dec 2002 10:06:33 -0500 Received: from pc1-cwma1-5-cust42.swa.cable.ntl.com ([80.5.120.42]:48288 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 3 Dec 2002 10:06:32 -0500 Subject: Re: [Linux-fbdev-devel] [PATCH] FBDev: vga16fb port From: Alan Cox To: Antonino Daplas Cc: James Simmons , Linux Fbdev development list , Linux Kernel Mailing List In-Reply-To: <1038917280.1228.7.camel@localhost.localdomain> References: <1038917280.1228.7.camel@localhost.localdomain> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 03 Dec 2002 15:47:43 +0000 Message-Id: <1038930464.11426.1.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1182 Lines: 28 On Tue, 2002-12-03 at 12:22, Antonino Daplas wrote: > > Things I like to get done for the vga16fb driver. > > > > 1) Its own read and write functions to fake a linear framebuffer. > Should be doable with fb_write and fb_read, but with mmap, the app still > needs to know the VGA format. I question whether thats something that belongs anywhere near the kernel. Ben Pfaff wrote a fine library for vga16 hackery (BOGL) and it combines very nicely with the fb driver. > > 2) The ability to go back to vga text mode on close of /dev/fb. > > Yes fbdev/fbcon supports that now. > > I'll take a stab at writing VGA save/restore routines which hopefully is > generic enough to be used by various hardware. No promises though, VGA > programming gives me a headache :( You can pull the code out of the old svgalib library. Since its not doing any card specific stuff the generic vga->text restore ought to do the right thing. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/