Cross Reference: sparc.patch
xref
: /
solaris-x11-s12
/
open-src
/
driver
/
xf86-video-ast
/
sparc.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
1674
N/A
---
a/src/ast_driver.c
2016-10-19 19:32:32.586151260 -0700
1674
N/A
+++
b/src/ast_driver.c
2016-10-19 19:36:20.008810060 -0700
1674
N/A
@@ -665,7 +665,16 @@
1674
N/A
/* Enable VGA MMIO Access */
1674
N/A
vASTEnableVGAMMIO(pScrn);
1674
N/A
#endif
1674
N/A
+ /* Init VGA Adapter */
1674
N/A
+ if (!xf86IsPrimaryPci(pAST->PciInfo))
1674
N/A
+ {
1674
N/A
+ ASTInitVGA(pScrn, 0);
1674
N/A
+ }
1674
N/A
1674
N/A
+ vASTOpenKey(pScrn);
1674
N/A
+ bASTRegInit(pScrn);
1674
N/A
+
1674
N/A
+
1674
N/A
/* Get Chip Type */
1674
N/A
if (PCI_DEV_REVISION(pAST->PciInfo) >= 0x40)
1674
N/A
pAST->jChipType = AST2500;
1674
N/A
@@ -678,15 +687,6 @@
1674
N/A
else
1674
N/A
pAST->jChipType = AST2000;
1674
N/A
1674
N/A
- /* Init VGA Adapter */
1674
N/A
- if (!xf86IsPrimaryPci(pAST->PciInfo))
1674
N/A
- {
1674
N/A
- ASTInitVGA(pScrn, 0);
1674
N/A
- }
1674
N/A
-
1674
N/A
- vASTOpenKey(pScrn);
1674
N/A
- bASTRegInit(pScrn);
1674
N/A
-
1674
N/A
/* Get Options from Scratch */
1674
N/A
ASTGetScratchOptions(pScrn);
1674
N/A