NO AGPGART - i945 ICH7 - 7.0 Current

John Baldwin jhb at freebsd.org
Tue Jun 13 14:25:34 UTC 2006


On Monday 05 June 2006 02:04, Craig Rodrigues wrote:
> On Mon, Jun 05, 2006 at 11:04:39AM +0800, netsick at iinet.net.au wrote:
> > 
> > device agp in my kernel
> > 
> > no /dev/agpgart
> > 
> > Can we get this supported please ?
> 
> Can you try this patch?
> 
> 
> Index: pci_cfgreg.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/i386/pci/pci_cfgreg.c,v
> retrieving revision 1.123
> diff -u -u -r1.123 pci_cfgreg.c
> --- pci_cfgreg.c	8 Dec 2005 18:55:15 -0000	1.123
> +++ pci_cfgreg.c	5 Jun 2006 06:02:33 -0000
> @@ -167,8 +167,8 @@
>  			/* Intel 7520 or 7320 */
>  			pciebar = pci_cfgregread(0, 0, 0, 0xce, 2) << 16;
>  			pciereg_cfgopen();
> -		} else if (did == 0x2580 || did == 0x2584) {
> -			/* Intel 915 or 925 */
> +		} else if (did == 0x2580 || did == 0x2584 || did == 0x2770) {
> +			/* Intel 915, 925, or 945 */
>  			pciebar = pci_cfgregread(0, 0, 0, 0x48, 4);
>  			pciereg_cfgopen();
>  		}

That's for PCI-e config register support, not for the 945 AGP stuff
in agp_i810.c.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-current mailing list