[AGPGART] intel_agp: fix G965 GTT size detect
authorWang Zhenyu <zhenyu.z.wang@intel.com>
Tue, 10 Apr 2007 01:42:48 +0000 (09:42 +0800)
committerDave Jones <davej@redhat.com>
Tue, 10 Apr 2007 02:09:58 +0000 (22:09 -0400)
commit52ea0718ea506df0915eacedb439e65c5f214e0e
tree01e68ba08924faa8b458159c861b394a6f8053ad
parent4598af33d9143942f00cf7692b247027aba35316
[AGPGART] intel_agp: fix G965 GTT size detect

On G965, I810_PGETBL_CTL is a mmio offset, but we wrongly take it
as pci config space offset in detecting GTT size. This one line patch
fixs this.

Signed-off-by: Wang Zhenyu <zhenyu.z.wang@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/intel-agp.c