From 9f33218c80f5a6d6d9464aa3db8ae25a4759f351 Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Fri, 8 Feb 2008 19:06:41 +0200 Subject: mach64: minor cosmetic, LCD panel id --- src/atipreinit.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/atipreinit.c b/src/atipreinit.c index 0b0e8ad..d980b95 100644 --- a/src/atipreinit.c +++ b/src/atipreinit.c @@ -654,7 +654,6 @@ ATIPreInit #endif /* AVOID_CPIO */ /* Finish private area initialisation */ - pATI->LCDPanelID = -1; pATI->nFIFOEntries = 16; /* For now */ /* Finish probing the adapter */ @@ -739,7 +738,16 @@ ATIPreInit if (pATI->Chip >= ATI_CHIP_264CT) { pATI->MemoryType = GetBits(IOValue, CFG_MEM_TYPE_T); + } + else + { + pATI->MemoryType = GetBits(IOValue, CFG_MEM_TYPE); + } + + pATI->LCDPanelID = -1; + if (pATI->Chip >= ATI_CHIP_264CT) + { /* Get LCD panel id */ if (pATI->Chip == ATI_CHIP_264LT) { @@ -807,10 +815,6 @@ ATIPreInit pATI->OptionPanelDisplay = FALSE; } } - else - { - pATI->MemoryType = GetBits(IOValue, CFG_MEM_TYPE); - } /* Get DAC type */ pATI->DAC = GetBits(inr(DAC_CNTL), DAC_TYPE); -- cgit v1.2.3