Date: Tue, 6 May 2003 01:57:44 +0900 (JST) From: Norikatsu Shigemura <nork@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/51802: agp driver for i875P chipset Message-ID: <200305051700.h45H0KW8072918@freefall.freebsd.org> Resent-Message-ID: <200305051700.h45H0KW8072918@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 51802 >Category: i386 >Synopsis: agp driver for i875P chipset >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 05 10:00:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Norikatsu Shigemura >Release: FreeBSD 5.0-CURRENT i386 >Organization: Ensure Technology Ltd. >Environment: System: FreeBSD nadesico.ninth-nine.com 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sat May 3 19:44:30 JST 2003 nork@nadesico.ninth-nine.com:/usr/obj/usr/src/sys/NADESICO i386 CPU: Intel PentiumIII 1.13GMHz x 2 MotherBoard: SUPERMICRO P3TDDE Chipset: VIA Apollo Pro266T GraphicsCard: ATI Radeon9000 (64MB) >Description: I made a patch for i875P AGP driver. >How-To-Repeat: N/A. I don't have a i875 mother board. >Fix: --- agp_intel.c.diff begins here --- Index: agp_intel.c =================================================================== RCS file: /home/ncvs/src/sys/pci/agp_intel.c,v retrieving revision 1.12 diff -u -r1.12 agp_intel.c --- agp_intel.c 15 Apr 2003 06:37:29 -0000 1.12 +++ agp_intel.c 5 May 2003 16:47:16 -0000 @@ -98,6 +98,9 @@ case 0x25318086: return ("Intel 82860 host to AGP bridge"); + + case 0x25788086: + return ("Intel 82875P host to AGP bridge"); }; if (pci_get_vendor(dev) == 0x8086) @@ -188,6 +191,7 @@ break; case 0x1a308086: /* i845 */ + case 0x25788086: /* i875P */ pci_write_config(dev, AGP_INTEL_I845_MCHCFG, (pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1) | (1 << 1)), 1); @@ -209,6 +213,7 @@ case 0x1a308086: /* i845 */ case 0x25308086: /* i850 */ case 0x25318086: /* i860 */ + case 0x25788086: /* i875P */ pci_write_config(dev, AGP_INTEL_I8XX_ERRSTS, 0x001c, 2); break; @@ -251,6 +256,7 @@ & ~(1 << 1)), 1); case 0x1a308086: /* i845 */ + case 0x25788086: /* i875P */ printf("%s: set MCHCFG to %x\n", __func__, (unsigned) (pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1) & ~(1 << 1))); --- agp_intel.c.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305051700.h45H0KW8072918>