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,

[EMAIL PROTECTED]:0:0:        class=0x060000 card=0x01801028 chip=0x25888086 
rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    class    = bridge
    subclass = HOST-PCI
[EMAIL PROTECTED]:1:0: class=0x060400 card=0x00000088 chip=0x25898086 rev=0x04 
hdr=0x01
    vendor   = 'Intel Corporation'
    class    = bridge
    subclass = PCI-PCI
[EMAIL PROTECTED]: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 <[EMAIL PROTECTED]>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to