summaryrefslogtreecommitdiff
path: root/src/atiprint.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-01-28 00:19:15 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-01-28 01:24:19 +0200
commit0abcb2b2c84a50e64bb6aa9e94760659ecf33add (patch)
tree754e64a8a051f23d17e5e06099d0131fa2b4f2e8 /src/atiprint.c
parent817b4b5338dba4d8eb862f1f79ef0edb75aad7f4 (diff)
Clean pATI->Adapter and pATI->VGAAdapter.
- cull (pATI->Adapter != ATI_ADAPTER_MACH64) - treat pATI->VGAAdapter as Bool
Diffstat (limited to 'src/atiprint.c')
-rw-r--r--src/atiprint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/atiprint.c b/src/atiprint.c
index 1fc629d..243dcf5 100644
--- a/src/atiprint.c
+++ b/src/atiprint.c
@@ -28,7 +28,6 @@
#include <ctype.h>
#include "ati.h"
-#include "atiadapter.h"
#include "atichip.h"
#include "atidac.h"
#include "atimach64io.h"
@@ -369,7 +368,7 @@ ATIPrintRegisters
crtc = ATI_CRTC_VGA;
- if (pATI->VGAAdapter != ATI_ADAPTER_NONE)
+ if (pATI->VGAAdapter)
{
xf86ErrorFVerb(4, "\n Miscellaneous output register value: 0x%02X.\n",
genmo = inb(R_GENMO));