Sync with trunk r58740.
[reactos.git] / drivers / bus / pcix / pci / ppbridge.c
index b7a9356..26cbb30 100644 (file)
@@ -491,7 +491,7 @@ PPBridge_SaveLimits(IN PPCI_CONFIGURATOR_CONTEXT Context)
 
             /* Skip the next descriptor since this one is double sized */
             i++;
-            (&Limit[i])->Type == CmResourceTypeNull;
+            Limit[i].Type = CmResourceTypeNull;
         }
     }
 
@@ -671,8 +671,7 @@ NTAPI
 PPBridge_ResetDevice(IN PPCI_PDO_EXTENSION PdoExtension,
                      IN PPCI_COMMON_HEADER PciData)
 {
-    UNIMPLEMENTED;
-    while (TRUE);
+    UNIMPLEMENTED_DBGBREAK();
 }
 
 VOID
@@ -680,13 +679,13 @@ NTAPI
 PPBridge_ChangeResourceSettings(IN PPCI_PDO_EXTENSION PdoExtension,
                                 IN PPCI_COMMON_HEADER PciData)
 {
-    BOOLEAN IoActive;
+    //BOOLEAN IoActive;
     PPCI_FDO_EXTENSION FdoExtension;
     PPCI_FUNCTION_RESOURCES PciResources;
     ULONG i;
 
     /* Check if I/O Decodes are enabled */
-    IoActive = (PciData->u.type1.IOBase & 0xF) == 1;
+    //IoActive = (PciData->u.type1.IOBase & 0xF) == 1;
 
     /*
      * Check for Intel ICH PCI-to-PCI (i82801) bridges (used on the i810,