[ros-diffs] [greatlrd] 27415: write out the bus name we say is not pnp, instead using number

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Fri Jul 6 10:19:10 CEST 2007


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/videoprt.c?rev=27415&r1=27414&r2=27415&view=diff
==============================================================================
--- 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");




More information about the Ros-diffs mailing list