Author: cgutman Date: Thu Sep 29 18:49:10 2011 New Revision: 53894 URL: http://svn.reactos.org/svn/reactos?rev=53894&view=rev Log: [ACPI] - Silence debug spam - Add comment about the width parameter (bits not bytes)
Modified: trunk/reactos/drivers/bus/acpi/osl.c Modified: trunk/reactos/drivers/bus/acpi/osl.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/osl.c?rev=53894&r1=53893&r2=53894&view=diff ============================================================================== --- trunk/reactos/drivers/bus/acpi/osl.c [iso-8859-1] (original) +++ trunk/reactos/drivers/bus/acpi/osl.c [iso-8859-1] Thu Sep 29 18:49:10 2011 @@ -462,7 +462,7 @@ 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 @@ 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 @@ 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 @@ if (!OslIsPciDevicePresent(PciId->Bus, slot.u.AsULONG)) return AE_NOT_FOUND; + /* Width is in BITS */ HalSetBusDataByOffset(PCIConfiguration, PciId->Bus, slot.u.AsULONG,