diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-07-24 00:30:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:35 -0400 |
commit | 10172ed6dc4d40ff42bf5ce2dd2f65f401a93696 (patch) | |
tree | e13cd83ce12cec10a1074db56b9cb289f161e095 /include/video | |
parent | d9cad04bcde00411976402eda726199ac13b29ca (diff) |
tridentfb: make use of functions and constants from the vga.h
Make use of functions and constants from the vga.h header to compact the code
and make it more readable.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
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/trident.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/video/trident.h b/include/video/trident.h index 9c3670b2890..51ec5a95d1a 100644 --- a/include/video/trident.h +++ b/include/video/trident.h | |||
@@ -63,33 +63,7 @@ | |||
63 | #define SKey 0x37 | 63 | #define SKey 0x37 |
64 | #define SPKey 0x57 | 64 | #define SPKey 0x57 |
65 | 65 | ||
66 | /* 0x3x4 */ | ||
67 | #define CRTHTotal 0x00 | ||
68 | #define CRTHDispEnd 0x01 | ||
69 | #define CRTHBlankStart 0x02 | ||
70 | #define CRTHBlankEnd 0x03 | ||
71 | #define CRTHSyncStart 0x04 | ||
72 | #define CRTHSyncEnd 0x05 | ||
73 | |||
74 | #define CRTVTotal 0x06 | ||
75 | #define CRTVDispEnd 0x12 | ||
76 | #define CRTVBlankStart 0x15 | ||
77 | #define CRTVBlankEnd 0x16 | ||
78 | #define CRTVSyncStart 0x10 | ||
79 | #define CRTVSyncEnd 0x11 | ||
80 | |||
81 | #define CRTOverflow 0x07 | ||
82 | #define CRTPRowScan 0x08 | ||
83 | #define CRTMaxScanLine 0x09 | ||
84 | #define CRTModeControl 0x17 | ||
85 | #define CRTLineCompare 0x18 | ||
86 | |||
87 | /* 3x4 */ | 66 | /* 3x4 */ |
88 | #define StartAddrHigh 0x0C | ||
89 | #define StartAddrLow 0x0D | ||
90 | #define Offset 0x13 | ||
91 | #define Underline 0x14 | ||
92 | #define CRTCMode 0x17 | ||
93 | #define CRTCModuleTest 0x1E | 67 | #define CRTCModuleTest 0x1E |
94 | #define FIFOControl 0x20 | 68 | #define FIFOControl 0x20 |
95 | #define LinearAddReg 0x21 | 69 | #define LinearAddReg 0x21 |