summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-08 01:29:00 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-08 01:29:00 +0000
commit6452da4f4a42b0740d229325bb57ba845132f4e3 (patch)
treeef04d4ab53f347f711875987a0d9f56eeeaf1538 /src
parent5157dee313f692258a07f6a757dbfe3ac5a7e4b7 (diff)
Delibcwrap, bump required server, update to 1.1.0.i740-1_1_0XORG-7_1
Diffstat (limited to 'src')
-rw-r--r--src/i740_accel.c1
-rw-r--r--src/i740_cursor.c1
-rw-r--r--src/i740_dga.c1
-rw-r--r--src/i740_driver.c15
-rw-r--r--src/i740_i2c.c1
-rw-r--r--src/i740_io.c1
-rw-r--r--src/i740_video.c4
7 files changed, 11 insertions, 13 deletions
diff --git a/src/i740_accel.c b/src/i740_accel.c
index 9cd1508..c11bf84 100644
--- a/src/i740_accel.c
+++ b/src/i740_accel.c
@@ -39,7 +39,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "compiler.h"
diff --git a/src/i740_cursor.c b/src/i740_cursor.c
index f211a19..f3160b8 100644
--- a/src/i740_cursor.c
+++ b/src/i740_cursor.c
@@ -39,7 +39,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "compiler.h"
#include "xf86fbman.h"
diff --git a/src/i740_dga.c b/src/i740_dga.c
index 4a99dd3..170e38f 100644
--- a/src/i740_dga.c
+++ b/src/i740_dga.c
@@ -29,7 +29,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "xf86Pci.h"
#include "xf86PciInfo.h"
#include "xaa.h"
diff --git a/src/i740_driver.c b/src/i740_driver.c
index 640eca7..c21163d 100644
--- a/src/i740_driver.c
+++ b/src/i740_driver.c
@@ -37,6 +37,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "config.h"
#endif
+#include <string.h>
+#include <math.h>
+
/*
* This server does not support these XFree86 4.0 features yet
* DDC1 & DDC2 (requires I2C)
@@ -53,7 +56,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* These are X and server generic header files.
*/
#include "xf86.h"
-#include "xf86_ansic.h"
#include "xf86_OSproc.h"
#include "xf86Resources.h"
#include "xf86RAC.h"
@@ -137,16 +139,15 @@ static void I740ProbeDDC(ScrnInfoPtr pScrn, int index);
static Bool I740MapMem(ScrnInfoPtr pScrn);
static Bool I740UnmapMem(ScrnInfoPtr pScrn);
-
-#define VERSION 4000
+#define I740_VERSION 4000
#define I740_NAME "I740"
#define I740_DRIVER_NAME "i740"
#define I740_MAJOR_VERSION 1
-#define I740_MINOR_VERSION 0
+#define I740_MINOR_VERSION 1
#define I740_PATCHLEVEL 0
_X_EXPORT DriverRec I740 = {
- VERSION,
+ I740_VERSION,
I740_DRIVER_NAME,
I740Identify,
I740Probe,
@@ -397,7 +398,7 @@ I740Probe(DriverPtr drv, int flags) {
/* Allocate new ScrnInfoRec and claim the slot */
if ((pScrn = xf86ConfigPciEntity(pScrn, 0, usedChips[i],
I740PciChipsets, 0, 0, 0, 0, 0))) {
- pScrn->driverVersion = VERSION;
+ pScrn->driverVersion = I740_VERSION;
pScrn->driverName = I740_DRIVER_NAME;
pScrn->name = I740_NAME;
pScrn->Probe = I740Probe;
@@ -429,7 +430,7 @@ I740Probe(DriverPtr drv, int flags) {
ScrnInfoPtr pScrn = NULL;
if ((pScrn = xf86ConfigPciEntity(pScrn, 0, usedChips[i],
I740PciChipsets, 0, 0, 0, 0, 0))) {
- pScrn->driverVersion = VERSION;
+ pScrn->driverVersion = I740_VERSION;
pScrn->driverName = I740_DRIVER_NAME;
pScrn->name = I740_NAME;
pScrn->Probe = I740Probe;
diff --git a/src/i740_i2c.c b/src/i740_i2c.c
index 5dab14d..e741eeb 100644
--- a/src/i740_i2c.c
+++ b/src/i740_i2c.c
@@ -31,7 +31,6 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
#include "compiler.h"
#include "xf86Pci.h"
diff --git a/src/i740_io.c b/src/i740_io.c
index 47915bd..bfa6a10 100644
--- a/src/i740_io.c
+++ b/src/i740_io.c
@@ -37,7 +37,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif
#include "xf86.h"
-#include "xf86_ansic.h"
#include "xf86_OSproc.h"
#include "compiler.h"
#include "vgaHW.h"
diff --git a/src/i740_video.c b/src/i740_video.c
index 31c625e..e1aa5d0 100644
--- a/src/i740_video.c
+++ b/src/i740_video.c
@@ -54,10 +54,12 @@
#include "config.h"
#endif
+#include <stdio.h>
+#include <string.h>
+
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86Resources.h"
-#include "xf86_ansic.h"
#include "compiler.h"
#include "xf86PciInfo.h"
#include "xf86Pci.h"