Subject: port-i386/20464: Can't attach AGP for i845G
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nakagawa@bu.jp.nec.com>
List: netbsd-bugs
Date: 02/21/2003 21:22:42
>Number:         20464
>Category:       port-i386
>Synopsis:       Can't attach AGP for i845G
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 21 21:23:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     NAKAGAWA, Yoshihisa
>Release:        1.6O
>Organization:
NEC Corporation, JAPAN
>Environment:
NetBSD atx2 1.6O NetBSD 1.6O (ATX) #0: Sat Feb 22 01:26:16 JST 2003     y-nakaga@atx2:/proj/src/sys/arch/i386/compile/ATX i386

>Description:
lack of i845G ID for src/sys/arch/i386/pci/pchb.c , so can't attach AGP.

>How-To-Repeat:
boot i845G machine.
>Fix:
use this patch:

--- pchb.c.org	2003-02-22 00:19:58.000000000 +0900
+++ pchb.c	2003-02-22 00:19:52.000000000 +0900
@@ -273,6 +273,7 @@
 		case PCI_PRODUCT_INTEL_82810E_MCH:
 		case PCI_PRODUCT_INTEL_82815_FULL_HUB:
 		case PCI_PRODUCT_INTEL_82830MP_IO_1:
+		case PCI_PRODUCT_INTEL_82845G_DRAM:
 			/*
 			 * The host bridge is either in GFX mode (internal
 			 * graphics) or in AGP mode. In GFX mode, we pretend

patched dmesg:

NetBSD 1.6O (ATX) #0: Sat Feb 22 01:26:16 JST 2003

...

pchb0 at pci0 dev 0 function 0
pchb0: Intel 82845G/GL DRAM Controller / Host-Hub I/F Bridge (rev. 0x01)
agp0 at pchb0: detected 8060k stolen memory
agp0: aperture size is 128M
agp0: aperture at 0xd0000000, size 0x8000000
vga0 at pci0 dev 2 function 0: Intel 82845G/GL Integrated Graphics Device (rev. 0x01)

...

>Release-Note:
>Audit-Trail:
>Unformatted: