diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2007-03-08 17:43:48 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-03-08 18:37:48 +0200 |
commit | 50a524445ed1ea3c4fab56de772921ba86a21d35 (patch) | |
tree | 1c7fdedb37ed3552796f35be50930a05df69d3e9 /src/ati.c | |
parent | 52684241ba1ffb393cb655ecc09cbd0cef5b1717 (diff) |
Move atioption.c from ati to atimisc.
Diffstat (limited to 'src/ati.c')
-rw-r--r-- | src/ati.c | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -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 = { |