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…
==============================================================================
--- 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;
}