diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2008-01-18 18:17:40 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2008-01-18 18:17:40 +0200 |
commit | 12c00111b68c9cf4872a424258c6f8b7247aac47 (patch) | |
tree | 183e2fa028dd2b56c18b0bac55050f88e8c9be98 /src/atimisc.c | |
parent | 24c7d134cd450f9e2cca85e4a2fc3253d250be04 (diff) |
use stand-alone drivers for each chip family.
Do not load the ati wrapper when the user specifies the sub-driver name in
the Driver line of xorg.conf. Also, for -configure cause the wrapper to fail
and let each sub-driver speak for themselves.
Diffstat (limited to 'src/atimisc.c')
-rw-r--r-- | src/atimisc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/atimisc.c b/src/atimisc.c index d71b0ad4..cf2347a3 100644 --- a/src/atimisc.c +++ b/src/atimisc.c @@ -27,6 +27,7 @@ #include "ati.h" #include "ativersion.h" +#include "atimach64probe.h" #include "atimach64version.h" /* Module loader interface for subsidiary driver module */ @@ -63,9 +64,8 @@ ATISetup if (!Inited) { - /* Ensure main driver module is loaded, but not as a submodule */ - if (!xf86ServerIsOnlyDetecting() && !LoaderSymbol(ATI_NAME)) - xf86LoadOneModule(ATI_DRIVER_NAME, Options); + if (xf86ServerIsOnlyDetecting() || !LoaderSymbol(ATI_NAME)) + xf86AddDriver(&MACH64, Module, 0); Inited = TRUE; } |