[ros-diffs] [cgutman] 45855: - Fail HwFindAdapter if VESA is disabled - This should allow VGA to take over but it doesn't work due to a bug in videoprt

cgutman at svn.reactos.org cgutman at svn.reactos.org
Fri Mar 5 02:09:25 CET 2010


Author: cgutman
Date: Fri Mar  5 02:09:24 2010
New Revision: 45855

URL: http://svn.reactos.org/svn/reactos?rev=45855&view=rev
Log:
 - Fail HwFindAdapter if VESA is disabled
 - This should allow VGA to take over but it doesn't work due to a bug in videoprt

Modified:
    trunk/reactos/drivers/video/miniport/vbe/vbemp.c

Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/miniport/vbe/vbemp.c?rev=45855&r1=45854&r2=45855&view=diff
==============================================================================
--- trunk/reactos/drivers/video/miniport/vbe/vbemp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/miniport/vbe/vbemp.c [iso-8859-1] Fri Mar  5 02:09:24 2010
@@ -71,6 +71,9 @@
    IN OUT PVIDEO_PORT_CONFIG_INFO ConfigInfo,
    OUT PUCHAR Again)
 {
+   if (VideoPortIsNoVesa())
+       return ERROR_DEV_NOT_EXIST;
+
    return NO_ERROR;
 }
 




More information about the Ros-diffs mailing list