diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2007-10-16 04:28:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:14 -0400 |
commit | 138a451cce3a48792b4c785557578138dc8a5cc3 (patch) | |
tree | 54e4e1332851b0d6f5d12856a697dc1d1d583e1b /include/video | |
parent | 45f169ec8142e753cbff126e04a78f26f4aa8422 (diff) |
pm2fb: Permedia 2V initialization fixes
This patch:
- initializes correctly the Permedia2V chip if it is not initialized by BIOS
- puts back clock frequency for the ELSA WINNER board to 100kHz
- fixes returned error values from setcolreg() function
- uses more general classes for PCI ids
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
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 'include/video')
-rw-r--r-- | include/video/permedia2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/permedia2.h b/include/video/permedia2.h index 144c81cbcfc6..cf1d95bce412 100644 --- a/include/video/permedia2.h +++ b/include/video/permedia2.h | |||
@@ -153,6 +153,7 @@ | |||
153 | #define PM2VI_RD_CURSOR_Y_HIGH 0x00A | 153 | #define PM2VI_RD_CURSOR_Y_HIGH 0x00A |
154 | #define PM2VI_RD_CURSOR_X_HOT 0x00B | 154 | #define PM2VI_RD_CURSOR_X_HOT 0x00B |
155 | #define PM2VI_RD_CURSOR_Y_HOT 0x00C | 155 | #define PM2VI_RD_CURSOR_Y_HOT 0x00C |
156 | #define PM2VI_RD_OVERLAY_KEY 0x00D | ||
156 | #define PM2VI_RD_CLK0_PRESCALE 0x201 | 157 | #define PM2VI_RD_CLK0_PRESCALE 0x201 |
157 | #define PM2VI_RD_CLK0_FEEDBACK 0x202 | 158 | #define PM2VI_RD_CLK0_FEEDBACK 0x202 |
158 | #define PM2VI_RD_CLK0_POSTSCALE 0x203 | 159 | #define PM2VI_RD_CLK0_POSTSCALE 0x203 |