diff options
-rw-r--r-- | src/atipreinit.c | 14 |
1 files changed, 9 insertions, 5 deletions
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); |