From redjade@atropos.snu.ac.kr  Tue Jun 10 00:22:34 2003
Return-Path: <redjade@atropos.snu.ac.kr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D18A137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Jun 2003 00:22:34 -0700 (PDT)
Received: from atropos.snu.ac.kr (atropos.snu.ac.kr [147.46.106.37])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ED7F143FE3
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Jun 2003 00:22:33 -0700 (PDT)
	(envelope-from redjade@atropos.snu.ac.kr)
Received: from atropos.snu.ac.kr (localhost [127.0.0.1])
	by atropos.snu.ac.kr (8.12.8p1/8.12.7) with ESMTP id h5A7LCKI013670
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Jun 2003 16:21:13 +0900 (KST)
Received: (from redjade@localhost)
	by atropos.snu.ac.kr (8.12.8p1/8.12.7/Submit) id h5A7LBjb013669
	for FreeBSD-gnats-submit@freebsd.org; Tue, 10 Jun 2003 16:21:11 +0900 (KST)
Message-Id: <20030610072111.GA13660@atropos.snu.ac.kr>
Date: Tue, 10 Jun 2003 16:21:11 +0900
From: Kyunghwan Kim <redjade@atropos.snu.ac.kr>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] intel 82855 chipset support for AGP

>Number:         53136
>Category:       i386
>Synopsis:       [patch] i855 chipset support for AGP
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 10 00:30:05 PDT 2003
>Closed-Date:    Mon Jun 23 04:10:19 PDT 2003
>Last-Modified:  Mon Jun 23 04:10:19 PDT 2003
>Originator:     Kyunghwan Kim
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
>Description:
	Without proper AGP offset setting,
	X can't probe LCD panel size and X crashes.

>How-To-Repeat:
>Fix:

Diff against agp_intel.c revision 1.15
--- agp_intel.c.orig	Tue Jun 10 07:22:17 2003
+++ agp_intel.c	Tue Jun 10 07:23:45 2003
@@ -99,6 +99,9 @@
 	case 0x25308086:
 		return ("Intel 82850 host to AGP bridge");
 
+	case 0x33408086:
+		return ("Intel 82855 host to AGP bridge");
+
 	case 0x25318086:
 		return ("Intel 82860 host to AGP bridge");
 
@@ -202,6 +205,7 @@
 		break;
 
 	case 0x1a308086: /* i845 */
+	case 0x33408086: /* i855 */
 	case 0x25708086: /* i865 */
 		pci_write_config(dev, AGP_INTEL_I845_MCHCFG,
 				 (pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1)
@@ -223,6 +227,7 @@
 	case 0x25018086: /* i820 */
 	case 0x1a308086: /* i845 */
 	case 0x25308086: /* i850 */
+	case 0x33408086: /* i855 */
 	case 0x25318086: /* i860 */
 	case 0x25708086: /* i865 */
 		pci_write_config(dev, AGP_INTEL_I8XX_ERRSTS, 0x00ff, 2);
@@ -267,6 +272,7 @@
 				& ~(1 << 1)), 1);
 
 	case 0x1a308086: /* i845 */
+	case 0x33408086: /* i855 */
 	case 0x25708086: /* i865 */
 		printf("%s: set MCHCFG to %x\n", __func__, (unsigned)
 				(pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mdodd 
State-Changed-When: Mon Jun 23 04:10:03 PDT 2003 
State-Changed-Why:  
Committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53136 
>Unformatted:
 
