From owner-freebsd-current Wed Jan 3 10:29:39 2001 From owner-freebsd-current@FreeBSD.ORG Wed Jan 3 10:29:37 2001 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from smtp.alcove.fr (smtp.alcove.fr [212.155.209.139]) by hub.freebsd.org (Postfix) with ESMTP id 0607E37B400; Wed, 3 Jan 2001 10:29:36 -0800 (PST) Received: from wiliam.alcove-int ([10.16.110.19]) by smtp.alcove.fr with esmtp (Exim 3.12 #1 (Debian)) id 14Dseb-0003KG-00; Wed, 03 Jan 2001 19:28:53 +0100 Received: from nsouch by wiliam.alcove-int with local (Exim 3.12 #1 (Debian)) id 14Dseb-00064W-00; Wed, 03 Jan 2001 19:28:53 +0100 Date: Wed, 3 Jan 2001 19:28:53 +0100 From: Nicolas Souchu To: Andrew Kenneth Milton Cc: freebsd-current@freebsd.org, msmith@freebsd.org Subject: Re: turning off vga_pci Message-ID: <20010103192853.C22841@wiliam.alcove-int> References: <20001230031324.A93726@zeus.theinternet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.4i In-Reply-To: <20001230031324.A93726@zeus.theinternet.com.au>; from akm@mail.theinternet.com.au on Sat, Dec 30, 2000 at 03:13:24AM +1000 Organization: =?iso-8859-1?Q?Alc=F4ve=2C_http:=2F=2Fwww=2Ealcove=2Efr?= Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Dec 30, 2000 at 03:13:24AM +1000, Andrew Kenneth Milton wrote: > Is there a nice way to stop vga_pci from attaching to my video card, or > to allow another driver to attach to it after vga_pci has done its thing? > > At the moment I'm removing all traces of vga_pci from the Makefile in > my kernel 'compile' directory (which works)... Just remove the vga_pci entry in sys/conf/files. It would be nice to make this optional if we want to load a module for a given graphic card later on. I have for example a VESA-extended driver (http://www.freebsd.org/~nsouch/download/s3pci.c) for S3 graphic cards that _have_ linear framebuffer but only VESA 1.2 bios. It currently works on top of VESA by replacing the video switch by another. Exactly as VESA does on top of VGA. What about including it into the tree as a module... s3_pci.c would be in sys/dev/pci, nothing in sys/conf/files: just a module in sys/modules/s3. Nicholas -- Nicolas.Souchu@alcove.fr Alcôve - Open Source Software Engineer - http://www.alcove.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message