From owner-freebsd-current@FreeBSD.ORG Thu Jan 5 21:59:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DE5716A422 for ; Thu, 5 Jan 2006 21:59:33 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 252AD43D90 for ; Thu, 5 Jan 2006 21:59:05 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 5376387 for multiple; Thu, 05 Jan 2006 17:00:23 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k05LwqTk018928; Thu, 5 Jan 2006 16:58:53 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Ted Faber Date: Thu, 5 Jan 2006 16:59:39 -0500 User-Agent: KMail/1.8.2 References: <20060103233406.GA1564@hut.isi.edu> <200601041700.14244.jhb@freebsd.org> <20060104224805.GA1191@hut.isi.edu> In-Reply-To: <20060104224805.GA1191@hut.isi.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601051659.40514.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1230/Thu Jan 5 06:49:56 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: freebsd-current@freebsd.org Subject: Re: lost /dev/agpgart , X11 confused. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2006 21:59:33 -0000 On Wednesday 04 January 2006 05:48 pm, Ted Faber wrote: > On Wed, Jan 04, 2006 at 05:00:13PM -0500, John Baldwin wrote: > > Ok, use the workaround other folks have posted for now. Hack vga_pci.c > > to always add the "agp" device in its attach routine instead of checking > > for PCIY_AGP. > > FYI, this worked just fine. > > I see that a few people are having problems with this. Is there any > interest in adding a tunable to force the agp device into existence? > I'd be happy to whip up a patch. The real fix is to change the various agp drivers to use identify routines to create the agp devices off of hostb and vgapci devices themselves and stop creating the devices in the hostb and vgapci attach routines. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org