Author: greatlrd
Date: Fri Jul 6 12:19:09 2007
New Revision: 27415
URL:
http://svn.reactos.org/svn/reactos?rev=27415&view=rev
Log:
write out the bus name we say is not pnp, instead using number
Modified:
trunk/reactos/drivers/video/videoprt/videoprt.c
Modified: trunk/reactos/drivers/video/videoprt/videoprt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/vid…
==============================================================================
--- trunk/reactos/drivers/video/videoprt/videoprt.c (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.c Fri Jul 6 12:19:09 2007
@@ -21,6 +21,7 @@
* $Id$
*/
+
#include "videoprt.h"
#include <wdmguid.h>
@@ -714,8 +715,9 @@
}
/* add no PNP bus here, add more bus type if it needed */
- if ( (HwInitializationData->AdapterInterfaceType == 0) ||
- (HwInitializationData->AdapterInterfaceType == -1) )
+
+ if ( (HwInitializationData->AdapterInterfaceType == InterfaceTypeUndefined) ||
+ (HwInitializationData->AdapterInterfaceType == Internal) )
{
DPRINT1("No PNP Videocard .\n");