[ACPI]
authorCameron Gutman <aicommander@gmail.com>
Thu, 29 Sep 2011 18:49:10 +0000 (18:49 +0000)
committerCameron Gutman <aicommander@gmail.com>
Thu, 29 Sep 2011 18:49:10 +0000 (18:49 +0000)
- Silence debug spam
- Add comment about the width parameter (bits not bytes)

svn path=/trunk/; revision=53894

reactos/drivers/bus/acpi/osl.c

index 2c36f38..ea43da7 100644 (file)
@@ -462,7 +462,7 @@ OslIsPciDevicePresent(ULONG BusNumber, ULONG SlotNumber)
                                        sizeof(PciConfig));
     if (ReadLength == 0)
     {
-        DPRINT1("PCI device is not present\n");
+        DPRINT("PCI device is not present\n");
         return FALSE;
     }
 
@@ -470,7 +470,7 @@ OslIsPciDevicePresent(ULONG BusNumber, ULONG SlotNumber)
 
     if (PciConfig.VendorID == PCI_INVALID_VENDORID)
     {
-        DPRINT1("Invalid vendor ID in PCI configuration space\n");
+        DPRINT("Invalid vendor ID in PCI configuration space\n");
         return FALSE;
     }
 
@@ -497,6 +497,7 @@ AcpiOsReadPciConfiguration (
     if (!OslIsPciDevicePresent(PciId->Bus, slot.u.AsULONG))
         return AE_NOT_FOUND;
 
+    /* Width is in BITS */
     HalGetBusDataByOffset(PCIConfiguration,
         PciId->Bus,
         slot.u.AsULONG,
@@ -526,6 +527,7 @@ AcpiOsWritePciConfiguration (
     if (!OslIsPciDevicePresent(PciId->Bus, slot.u.AsULONG))
         return AE_NOT_FOUND;
 
+    /* Width is in BITS */
     HalSetBusDataByOffset(PCIConfiguration,
         PciId->Bus,
         slot.u.AsULONG,