summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Nusinow <dnusinow@debian.org>2007-10-09 22:11:58 -0400
committerDavid Nusinow <dnusinow@debian.org>2007-10-09 22:13:15 -0400
commit37898b824fdc94735495e3494aa2b9a681d477b9 (patch)
tree30e45c377a0872dcdecc07fbcf84f8894fc28320
parent847fbbf4d25132e6c1f99fcf82fe757dbca94a34 (diff)
Use the best guess heuristic as a fallback for autoloading
This prevents breaking the current behavior
-rw-r--r--hw/xfree86/common/xf86AutoConfig.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
index 9624d92bb..bf41c4dd3 100644
--- a/hw/xfree86/common/xf86AutoConfig.c
+++ b/hw/xfree86/common/xf86AutoConfig.c
@@ -462,6 +462,8 @@ chooseVideoDriver(void)
if (matches[0]) {
chosen_driver = matches[0];
} else {
+ chosen_driver = videoPtrToDriverName(info);
+ #if 0 /* Save for later */
#if defined __i386__ || defined __amd64__ || defined __hurd__
chosen_driver = "vesa";
#elif defined __alpha__
@@ -471,6 +473,7 @@ chooseVideoDriver(void)
#else
chosen_driver = "fbdev";
#endif
+ #endif
}
xf86Msg(X_DEFAULT, "Matched %s for the autoconfigured driver\n", chosen_driver);