From c92dfc36c657efe178e33181e0c97a5d82dce41e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 29 Sep 2011 18:49:10 +0000 Subject: [PATCH] [ACPI] - Silence debug spam - Add comment about the width parameter (bits not bytes) svn path=/trunk/; revision=53894 --- reactos/drivers/bus/acpi/osl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/bus/acpi/osl.c b/reactos/drivers/bus/acpi/osl.c index 2c36f3852cb..ea43da725b9 100644 --- a/reactos/drivers/bus/acpi/osl.c +++ b/reactos/drivers/bus/acpi/osl.c @@ -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,