From cc3728be2481637dda321d3bc2e4e89a220699cd Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 31 Oct 2006 15:00:36 -0800 Subject: [PATCH] Add compat definitions for M_T_PREFERRED and M_T_DRIVER for older X Servers. --- src/i830.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/i830.h b/src/i830.h index b962e88c..27a9817b 100644 --- a/src/i830.h +++ b/src/i830.h @@ -724,4 +724,12 @@ void i830_tv_init(ScrnInfoPtr pScrn); #define _845_DRAM_RW_CONTROL 0x90 #define DRAM_WRITE 0x33330000 +/* Compat definitions for older X Servers. */ +#ifndef M_T_PREFERRED +#define M_T_PREFERRED 0x08 +#endif +#ifndef M_T_DRIVER +#define M_T_DRIVER 0x40 +#endif + #endif /* _I830_H_ */