mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[ACPI]
- Silence debug spam - Add comment about the width parameter (bits not bytes) svn path=/trunk/; revision=53894
This commit is contained in:
parent
e1893d56b9
commit
c92dfc36c6
1 changed files with 4 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue