Re: hostb(4) and vgapci(4) patch

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 16 Dec 2005 15:23:19 -0500
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 <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Fri Dec 16 2005 - 19:24:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC