diff options
Diffstat (limited to 'drivers/char/agp/sis-agp.c')
-rw-r--r-- | drivers/char/agp/sis-agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c index eb1a1c738190..aaa1883f076c 100644 --- a/drivers/char/agp/sis-agp.c +++ b/drivers/char/agp/sis-agp.c | |||
@@ -27,8 +27,8 @@ static int sis_fetch_size(void) | |||
27 | values = A_SIZE_8(agp_bridge->driver->aperture_sizes); | 27 | values = A_SIZE_8(agp_bridge->driver->aperture_sizes); |
28 | for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { | 28 | for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { |
29 | if ((temp_size == values[i].size_value) || | 29 | if ((temp_size == values[i].size_value) || |
30 | ((temp_size & ~(0x03)) == | 30 | ((temp_size & ~(0x07)) == |
31 | (values[i].size_value & ~(0x03)))) { | 31 | (values[i].size_value & ~(0x07)))) { |
32 | agp_bridge->previous_size = | 32 | agp_bridge->previous_size = |
33 | agp_bridge->current_size = (void *) (values + i); | 33 | agp_bridge->current_size = (void *) (values + i); |
34 | 34 | ||