Author: cgutman
Date: Sun Oct 23 01:16:54 2011
New Revision: 54236
URL:
http://svn.reactos.org/svn/reactos?rev=54236&view=rev
Log:
[VIDEOPRT]
- Check all PCI buses not just the first 8
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 [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/videoprt/videoprt.c [iso-8859-1] Sun Oct 23 01:16:54 2011
@@ -411,7 +411,7 @@
{
ULONG BusNumber, MaxBuses;
- MaxBuses = DeviceExtension->AdapterInterfaceType == PCIBus ? 8 : 1;
+ MaxBuses = DeviceExtension->AdapterInterfaceType == PCIBus ?
PCI_MAX_BRIDGE_NUMBER : 1;
for (BusNumber = 0; BusNumber < MaxBuses; BusNumber++)
{