1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

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>
This commit is contained in:
Eric Anholt 2003-09-17 02:58:17 +00:00
parent 06287620b4
commit f704d34677
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120144
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}