From e9c2ca4e2675db3066384ee47cdba1e394252936 Mon Sep 17 00:00:00 2001 From: Peter Edwards Date: Sat, 3 Apr 2004 13:24:37 +0000 Subject: [PATCH] Before MFC'ing the previous commit, I noticed I'd left out a case. Add in missing case for i845G in the attach routine. I'll MFC this with the rest of the change after the 4.10 codefreeze lifts. Reviewed By: Doug Rabson --- sys/dev/agp/agp_intel.c | 1 + sys/pci/agp_intel.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/dev/agp/agp_intel.c b/sys/dev/agp/agp_intel.c index 684866192e2..4414a7bba69 100644 --- a/sys/dev/agp/agp_intel.c +++ b/sys/dev/agp/agp_intel.c @@ -215,6 +215,7 @@ agp_intel_attach(device_t dev) case 0x33408086: /* i855 */ case 0x25708086: /* i865 */ case 0x25788086: /* i875P */ + case 0x25608086: /* i845G */ pci_write_config(dev, AGP_INTEL_I845_MCHCFG, (pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1) | (1 << 1)), 1); diff --git a/sys/pci/agp_intel.c b/sys/pci/agp_intel.c index 684866192e2..4414a7bba69 100644 --- a/sys/pci/agp_intel.c +++ b/sys/pci/agp_intel.c @@ -215,6 +215,7 @@ agp_intel_attach(device_t dev) case 0x33408086: /* i855 */ case 0x25708086: /* i865 */ case 0x25788086: /* i875P */ + case 0x25608086: /* i845G */ pci_write_config(dev, AGP_INTEL_I845_MCHCFG, (pci_read_config(dev, AGP_INTEL_I845_MCHCFG, 1) | (1 << 1)), 1);