From 68be9235cf0d9bd16a9789e313e9e9db4e1383bc Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 23 Oct 2011 01:16:54 +0000 Subject: [PATCH] [VIDEOPRT] - Check all PCI buses not just the first 8 svn path=/trunk/; revision=54236 --- reactos/drivers/video/videoprt/videoprt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/video/videoprt/videoprt.c b/reactos/drivers/video/videoprt/videoprt.c index 3f6adb391b2..3dac521f9a8 100644 --- a/reactos/drivers/video/videoprt/videoprt.c +++ b/reactos/drivers/video/videoprt/videoprt.c @@ -411,7 +411,7 @@ IntVideoPortFindAdapter( { ULONG BusNumber, MaxBuses; - MaxBuses = DeviceExtension->AdapterInterfaceType == PCIBus ? 8 : 1; + MaxBuses = DeviceExtension->AdapterInterfaceType == PCIBus ? PCI_MAX_BRIDGE_NUMBER : 1; for (BusNumber = 0; BusNumber < MaxBuses; BusNumber++) {