summaryrefslogtreecommitdiff
path: root/driver/xf86-video-tga/src/tga.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-03-07 10:23:24 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-03-07 10:23:24 +0000
commitb594b134bb840ff7c7807618f3f780dad5735037 (patch)
tree84352b212ee2a96e52c4ef773e473d46a924436a /driver/xf86-video-tga/src/tga.h
parent626414d67454c1bee4f29cdc07382cf346b524ae (diff)
Update to xf86-video-tga 1.2.0
Diffstat (limited to 'driver/xf86-video-tga/src/tga.h')
-rw-r--r--driver/xf86-video-tga/src/tga.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/driver/xf86-video-tga/src/tga.h b/driver/xf86-video-tga/src/tga.h
index 4c60606bd..94279141d 100644
--- a/driver/xf86-video-tga/src/tga.h
+++ b/driver/xf86-video-tga/src/tga.h
@@ -21,11 +21,12 @@
*
* Authors: Alan Hourihane, <alanh@fairlite.demon.co.uk>
*/
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/tga/tga.h,v 1.17 2001/05/04 19:05:47 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/tga/tga.h,v 1.18 2001/11/21 22:32:58 alanh Exp $ */
#ifndef _TGA_H_
#define _TGA_H_
+#include "tga_pcirename.h"
#include "xaa.h"
#include "xf86RamDac.h"
@@ -33,12 +34,15 @@ typedef struct {
unsigned long tgaRegs[0x100];
} TGARegRec, *TGARegPtr;
+#define TGA_OLDPRIV (GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 4)
#define TGAPTR(p) ((TGAPtr)((p)->driverPrivate))
typedef struct {
pciVideoPtr PciInfo;
+#ifndef XSERVER_LIBPCIACCESS
PCITAG PciTag;
+#endif
int Chipset;
RamDacHelperRecPtr RamDac;
int ChipRev;