aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/agp
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-06-23 11:09:45 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-06-23 11:09:45 +0000
commitb02d3a97f812c79b8ebc66f17656b40f40108f0a (patch)
tree1593e09b522036f1c3d423dbc615dbf10cd566bf /sys/dev/agp
parent4f35cfba213cccbdd2356058ad55e542d2825b1e (diff)
downloadsrc-b02d3a97f812c79b8ebc66f17656b40f40108f0a.tar.gz
src-b02d3a97f812c79b8ebc66f17656b40f40108f0a.zip
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>
Notes
Notes: svn path=/head/; revision=116722
Diffstat (limited to 'sys/dev/agp')
-rw-r--r--sys/dev/agp/agp_intel.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/agp/agp_intel.c b/sys/dev/agp/agp_intel.c
index bb7eaaba5d3f..ad3e10593448 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)));