Re: NO AGPGART - i945 ICH7 - 7.0 Current

From: Craig Rodrigues <rodrigc_at_crodrigues.org>
Date: Mon, 5 Jun 2006 02:04:36 -0400
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
_at__at_ -167,8 +167,8 _at__at_
 			/* 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_at_crodrigues.org
Received on Mon Jun 05 2006 - 04:04:40 UTC

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