Author: cgutman
Date: Sun Mar 11 17:20:39 2012
New Revision: 56119
URL:
http://svn.reactos.org/svn/reactos?rev=56119&view=rev
Log:
[VBEMP]
- Fix EDID reading using SCI
Modified:
trunk/reactos/drivers/video/miniport/vbe/edid.c
Modified: trunk/reactos/drivers/video/miniport/vbe/edid.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/miniport/vbe…
==============================================================================
--- trunk/reactos/drivers/video/miniport/vbe/edid.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/miniport/vbe/edid.c [iso-8859-1] Sun Mar 11 17:20:39 2012
@@ -121,7 +121,7 @@
VideoPortZeroMemory(&BiosRegisters, sizeof(BiosRegisters));
BiosRegisters.Eax = VBE_DDC;
BiosRegisters.Ebx = VBE_DDC_REPORT_CAPABILITIES;
- BiosRegisters.Ecx = VBEDeviceExtension->CurrentChildIndex;
+ BiosRegisters.Ecx = ChildIndex;
VBEDeviceExtension->Int10Interface.Int10CallBios(
VBEDeviceExtension->Int10Interface.Context,
&BiosRegisters);
@@ -137,7 +137,7 @@
VideoPortZeroMemory(&BiosRegisters, sizeof(BiosRegisters));
BiosRegisters.Eax = VBE_DDC;
BiosRegisters.Ebx = VBE_DDC_BEGIN_SCL_SDA_CONTROL;
- BiosRegisters.Ecx = VBEDeviceExtension->CurrentChildIndex;
+ BiosRegisters.Ecx = ChildIndex;
VBEDeviceExtension->Int10Interface.Int10CallBios(
VBEDeviceExtension->Int10Interface.Context,
&BiosRegisters);