diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 03:38:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:29 -0400 |
commit | 1f92fea9c63be2071e88fb600dcfb50af1a6d2ca (patch) | |
tree | a3b7d83f67142bfe222471c4613b785dbd0a8e38 /drivers/video/i810 | |
parent | 28cdf76bf0bce757428f84161e3aa510028d47b4 (diff) |
i810fb: fix incorrect frequency mask
Fix a long-standing bug. The mask used to detect a 100Mhz or 133Mhz chipset
is incorrect. (The only side effect of this bug is that it will choose an
incorrect watermark).
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/i810')
-rw-r--r-- | drivers/video/i810/i810.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/i810/i810.h b/drivers/video/i810/i810.h index aa65ffce915b..889e4ea5edc1 100644 --- a/drivers/video/i810/i810.h +++ b/drivers/video/i810/i810.h | |||
@@ -133,7 +133,7 @@ | |||
133 | /* Masks (AND ops) and OR's */ | 133 | /* Masks (AND ops) and OR's */ |
134 | #define FB_START_MASK (0x3f << (32 - 6)) | 134 | #define FB_START_MASK (0x3f << (32 - 6)) |
135 | #define MMIO_ADDR_MASK (0x1FFF << (32 - 13)) | 135 | #define MMIO_ADDR_MASK (0x1FFF << (32 - 13)) |
136 | #define FREQ_MASK 0x1EF | 136 | #define FREQ_MASK (1 << 4) |
137 | #define SCR_OFF 0x20 | 137 | #define SCR_OFF 0x20 |
138 | #define DRAM_ON 0x08 | 138 | #define DRAM_ON 0x08 |
139 | #define DRAM_OFF 0xE7 | 139 | #define DRAM_OFF 0xE7 |