From owner-freebsd-current@FreeBSD.ORG Fri Dec 16 20:24:55 2005 Return-Path: X-Original-To: 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 1D03216A41F for ; Fri, 16 Dec 2005 20:24:55 +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 627C443D46 for ; Fri, 16 Dec 2005 20:24:54 +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 3961300 for multiple; Fri, 16 Dec 2005 15:22:51 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jBGKOfnp081948; Fri, 16 Dec 2005 15:24:45 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Ulrich Spoerlein Date: Fri, 16 Dec 2005 15:23:19 -0500 User-Agent: KMail/1.8.2 References: <200512141720.01572.jhb@freebsd.org> <20051216111854.GC1103@galgenberg.net> In-Reply-To: <20051216111854.GC1103@galgenberg.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512161523.20685.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1210/Thu Dec 15 10:23:22 2005 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: current@freebsd.org Subject: Re: hostb(4) and vgapci(4) patch 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: Fri, 16 Dec 2005 20:24:55 -0000 On Friday 16 December 2005 06:18 am, Ulrich Spoerlein wrote: > John Baldwin wrote: > > I have a patch that is an attempt to untangle a few things in relation to > > Host-PCI bridges and VGA PCI devices. Basically, the change is to create > > a more "real" hostb driver as well as a new vgapci driver and to change > > agp, drm, and acpi_video to attach to these drivers. This means among > > other things: > > > > - You can now use acpi_video with drm as both attach as children of > > vgapci0. > > > > http://www.FreeBSD.org/~jhb/patches/agp_cvs.patch > > Hi, > > I'm eager to try this patch on RELENG_6 with a Radeon Mobility card, > however the patch wont compile on RELENG_6. Could you please provide a > diff against RELENG_6? That would be great, thanks! > > /usr/src/sys/dev/pci/pci.c: In function `pci_find_extcap_method': > /usr/src/sys/dev/pci/pci.c:509: error: `PCIR_CAP_PTR_2' undeclared (first > use in this function) /usr/src/sys/dev/pci/pci.c:509: error: (Each > undeclared identifier is reported only once /usr/src/sys/dev/pci/pci.c:509: > error: for each function it appears in.) Hmm, for now I want to get it working against 7.0. I will probably not be able to MFC much of it at all (perhaps the one part to stop mapping the AGP aperture into KVA) since it would break existing agp and drm drivers for 6.x. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org