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

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 05, 2006 at 11:04:39AM +0800, netsick@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();
 		}


-- 
Craig Rodrigues        
rodrigc@crodrigues.org



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