summaryrefslogtreecommitdiff
path: root/hw/xfree86/parser/Screen.c
diff options
context:
space:
mode:
authorDavid Nusinow <dnusinow@debian.org>2007-10-09 21:17:27 -0400
committerDavid Nusinow <dnusinow@debian.org>2007-10-09 22:13:15 -0400
commit6033d8150be3a115b90226eaa42f237bb0cf3369 (patch)
treef464af75df67cfa5aca9b62335bc0f64fca4e761 /hw/xfree86/parser/Screen.c
parent81d7b81146224f2b83278f5e21b3f9a36f30bd56 (diff)
First pass at improved video driver autoloading
This is what we're currently shipping in Debian. Enables the ability for drivers to ship a text file listing PCI ID's they support, and have the server read them on startup when no driver is specified. This works, but isn't the final solution.
Diffstat (limited to 'hw/xfree86/parser/Screen.c')
-rw-r--r--hw/xfree86/parser/Screen.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/hw/xfree86/parser/Screen.c b/hw/xfree86/parser/Screen.c
index 79e1d24ef..4df2b0560 100644
--- a/hw/xfree86/parser/Screen.c
+++ b/hw/xfree86/parser/Screen.c
@@ -526,15 +526,7 @@ xf86validateScreen (XF86ConfigPtr p)
}
}
- device = xf86findDevice (screen->scrn_device_str, p->conf_device_lst);
- if (!device)
- {
- xf86validationError (UNDEFINED_DEVICE_MSG,
- screen->scrn_device_str, screen->scrn_identifier);
- return (FALSE);
- }
- else
- screen->scrn_device = device;
+ screen->scrn_device= xf86findDevice (screen->scrn_device_str, p->conf_device_lst);
adaptor = screen->scrn_adaptor_lst;
while (adaptor)