Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2005 16:31:28 -0500
From:      "Scott T. Hildreth" <shildreth@allantgroup.com>
To:        freebsd-stable@freebsd.org
Cc:        Dan Nelson <dnelson@allantgroup.com>
Subject:   i810 driver & Intel CopperRiver Graphics Controller
Message-ID:  <1115760688.55599.143.camel@scotth.emsphone.com>

next in thread | raw e-mail | index | archive | help

I have a Dell PowerEdge SC420, which has an on board
Intel(r)CopperRiver Graphics Controller.  I installed
FreeBSD 5.4 and Xorg 6.8.2.   I can only get X to display
by using the "vesa" driver.   I talked to my sysadmin and
he had me run 'pciconv -lv', which produced the following,

hostb0@pci0:0:0:        class=0x060000 card=0x01801028 chip=0x25888086 rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    class    = bridge
    subclass = HOST-PCI
pcib1@pci0:1:0: class=0x060400 card=0x00000088 chip=0x25898086 rev=0x04 hdr=0x01
    vendor   = 'Intel Corporation'
    class    = bridge
    subclass = PCI-PCI
none0@pci0:2:0: class=0x030000 card=0x01801028 chip=0x258a8086 rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    class    = display
    subclass = VGA

...so the agp driver is not detecting the agp bridge.  We tried
adding 0x25888086 (from the hostb0 line above) to the /usr/src/sys/pci/agp_intel.c
file,

+++ agp_intel.c Tue May 10 13:17:23 2005
@@ -117,6 +117,9 @@ agp_intel_match(device_t dev)
 
        case 0x25608086: /* i845G */
                return ("Intel 82845G host to AGP bridge");
+
+       case 0x25888086: 
+               return ("Intel E7221 host to AGP bridge");
        };
 
        return NULL;
@@ -216,6 +219,7 @@ agp_intel_attach(device_t dev)
        case 0x1a308086: /* i845 */
        case 0x33408086: /* i855 */
        case 0x255d8086: /* E7205 */
+       case 0x25888086: /* E7221 */
        case 0x25708086: /* i865 */
        case 0x25788086: /* i875P */
        case 0x25608086: /* i845G */
@@ -241,6 +245,7 @@ agp_intel_attach(device_t dev)
        case 0x25308086: /* i850 */
        case 0x33408086: /* i855 */
        case 0x255d8086: /* E7205 */
+       case 0x25888086: /* E7221 */
        case 0x25318086: /* i860 */
        case 0x25708086: /* i865 */
        case 0x25788086: /* i875P */
@@ -290,6 +295,7 @@ agp_intel_detach(device_t dev)
        case 0x25608086: /* i845G */
        case 0x33408086: /* i855 */
        case 0x255d8086: /* E7205 */
+       case 0x25888086: /* E7221 */
        case 0x25708086: /* i865 */
        case 0x25788086: /* i875P */
                printf("%s: set MCHCFG to %x\n", __func__, (unsigned)

I recompiled the kernel, installed it, rebooted and the agp_driver still 
does not find the bridge.  Does anybody have any ideas on how to make this
work?

                                  Thanks.

-- 
Scott T. Hildreth <shildreth@allantgroup.com>



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