mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-20 08:09:22 +00:00
Merge alpha fix from X.Org instead of home grown one.
This commit is contained in:
@@ -437,9 +437,9 @@ Permedia3PreInit(ScrnInfoPtr pScrn)
|
|||||||
"VX1 secondary enabling VGA before int10\n");
|
"VX1 secondary enabling VGA before int10\n");
|
||||||
|
|
||||||
/* Enable VGA on the current card. */
|
/* Enable VGA on the current card. */
|
||||||
PCI_WRITE_LONG( pGlint->PciInfo, 0, 0xf8 );
|
PCI_WRITE_BYTE(pGlint->PciInfo, 0, 0xf8);
|
||||||
PCI_WRITE_LONG( pGlint->PciInfo, 0, 0xf4 );
|
PCI_WRITE_BYTE(pGlint->PciInfo, 0, 0xf4);
|
||||||
PCI_WRITE_LONG( pGlint->PciInfo, 0, 0xfc );
|
PCI_WRITE_BYTE(pGlint->PciInfo, 0, 0xfc);
|
||||||
|
|
||||||
/* The card we are on should be VGA-enabled now, so run int10. */
|
/* The card we are on should be VGA-enabled now, so run int10. */
|
||||||
if (xf86LoadSubModule(pScrn, "int10")) {
|
if (xf86LoadSubModule(pScrn, "int10")) {
|
||||||
@@ -455,9 +455,9 @@ Permedia3PreInit(ScrnInfoPtr pScrn)
|
|||||||
"VX1 secondary disabling VGA after int10\n");
|
"VX1 secondary disabling VGA after int10\n");
|
||||||
|
|
||||||
/* Finally, disable VGA on the current card. */
|
/* Finally, disable VGA on the current card. */
|
||||||
PCI_WRITE_LONG( pGlint->PciInfo, 0x70, 0xf8 );
|
PCI_WRITE_BYTE(pGlint->PciInfo, 0x70, 0xf8);
|
||||||
PCI_WRITE_LONG( pGlint->PciInfo, 0x01, 0xf4 );
|
PCI_WRITE_BYTE(pGlint->PciInfo, 0x01, 0xf4);
|
||||||
PCI_WRITE_LONG( pGlint->PciInfo, 0x00, 0xfc );
|
PCI_WRITE_BYTE(pGlint->PciInfo, 0x00, 0xfc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* __alpha__ */
|
#endif /* __alpha__ */
|
||||||
|
|||||||
Reference in New Issue
Block a user