From owner-cvs-all@FreeBSD.ORG Tue Sep 20 20:01:36 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB82516A41F; Tue, 20 Sep 2005 20:01:36 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7276D43D46; Tue, 20 Sep 2005 20:01:36 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.33] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j8KK1do5013923 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 20 Sep 2005 13:01:40 -0700 Message-ID: <43306A99.6000908@root.org> Date: Tue, 20 Sep 2005 13:01:29 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <200509170336.j8H3alVZ083992@repoman.freebsd.org> <1126984598.45786.29.camel@leguin> <432C801E.2090904@root.org> <200509201508.17596.jhb@FreeBSD.org> In-Reply-To: <200509201508.17596.jhb@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, Mike Silbersack , eta@lclark.edu, cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files.i386 src/sys/pci agp_ati.c agpreg.h src/sys/modules/agp Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 20:01:37 -0000 John Baldwin wrote: > On Saturday 17 September 2005 04:44 pm, Nate Lawson wrote: >>Eric Anholt wrote: >>>We clarified in private mail that the agp device isn't attaching. I >>>think acpi_video is beating it out, confirming that we really need to be >>>able to somehow share devices well for video. That's 3 drivers now >>>(agp, drm, and acpi_video) that would all like to play. >> >>Ah. Yes, I think we'll have to do something like what I did for cpu >>devices. Basically, cpu0, cpu1, etc. implement a pseudo bus and >>multiple drivers attach below it. Do a devinfo to see this. There is >>no real way in newbus to have multiple drivers attached to a device if >>it doesn't implement a bus interface. >> >>This will require some design thinking. > > > Yes, a vgapci(4) driver or some such. I've started tinkering in an (old) p4 > branch (jhb_agp) with moving the various agp drivers to be children of > hostb(4) so that one would be able to kldload agp as a first step. Exactly. Thanks for picking up this work. I'll track your p4 branch and maybe contribute a little, especially to the design. -- Nate