From owner-freebsd-current@FreeBSD.ORG Tue Jun 13 14:25:34 2006 Return-Path: X-Original-To: freebsd-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 C54B016A50D; Tue, 13 Jun 2006 14:25:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D7DF43D64; Tue, 13 Jun 2006 14:25:17 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k5DEP29g023298; Tue, 13 Jun 2006 10:25:05 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Tue, 13 Jun 2006 10:00:13 -0400 User-Agent: KMail/1.9.1 References: <1149476679.44839f4740950@mail.iinet.net.au> <20060605060436.GA31638@crodrigues.org> In-Reply-To: <20060605060436.GA31638@crodrigues.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606131000.14566.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Tue, 13 Jun 2006 10:25:06 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1537/Tue Jun 13 07:24:06 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Craig Rodrigues , freebsd-hardware@freebsd.org, netsick@iinet.net.au Subject: Re: NO AGPGART - i945 ICH7 - 7.0 Current 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: Tue, 13 Jun 2006 14:25:34 -0000 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 =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org