Messages in this thread | | | Subject | Re: aperture_64: use symbolic constants | From | Andi Kleen <> | Date | Tue, 20 May 2008 13:20:02 +0200 |
| |
Pavel Machek <pavel@suse.cz> writes: > if ((last_aper_order && aper_order != last_aper_order) || > @@ -303,9 +303,9 @@ void __init early_gart_iommu_check(void) > if (!early_is_k8_nb(read_pci_config(0, num, 3, 0x00))) > continue; > > - ctl = read_pci_config(0, num, 3, 0x90); > + ctl = read_pci_config(0, num, 3, AMD64_GARTAPERTURECTL);
Strictly "AMD64_" is not the correct prefix, because these registers are generic standard AGP3 registers.
-Andi
| |