mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
xfree86: Unbreak autoconfig following 0abf065e38
The move of the PCI device id probing into a separate file neglected to return the number of found devices, and so the PCI devices were being overwritten by the default entries for vesa and fbdev. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tiago Vignatti <tiago.vignatti@nokia.com> Cc: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
1304b8b27c
commit
d90f2cd98a
3 changed files with 9 additions and 3 deletions
|
|
@ -257,7 +257,7 @@ listPossibleVideoDrivers(char *matches[], int nmatches)
|
|||
}
|
||||
#endif
|
||||
|
||||
xf86PciMatchDriver(matches, nmatches);
|
||||
i = xf86PciMatchDriver(matches, nmatches);
|
||||
|
||||
/* Fallback to platform default hardware */
|
||||
if (i < (nmatches - 1)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue