e03198972c
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
31 lines
688 B
C
31 lines
688 B
C
/* $XFree86: xc/programs/Xserver/hw/xfree86/ramdac/TIPriv.h,v 1.2 1998/07/25 16:57:19 dawes Exp $ */
|
|
|
|
#ifdef HAVE_XORG_CONFIG_H
|
|
#include <xorg-config.h>
|
|
#endif
|
|
|
|
#include "TI.h"
|
|
|
|
typedef struct {
|
|
char *DeviceName;
|
|
} xf86TIramdacInfo;
|
|
|
|
extern xf86TIramdacInfo TIramdacDeviceInfo[];
|
|
|
|
#ifdef INIT_TI_RAMDAC_INFO
|
|
xf86TIramdacInfo TIramdacDeviceInfo[] = {
|
|
{"TI TVP3030"},
|
|
{"TI TVP3026"}
|
|
};
|
|
#endif
|
|
|
|
#define TISAVE(_reg) do { \
|
|
ramdacReg->DacRegs[_reg] = (*ramdacPtr->ReadDAC)(pScrn, _reg); \
|
|
} while (0)
|
|
|
|
#define TIRESTORE(_reg) do { \
|
|
(*ramdacPtr->WriteDAC)(pScrn, _reg, \
|
|
(ramdacReg->DacRegs[_reg] & 0xFF00) >> 8, \
|
|
ramdacReg->DacRegs[_reg]); \
|
|
} while (0)
|