Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2006 10:00:13 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Craig Rodrigues <rodrigc@crodrigues.org>, freebsd-hardware@freebsd.org, netsick@iinet.net.au
Subject:   Re: NO AGPGART - i945 ICH7 - 7.0 Current
Message-ID:  <200606131000.14566.jhb@freebsd.org>
In-Reply-To: <20060605060436.GA31638@crodrigues.org>
References:  <1149476679.44839f4740950@mail.iinet.net.au> <20060605060436.GA31638@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 05 June 2006 02:04, Craig Rodrigues wrote:
> On Mon, Jun 05, 2006 at 11:04:39AM +0800, netsick@iinet.net.au wrote:
> >=20
> > device agp in my kernel
> >=20
> > no /dev/agpgart
> >=20
> > Can we get this supported please ?
>=20
> Can you try this patch?
>=20
>=20
> Index: pci_cfgreg.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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 =3D pci_cfgregread(0, 0, 0, 0xce, 2) << 16;
>  			pciereg_cfgopen();
> -		} else if (did =3D=3D 0x2580 || did =3D=3D 0x2584) {
> -			/* Intel 915 or 925 */
> +		} else if (did =3D=3D 0x2580 || did =3D=3D 0x2584 || did =3D=3D 0x2770=
) {
> +			/* Intel 915, 925, or 945 */
>  			pciebar =3D 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.

=2D-=20
John Baldwin <jhb@FreeBSD.org> =A0<>< =A0http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606131000.14566.jhb>