[xserver-commit] xfree86/drivers/via via_accel.c,1.11,1.12 via_bandwidth.c,1.3,1.4 via_bios.c,1.9,1.10 via_cursor.c,1.3,1.4 via_dga.c,1.4,1.5 via_dri.c,1.6,1.7 via_driver.c,1.26,1.27 via_gpioi2c.c,1.3,1.4 via_hwdiff.c,1.2,1.3 via_i2c.c,1.4,1.5 via_memory.c,1.5,1.6 via_overlay.c,1.2,1.3 via_regrec.c,1.2,1.3 via_shadow.c,1.3,1.4 via_swov.c,1.10,1.11 via_tuner.c,1.2,1.3 via_utility.c,1.5,1.6 via_video.c,1.16,1.17

Keith Packard xserver-commit@pdx.freedesktop.org


Committed by: keithp

Update of /cvs/xserver/xfree86/drivers/via
In directory pdx:/tmp/cvs-serv14744/drivers/via

Modified Files:
	via_accel.c via_bandwidth.c via_bios.c via_cursor.c via_dga.c 
	via_dri.c via_driver.c via_gpioi2c.c via_hwdiff.c via_i2c.c 
	via_memory.c via_overlay.c via_regrec.c via_shadow.c 
	via_swov.c via_tuner.c via_utility.c via_video.c 
Log Message:
	* Makefile.am
	* *.c
	Ok, everyone gets #include <config.h>
	Other than that, I fixed a few extension header paths and
	whacked at the Makefile.am.  Makefile.am is a hacked version
	of xserver/Makefile.am; expect them to diverge until we can
	stick the xfree86 DDX stuff into the standard Makefile.am.


Index: via_accel.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_accel.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- a/via_accel.c	29 Jan 2004 03:13:24 -0000	1.11
+++ b/via_accel.c	28 Feb 2004 01:27:51 -0000	1.12
@@ -30,6 +30,9 @@
  *
  ************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "Xarch.h"
 #include "xaalocal.h"
 #include "xaarop.h"

Index: via_bandwidth.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_bandwidth.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- a/via_bandwidth.c	5 Jan 2004 00:34:17 -0000	1.3
+++ b/via_bandwidth.c	28 Feb 2004 01:27:51 -0000	1.4
@@ -22,6 +22,9 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "via_driver.h"
 #include "via_bandwidth.h"
 

Index: via_bios.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_bios.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- a/via_bios.c	31 Dec 2003 05:42:04 -0000	1.9
+++ b/via_bios.c	28 Feb 2004 01:27:51 -0000	1.10
@@ -31,6 +31,9 @@
  ************************************************************************/
 
 /*
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #define CREATE_MODETABLE_HEADERFILE
 #define CREATE_TV2_HEADERFILE
 #define CREATE_TV3_HEADERFILE

Index: via_cursor.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_cursor.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- a/via_cursor.c	27 Aug 2003 15:16:08 -0000	1.3
+++ b/via_cursor.c	28 Feb 2004 01:27:51 -0000	1.4
@@ -30,6 +30,9 @@
  *
  ************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "via_driver.h"
 
 static void VIALoadCursorImage(ScrnInfoPtr pScrn, unsigned char *src);

Index: via_dga.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_dga.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- a/via_dga.c	27 Aug 2003 15:16:08 -0000	1.4
+++ b/via_dga.c	28 Feb 2004 01:27:51 -0000	1.5
@@ -24,6 +24,9 @@
  */
 
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "xaalocal.h"
 #include "via_driver.h"
 #include "dgaproc.h"

Index: via_dri.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_dri.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- a/via_dri.c	5 Jan 2004 00:34:17 -0000	1.6
+++ b/via_dri.c	28 Feb 2004 01:27:51 -0000	1.7
@@ -22,6 +22,9 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "xf86.h"
 #include "xf86_OSproc.h"
 #include "xf86_ansic.h"

Index: via_driver.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_driver.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- a/via_driver.c	29 Jan 2004 03:13:25 -0000	1.26
+++ b/via_driver.c	28 Feb 2004 01:27:51 -0000	1.27
@@ -30,6 +30,9 @@
  *
  ************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "xf86RAC.h"
 #include "shadowfb.h"
 

Index: via_gpioi2c.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_gpioi2c.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- a/via_gpioi2c.c	3 Nov 2003 05:11:46 -0000	1.3
+++ b/via_gpioi2c.c	28 Feb 2004 01:27:51 -0000	1.4
@@ -23,6 +23,9 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "via_driver.h"
 #include "via_gpioi2c.h"
 

Index: via_hwdiff.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_hwdiff.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/via_hwdiff.c	27 Aug 2003 15:16:09 -0000	1.2
+++ b/via_hwdiff.c	28 Feb 2004 01:27:51 -0000	1.3
@@ -9,6 +9,9 @@
  *
  *************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "via_driver.h" 
 
 void VIAvfInitHWDiff(VIAPtr pVia)

Index: via_i2c.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_i2c.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- a/via_i2c.c	31 Dec 2003 05:42:05 -0000	1.4
+++ b/via_i2c.c	28 Feb 2004 01:27:51 -0000	1.5
@@ -24,6 +24,9 @@
  */
 
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "xf86.h"
 #include "xf86_OSproc.h"
 #include "xf86_ansic.h"

Index: via_memory.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_memory.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- a/via_memory.c	29 Jan 2004 03:13:25 -0000	1.5
+++ b/via_memory.c	28 Feb 2004 01:27:51 -0000	1.6
@@ -22,6 +22,9 @@
  */
 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/via/via_memory.c,v 1.4 2004/01/27 02:25:07 dawes Exp $ */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "xf86.h"
 #include "xf86_OSproc.h"
 #include "xf86_ansic.h"

Index: via_overlay.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_overlay.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/via_overlay.c	27 Aug 2003 15:16:11 -0000	1.2
+++ b/via_overlay.c	28 Feb 2004 01:27:51 -0000	1.3
@@ -25,6 +25,9 @@
  
 /* I N C L U D E S ---------------------------------------------------------*/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "xf86.h"
 
 #include "via.h"

Index: via_regrec.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_regrec.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/via_regrec.c	11 Sep 2003 10:08:38 -0000	1.2
+++ b/via_regrec.c	28 Feb 2004 01:27:51 -0000	1.3
@@ -23,6 +23,9 @@
  */
 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/via/via_regrec.c,v 1.1 2003/08/25 18:44:37 eich Exp $ */
 /*#include <stdlib.h>
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <string.h>*/
 #include "xf86.h"
 

Index: via_shadow.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_shadow.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- a/via_shadow.c	27 Aug 2003 15:16:13 -0000	1.3
+++ b/via_shadow.c	28 Feb 2004 01:27:51 -0000	1.4
@@ -23,6 +23,9 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "via_driver.h"
 #include "shadowfb.h"
 #include "servermd.h"

Index: via_swov.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_swov.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- a/via_swov.c	17 Dec 2003 19:01:59 -0000	1.10
+++ b/via_swov.c	28 Feb 2004 01:27:51 -0000	1.11
@@ -23,6 +23,9 @@
  * DEALINGS IN THE SOFTWARE.
  */
  
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "xf86.h"
 #include "xf86_OSproc.h"
 #include "xf86_ansic.h"

Index: via_tuner.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_tuner.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- a/via_tuner.c	2 Jan 2004 18:23:36 -0000	1.2
+++ b/via_tuner.c	28 Feb 2004 01:27:51 -0000	1.3
@@ -22,6 +22,9 @@
  */
 /* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/via/via_tuner.c,v 1.1tsi Exp $ */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Index: via_utility.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_utility.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- a/via_utility.c	31 Dec 2003 05:42:05 -0000	1.5
+++ b/via_utility.c	28 Feb 2004 01:27:51 -0000	1.6
@@ -26,6 +26,9 @@
 /*
  * I N C L U D E S
  */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "via_driver.h"
 #include "via_utility.h"
 

Index: via_video.c
===================================================================
RCS file: /cvs/xserver/xfree86/drivers/via/via_video.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- a/via_video.c	29 Jan 2004 03:13:25 -0000	1.16
+++ b/via_video.c	28 Feb 2004 01:27:51 -0000	1.17
@@ -26,6 +26,9 @@
 /*
  * I N C L U D E S
  */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include "xf86.h"
 #include "xf86_OSproc.h"
 #include "xf86Resources.h"