summaryrefslogtreecommitdiff
path: root/src/atimach64probe.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-01-12 16:17:47 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-01-16 16:15:48 +0200
commit92f54400d5450b29b3a76d5ecc927cf0d73e156e (patch)
tree90ca2b48868f9eb0f962f9f9a72baa80b4964b2b /src/atimach64probe.c
parent311ec7b6c54a50a4b8a5a445f7283da2b0b2e0f5 (diff)
mach64: add version (need not match with ati)
similar to r128/radeon
Diffstat (limited to 'src/atimach64probe.c')
-rw-r--r--src/atimach64probe.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/atimach64probe.c b/src/atimach64probe.c
index b365b09f..5ea2ccc8 100644
--- a/src/atimach64probe.c
+++ b/src/atimach64probe.c
@@ -28,6 +28,7 @@
#include "atichip.h"
#include "atimach64io.h"
#include "atimach64probe.h"
+#include "atimach64version.h"
#include "atioption.h"
#include "ativersion.h"
@@ -127,7 +128,7 @@ Mach64Identify
int flags
)
{
- xf86Msg(X_INFO, "%s: %s\n", ATI_NAME,
+ xf86Msg(X_INFO, "%s: %s\n", MACH64_NAME,
"Driver for ATI Mach64 chipsets");
}
@@ -154,7 +155,7 @@ Mach64Probe(DriverPtr pDriver, int flags)
if ((numDevSections = xf86MatchDevice(ATI_DRIVER_NAME, &devSections)) <= 0)
return FALSE;
- numUsed = xf86MatchPciInstances(ATI_DRIVER_NAME, PCI_VENDOR_ATI,
+ numUsed = xf86MatchPciInstances(MACH64_NAME, PCI_VENDOR_ATI,
Mach64Chipsets, Mach64PciChipsets,
devSections, numDevSections,
pDriver, &usedChips);
@@ -177,9 +178,9 @@ Mach64Probe(DriverPtr pDriver, int flags)
if (!pScrn)
continue;
- pScrn->driverVersion = ATI_VERSION_CURRENT;
- pScrn->driverName = ATI_DRIVER_NAME;
- pScrn->name = ATI_NAME;
+ pScrn->driverVersion = MACH64_VERSION_CURRENT;
+ pScrn->driverName = MACH64_DRIVER_NAME;
+ pScrn->name = MACH64_NAME;
pScrn->Probe = Mach64Probe;
pScrn->PreInit = ATIPreInit;
pScrn->ScreenInit = ATIScreenInit;