From 0abcb2b2c84a50e64bb6aa9e94760659ecf33add Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Sun, 28 Jan 2007 00:19:15 +0200 Subject: Clean pATI->Adapter and pATI->VGAAdapter. - cull (pATI->Adapter != ATI_ADAPTER_MACH64) - treat pATI->VGAAdapter as Bool --- src/atiprint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/atiprint.c') 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 #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)); -- cgit v1.2.3