summaryrefslogtreecommitdiff
path: root/src/ati.c
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-03-08 17:43:48 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-03-08 18:37:48 +0200
commit50a524445ed1ea3c4fab56de772921ba86a21d35 (patch)
tree1c7fdedb37ed3552796f35be50930a05df69d3e9 /src/ati.c
parent52684241ba1ffb393cb655ecc09cbd0cef5b1717 (diff)
Move atioption.c from ati to atimisc.
Diffstat (limited to 'src/ati.c')
-rw-r--r--src/ati.c24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/ati.c b/src/ati.c
index 4d50aecd..e7a5aeef 100644
--- a/src/ati.c
+++ b/src/ati.c
@@ -59,7 +59,6 @@
#include "ati.h"
#include "atichip.h"
-#include "atioption.h"
#include "ativersion.h"
#include "atimach64probe.h"
@@ -154,6 +153,29 @@ ATIProbe
return ProbeSuccess;
}
+/*
+ * ATIAvailableOptions --
+ *
+ * Return recognised options that are intended for public consumption.
+ */
+const OptionInfoRec *
+ATIAvailableOptions
+(
+ int ChipId,
+ int BusId
+)
+{
+ const OptionInfoRec *pOptions;
+
+ if ((pOptions = R128AvailableOptions(ChipId, BusId)))
+ return pOptions;
+
+ if ((pOptions = RADEONAvailableOptions(ChipId, BusId)))
+ return pOptions;
+
+ return Mach64AvailableOptions(ChipId, BusId);
+}
+
/* The root of all evil... */
_X_EXPORT DriverRec ATI =
{