summaryrefslogtreecommitdiff
path: root/src/vesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vesa.c')
-rw-r--r--src/vesa.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vesa.c b/src/vesa.c
index 61461ab..2e1b2f7 100644
--- a/src/vesa.c
+++ b/src/vesa.c
@@ -138,10 +138,12 @@ static PciChipsets VESAPCIchipsets[] = {
};
#endif
+#ifdef HAVE_ISA
static IsaChipsets VESAISAchipsets[] = {
{CHIP_VESA_GENERIC, RES_EXCLUSIVE_VGA},
{-1, 0 }
};
+#endif
/*
@@ -446,6 +448,7 @@ VESAProbe(DriverPtr drv, int flags)
}
#endif
+#ifdef HAVE_ISA
/* Isa Bus */
numUsed = xf86MatchIsaInstances(VESA_NAME,VESAChipsets,
VESAISAchipsets, drv,
@@ -465,12 +468,14 @@ VESAProbe(DriverPtr drv, int flags)
}
xfree(usedChips);
}
+#endif
xfree(devSections);
return (foundScreen);
}
+#ifdef HAVE_ISA
static int
VESAFindIsaDevice(GDevPtr dev)
{
@@ -495,6 +500,7 @@ VESAFindIsaDevice(GDevPtr dev)
#endif
return (int)CHIP_VESA_GENERIC;
}
+#endif
static void
VESAFreeRec(ScrnInfoPtr pScrn)