xserver/hw/xfree86
Søren Sandmann Pedersen 55246b67b7 xf86AddBusDeviceToConfigure(): Store device in DevToConfig[i].pVideo
After fc3ab84d the pVideo field in DevToConfig[i] is no longer
initialized, so it's always NULL. This causes the duplicate finding
algorithm in the beginning of the function to not work anymore as it
is based on this field.

The symptom of this bug is that X -configure reports

    Number of created screens does not match number of detected devices.
      Configuration failed.
    Server terminated with error (2). Closing log file.

rather than producing a working config file.

This patch fixes that bug by initializing the field before calling
xf86PciConfigureNewDev().

Cc: tvignatti@gmail.com
Signed-off-by: Soren Sandmann <ssp@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-31 18:23:03 -07:00
..
common xf86AddBusDeviceToConfigure(): Store device in DevToConfig[i].pVideo 2013-10-31 18:23:03 -07:00
ddc Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
dixmods glx: Remove DRI1 AIGLX (v2) 2013-10-29 10:30:43 -04:00
doc dix: Remove refs to mi backing store from docs 2012-09-23 10:31:39 -07:00
dri Merge remote-tracking branch 'yselkowitz/master' 2012-12-19 12:22:03 -08:00
dri2 Revert "DRI2: re-allocate DRI2 drawable if pixmap serial changes" 2013-06-18 10:54:22 -07:00
exa Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
fbdevhw Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
i2c Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
int10 xfree86: de-duplicate some AM_CPPFLAGS 2013-08-06 13:14:56 +10:00
loader Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
man xfree86/man: document AutoAddGPU 2013-08-01 14:45:56 +10:00
modes damage: Simplify DamageUnregister 2013-09-10 14:28:35 -04:00
os-support xfree86/hurd: include <hurd.h> 2013-10-05 15:26:21 +02:00
parser Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
ramdac Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
shadowfb Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
utils Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
vbe vbe: Don't try to load the ddc submodule 2013-09-10 13:28:24 -04:00
vgahw Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
x86emu Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
.gitignore xfree86: Move sdksyms generation to ddx toplevel 2011-06-23 05:28:31 -07:00
Makefile.am dri3: Add DRI3 extension 2013-10-31 16:58:30 -07:00
sdksyms.sh dri3: Add DRI3 extension 2013-10-31 16:58:30 -07:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00