summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-06-23 11:09:45 +0000
committermdodd <mdodd@FreeBSD.org>2003-06-23 11:09:45 +0000
commitf3df94de1366b81fd5101f82dda6c466abec5fa4 (patch)
tree1593e09b522036f1c3d423dbc615dbf10cd566bf /sys
parentd72cbcaa9c8cf6e0e4476a41e0254dd545f76847 (diff)
downloadFreeBSD-src-f3df94de1366b81fd5101f82dda6c466abec5fa4.zip
FreeBSD-src-f3df94de1366b81fd5101f82dda6c466abec5fa4.tar.gz
Add PCI IDs for the i82855 and i82875P AGP bridges.
PR: i386/53136, i386/51802 Submitted by: Kyunghwan Kim <redjade@atropos.snu.ac.kr>, Norikatsu Shigemura <nork@FreeBSD.org>
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/agp/agp_intel.c12
-rw-r--r--sys/pci/agp_intel.c12
2 files changed, 24 insertions, 0 deletions
diff --git a/sys/dev/agp/agp_intel.c b/sys/dev/agp/agp_intel.c
index bb7eaab..ad3e105 100644
--- a/sys/dev/agp/agp_intel.c
+++ b/sys/dev/agp/agp_intel.c
@@ -100,11 +100,17 @@ agp_intel_match(device_t dev)
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");
case 0x25708086:
return ("Intel 82865 host to AGP bridge");
+
+ case 0x25788086:
+ return ("Intel 82875P host to AGP bridge");
};
if (pci_get_vendor(dev) == 0x8086)
@@ -203,7 +209,9 @@ agp_intel_attach(device_t dev)
break;
case 0x1a308086: /* i845 */
+ case 0x33408086: /* i855 */
case 0x25708086: /* i865 */
+ case 0x25788086: /* i875P */
pci_write_config(dev, AGP_INTEL_I845_MCHCFG,
(pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1)
| (1 << 1)), 1);
@@ -224,8 +232,10 @@ agp_intel_attach(device_t dev)
case 0x25018086: /* i820 */
case 0x1a308086: /* i845 */
case 0x25308086: /* i850 */
+ case 0x33408086: /* i855 */
case 0x25318086: /* i860 */
case 0x25708086: /* i865 */
+ case 0x25788086: /* i875P */
pci_write_config(dev, AGP_INTEL_I8XX_ERRSTS, 0x00ff, 2);
break;
@@ -268,7 +278,9 @@ agp_intel_detach(device_t dev)
& ~(1 << 1)), 1);
case 0x1a308086: /* i845 */
+ case 0x33408086: /* i855 */
case 0x25708086: /* i865 */
+ case 0x25788086: /* i875P */
printf("%s: set MCHCFG to %x\n", __func__, (unsigned)
(pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1)
& ~(1 << 1)));
diff --git a/sys/pci/agp_intel.c b/sys/pci/agp_intel.c
index bb7eaab..ad3e105 100644
--- a/sys/pci/agp_intel.c
+++ b/sys/pci/agp_intel.c
@@ -100,11 +100,17 @@ agp_intel_match(device_t dev)
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");
case 0x25708086:
return ("Intel 82865 host to AGP bridge");
+
+ case 0x25788086:
+ return ("Intel 82875P host to AGP bridge");
};
if (pci_get_vendor(dev) == 0x8086)
@@ -203,7 +209,9 @@ agp_intel_attach(device_t dev)
break;
case 0x1a308086: /* i845 */
+ case 0x33408086: /* i855 */
case 0x25708086: /* i865 */
+ case 0x25788086: /* i875P */
pci_write_config(dev, AGP_INTEL_I845_MCHCFG,
(pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1)
| (1 << 1)), 1);
@@ -224,8 +232,10 @@ agp_intel_attach(device_t dev)
case 0x25018086: /* i820 */
case 0x1a308086: /* i845 */
case 0x25308086: /* i850 */
+ case 0x33408086: /* i855 */
case 0x25318086: /* i860 */
case 0x25708086: /* i865 */
+ case 0x25788086: /* i875P */
pci_write_config(dev, AGP_INTEL_I8XX_ERRSTS, 0x00ff, 2);
break;
@@ -268,7 +278,9 @@ agp_intel_detach(device_t dev)
& ~(1 << 1)), 1);
case 0x1a308086: /* i845 */
+ case 0x33408086: /* i855 */
case 0x25708086: /* i865 */
+ case 0x25788086: /* i875P */
printf("%s: set MCHCFG to %x\n", __func__, (unsigned)
(pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1)
& ~(1 << 1)));
OpenPOWER on IntegriCloud