Last change
on this file since 17448 was 17448, checked in by vboxsync, 16 years ago |
Additions/x11: added a full header set for X.Org server 1.5 and 1.6
|
-
Property svn:eol-style
set to
native
|
File size:
587 bytes
|
Line | |
---|
1 |
|
---|
2 | #ifdef HAVE_XORG_CONFIG_H
|
---|
3 | #include <xorg-config.h>
|
---|
4 | #endif
|
---|
5 |
|
---|
6 | #include "TI.h"
|
---|
7 |
|
---|
8 | typedef struct {
|
---|
9 | char *DeviceName;
|
---|
10 | } xf86TIramdacInfo;
|
---|
11 |
|
---|
12 | extern xf86TIramdacInfo TIramdacDeviceInfo[];
|
---|
13 |
|
---|
14 | #ifdef INIT_TI_RAMDAC_INFO
|
---|
15 | xf86TIramdacInfo TIramdacDeviceInfo[] = {
|
---|
16 | {"TI TVP3030"},
|
---|
17 | {"TI TVP3026"}
|
---|
18 | };
|
---|
19 | #endif
|
---|
20 |
|
---|
21 | #define TISAVE(_reg) do { \
|
---|
22 | ramdacReg->DacRegs[_reg] = (*ramdacPtr->ReadDAC)(pScrn, _reg); \
|
---|
23 | } while (0)
|
---|
24 |
|
---|
25 | #define TIRESTORE(_reg) do { \
|
---|
26 | (*ramdacPtr->WriteDAC)(pScrn, _reg, \
|
---|
27 | (ramdacReg->DacRegs[_reg] & 0xFF00) >> 8, \
|
---|
28 | ramdacReg->DacRegs[_reg]); \
|
---|
29 | } while (0)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.