diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2009-03-31 18:25:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 11:59:27 -0400 |
commit | 1b48cb563d59e03dbf530174f30c0ed3b6fba513 (patch) | |
tree | cef000929c4366c6a92b5456981a88a41e461d4f /include/video | |
parent | 48c329e906f834711906ab4b0986ea0e857aff16 (diff) |
cirrusfb: Laguna chipset 8bpp fix
Fix 8bpp mode by adding handling of the Laguna chipsets to various places
and stop trashing a HDR register which probably does not exist on the
Laguna.
Fix compilation warnings about uninitialized variables also.
Finally, all 8bpp, 16bpp and 32bpp modes work on the Laguna chipset.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/cirrus.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/video/cirrus.h b/include/video/cirrus.h index a1b7985b6b2..9a5e9ee3078 100644 --- a/include/video/cirrus.h +++ b/include/video/cirrus.h | |||
@@ -32,7 +32,6 @@ | |||
32 | #define CL_VSSM2 0x3c3 /* Motherboard Sleep */ | 32 | #define CL_VSSM2 0x3c3 /* Motherboard Sleep */ |
33 | 33 | ||
34 | /*** VGA Sequencer Registers ***/ | 34 | /*** VGA Sequencer Registers ***/ |
35 | #define CL_SEQR0 0x0 /* Reset */ | ||
36 | /* the following are from the "extension registers" group */ | 35 | /* the following are from the "extension registers" group */ |
37 | #define CL_SEQR6 0x6 /* Unlock ALL Extensions */ | 36 | #define CL_SEQR6 0x6 /* Unlock ALL Extensions */ |
38 | #define CL_SEQR7 0x7 /* Extended Sequencer Mode */ | 37 | #define CL_SEQR7 0x7 /* Extended Sequencer Mode */ |