lkml.org 
[lkml]   [2008]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: aperture_64: use symbolic constants
From
Date
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


\
 
 \ /
  Last update: 2008-05-20 13:23    [W:0.068 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site