[ros-diffs] [cgutman] 54236: [VIDEOPRT] - Check all PCI buses not just the first 8

cgutman at svn.reactos.org cgutman at svn.reactos.org
Sun Oct 23 01:16:55 UTC 2011


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/videoprt.c?rev=54236&r1=54235&r2=54236&view=diff
==============================================================================
--- 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++)
       {




More information about the Ros-diffs mailing list