summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 10:50:11 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 10:53:55 -0700
commit773f703d92714edb80458693bf9bf42fc0b77db4 (patch)
tree9c6b06ed742ef471510b33dc7101e79cfd364580
parent19cf45e2a4699c950d08cc7aa3e4ccfe76e276d6 (diff)
ast_vgatool: Fix indentation in ASTGetScratchOptions()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/ast_vgatool.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/ast_vgatool.c b/src/ast_vgatool.c
index e79cd9c..063775b 100644
--- a/src/ast_vgatool.c
+++ b/src/ast_vgatool.c
@@ -673,21 +673,21 @@ ASTGetScratchOptions(ScrnInfoPtr pScrn)
if ((pAST->jChipType == AST2300) || (pAST->jChipType == AST2400) || (pAST->jChipType == AST2500))
{
GetIndexRegMask(CRTC_PORT, 0xD1, 0x0E, jReg);
- switch (jReg)
- {
- case 0x04:
- pAST->jTxChipType = Tx_Sil164;
- break;
+ switch (jReg)
+ {
+ case 0x04:
+ pAST->jTxChipType = Tx_Sil164;
+ break;
case 0x08:
- pAST->pDP501FWBufferVirtualAddress = (UCHAR*) calloc(1, 32*1024);
- if (pAST->pDP501FWBufferVirtualAddress)
- {
- if (BackupM68KFW(pScrn, pAST->pDP501FWBufferVirtualAddress, 32*1024) == FALSE)
- {
- free(pAST->pDP501FWBufferVirtualAddress);
- pAST->pDP501FWBufferVirtualAddress = NULL;
- }
- } /* Backup DP501 FW */
+ pAST->pDP501FWBufferVirtualAddress = (UCHAR*) calloc(1, 32*1024);
+ if (pAST->pDP501FWBufferVirtualAddress)
+ {
+ if (BackupM68KFW(pScrn, pAST->pDP501FWBufferVirtualAddress, 32*1024) == FALSE)
+ {
+ free(pAST->pDP501FWBufferVirtualAddress);
+ pAST->pDP501FWBufferVirtualAddress = NULL;
+ }
+ } /* Backup DP501 FW */
case 0x0c:
pAST->jTxChipType = Tx_DP501;
break;