summaryrefslogtreecommitdiff
path: root/src/alp_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alp_driver.c')
-rw-r--r--src/alp_driver.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/alp_driver.c b/src/alp_driver.c
index 11cd2f2..2e19461 100644
--- a/src/alp_driver.c
+++ b/src/alp_driver.c
@@ -534,7 +534,10 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
PCI_DEV_FUNC(pCir->PciInfo));
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 12
- if (!xf86IsPc98() && xf86LoadSubModule(pScrn, "int10")) {
+ if (!xf86IsPc98())
+#endif
+ if (xf86LoadSubModule(pScrn, "int10"))
+ {
xf86DrvMsg(pScrn->scrnIndex,X_INFO,"initializing int10\n");
pInt = xf86InitInt10(pCir->pEnt->index);
xf86FreeInt10(pInt);
@@ -546,7 +549,6 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
PCI_WRITE_LONG(pCir->PciInfo, PCI_REGION_BASE(pCir->PciInfo, 0, REGION_MEM), 0x10);
PCI_WRITE_LONG(pCir->PciInfo, PCI_REGION_BASE(pCir->PciInfo, 1, REGION_MEM), 0x14);
}
-#endif
/* Set pScrn->monitor */
pScrn->monitor = pScrn->confScreen->monitor;