summaryrefslogtreecommitdiff
path: root/src/atipreinit.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-03-24 19:53:02 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-03-24 21:20:39 +0200
commitaa8f5b02ebc9be60df48722588261627d6a457e8 (patch)
treed8651de2813299fe7925a89bd295cf4d0b73bd7b /src/atipreinit.c
parent39e896a1e688ea2d2d21f88c1c5d34c5810aac1c (diff)
[mach64] Use Mach64Chipsets[] instead of ATIChipNames[].
atimisc is PCI-only now, we can get the chip name with xf86TokenToString().
Diffstat (limited to 'src/atipreinit.c')
-rw-r--r--src/atipreinit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/atipreinit.c b/src/atipreinit.c
index 7f0c4b2..d960e88 100644
--- a/src/atipreinit.c
+++ b/src/atipreinit.c
@@ -41,6 +41,7 @@
#include "atimach64.h"
#include "atimach64accel.h"
#include "atimach64io.h"
+#include "atimach64probe.h"
#include "atimode.h"
#include "atioption.h"
#include "atipreinit.h"
@@ -982,7 +983,8 @@ ATIPreInit
/* Report what was found */
xf86DrvMsg(pScreenInfo->scrnIndex, X_PROBED,
- "%s graphics controller detected.\n", ATIChipNames[pATI->Chip]);
+ "%s graphics controller detected.\n",
+ xf86TokenToString(Mach64Chipsets, pATI->Chip));
{
Message = Buffer + snprintf(Buffer, SizeOf(Buffer), "Chip type %04X",