summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-09-06 17:59:35 +0200
committerDave Jones <davej@redhat.com>2006-09-06 17:59:35 +0200
commitc14635eb4e591c61e419c065df1fdacf9ff90c00 (patch)
treee05cd50d0d3e5e6fa3fdaf06d08a41f31700cfe7
parent[AGPGART] Intel 965 Express support. (diff)
downloadlinux-c14635eb4e591c61e419c065df1fdacf9ff90c00.tar.xz
linux-c14635eb4e591c61e419c065df1fdacf9ff90c00.zip
[AGPGART] Fix number of aperture sizes in 830 gart structs.
Spotted by Eric Anholt. Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r--drivers/char/agp/intel-agp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index a425f27af9ea..42c7d8dec635 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -1392,7 +1392,7 @@ static struct agp_bridge_driver intel_830_driver = {
.owner = THIS_MODULE,
.aperture_sizes = intel_i830_sizes,
.size_type = FIXED_APER_SIZE,
- .num_aperture_sizes = 3,
+ .num_aperture_sizes = 4,
.needs_scratch_page = TRUE,
.configure = intel_i830_configure,
.fetch_size = intel_i830_fetch_size,
@@ -1554,7 +1554,7 @@ static struct agp_bridge_driver intel_915_driver = {
.owner = THIS_MODULE,
.aperture_sizes = intel_i830_sizes,
.size_type = FIXED_APER_SIZE,
- .num_aperture_sizes = 3,
+ .num_aperture_sizes = 4,
.needs_scratch_page = TRUE,
.configure = intel_i915_configure,
.fetch_size = intel_i915_fetch_size,