Last change
on this file since 68495 was 36308, checked in by vboxsync, 14 years ago |
fix OSE
|
-
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.