mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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));
|
sizeof(PciConfig));
|
||||||
if (ReadLength == 0)
|
if (ReadLength == 0)
|
||||||
{
|
{
|
||||||
DPRINT1("PCI device is not present\n");
|
DPRINT("PCI device is not present\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -470,7 +470,7 @@ OslIsPciDevicePresent(ULONG BusNumber, ULONG SlotNumber)
|
||||||
|
|
||||||
if (PciConfig.VendorID == PCI_INVALID_VENDORID)
|
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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -497,6 +497,7 @@ AcpiOsReadPciConfiguration (
|
||||||
if (!OslIsPciDevicePresent(PciId->Bus, slot.u.AsULONG))
|
if (!OslIsPciDevicePresent(PciId->Bus, slot.u.AsULONG))
|
||||||
return AE_NOT_FOUND;
|
return AE_NOT_FOUND;
|
||||||
|
|
||||||
|
/* Width is in BITS */
|
||||||
HalGetBusDataByOffset(PCIConfiguration,
|
HalGetBusDataByOffset(PCIConfiguration,
|
||||||
PciId->Bus,
|
PciId->Bus,
|
||||||
slot.u.AsULONG,
|
slot.u.AsULONG,
|
||||||
|
@ -526,6 +527,7 @@ AcpiOsWritePciConfiguration (
|
||||||
if (!OslIsPciDevicePresent(PciId->Bus, slot.u.AsULONG))
|
if (!OslIsPciDevicePresent(PciId->Bus, slot.u.AsULONG))
|
||||||
return AE_NOT_FOUND;
|
return AE_NOT_FOUND;
|
||||||
|
|
||||||
|
/* Width is in BITS */
|
||||||
HalSetBusDataByOffset(PCIConfiguration,
|
HalSetBusDataByOffset(PCIConfiguration,
|
||||||
PciId->Bus,
|
PciId->Bus,
|
||||||
slot.u.AsULONG,
|
slot.u.AsULONG,
|
||||||
|
|
Loading…
Reference in a new issue