Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 126571
Collapse All | Expand All

(-)linux-2.6.18-gentoo-r3/arch/x86_64/kernel/aperture.c (+9 lines)
Lines 208-213 Link Here
208
		if (!early_is_k8_nb(read_pci_config(0, num, 3, 0x00)))
208
		if (!early_is_k8_nb(read_pci_config(0, num, 3, 0x00)))
209
			continue;
209
			continue;
210
210
211
212
		/* workaround buggy ASROCK BIOS, see bug #6350 */
213
		aper_size = read_pci_config(0, num, 3, 0x94);
214
		if (aper_size >= 0x80) {
215
			aper_size &= 0x7F; //cut every byte beyond the 4G border
216
			write_pci_config(0, num, 3, 0x94, aper_size);
217
		}
218
219
211
		iommu_detected = 1;
220
		iommu_detected = 1;
212
		iommu_aperture = 1; 
221
		iommu_aperture = 1; 
213
222

Return to bug 126571