diff options
author | anholt <anholt@FreeBSD.org> | 2003-09-17 02:58:17 +0000 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2003-09-17 02:58:17 +0000 |
commit | 54afaf4eff8d1cae7934a926237e7c9a102eadaa (patch) | |
tree | 644c2e4d9babc9ce32c488e7a5a82fec047d3de0 /sys/pci/agp_intel.c | |
parent | 96dbeb7199a05e6fb1bc00cdfcd8727467423d09 (diff) | |
download | FreeBSD-src-54afaf4eff8d1cae7934a926237e7c9a102eadaa.zip FreeBSD-src-54afaf4eff8d1cae7934a926237e7c9a102eadaa.tar.gz |
Fix a typo in r1.8: The GTLB enable/flush bit is 1<<7, not 1<<8.
PR: kern/56297
Submitted by: Dan Angelescu <mrhsaacdoh@yahoo.com>
Diffstat (limited to 'sys/pci/agp_intel.c')
-rw-r--r-- | sys/pci/agp_intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |