summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/agp/agp_intel.c2
-rw-r--r--sys/pci/agp_intel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/agp/agp_intel.c b/sys/dev/agp/agp_intel.c
index 84fd071..047ed57 100644
--- a/sys/dev/agp/agp_intel.c
+++ b/sys/dev/agp/agp_intel.c
@@ -373,7 +373,7 @@ agp_intel_flush_tlb(device_t dev)
u_int32_t val;
val = pci_read_config(dev, AGP_INTEL_AGPCTRL, 4);
- pci_write_config(dev, AGP_INTEL_AGPCTRL, val & ~(1 << 8), 4);
+ pci_write_config(dev, AGP_INTEL_AGPCTRL, val & ~(1 << 7), 4);
pci_write_config(dev, AGP_INTEL_AGPCTRL, val, 4);
}
diff --git a/sys/pci/agp_intel.c b/sys/pci/agp_intel.c
index 84fd071..047ed57 100644
--- a/sys/pci/agp_intel.c
+++ b/sys/pci/agp_intel.c
@@ -373,7 +373,7 @@ agp_intel_flush_tlb(device_t dev)
u_int32_t val;
val = pci_read_config(dev, AGP_INTEL_AGPCTRL, 4);
- pci_write_config(dev, AGP_INTEL_AGPCTRL, val & ~(1 << 8), 4);
+ pci_write_config(dev, AGP_INTEL_AGPCTRL, val & ~(1 << 7), 4);
pci_write_config(dev, AGP_INTEL_AGPCTRL, val, 4);
}
OpenPOWER on IntegriCloud