From aeccd973cc6149dfd02313402c8785111fff1294 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Fri, 6 Jul 2007 08:19:09 +0000 Subject: [PATCH] write out the bus name we say is not pnp, instead using number svn path=/trunk/; revision=27415 --- reactos/drivers/video/videoprt/videoprt.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/video/videoprt/videoprt.c b/reactos/drivers/video/videoprt/videoprt.c index 9b2981dc361..6cb82ab12b4 100644 --- a/reactos/drivers/video/videoprt/videoprt.c +++ b/reactos/drivers/video/videoprt/videoprt.c @@ -21,6 +21,7 @@ * $Id$ */ + #include "videoprt.h" #include @@ -714,8 +715,9 @@ VideoPortInitialize( } /* 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");