summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/Osd
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-05-12 16:54:55 +0000
committernjl <njl@FreeBSD.org>2003-05-12 16:54:55 +0000
commitd6938ff673aa3c70c8930262e5c2cb754293487f (patch)
tree0be69f42a014f4345a14fec3a03053945bd7db28 /sys/dev/acpica/Osd
parent9096783972a36df14fbd7c8c5f9f58db0284c519 (diff)
downloadFreeBSD-src-d6938ff673aa3c70c8930262e5c2cb754293487f.zip
FreeBSD-src-d6938ff673aa3c70c8930262e5c2cb754293487f.tar.gz
Move some printfs under bootverbose since they are not true errors.
Approved by: re (bmah)
Diffstat (limited to 'sys/dev/acpica/Osd')
-rw-r--r--sys/dev/acpica/Osd/OsdHardware.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/acpica/Osd/OsdHardware.c b/sys/dev/acpica/Osd/OsdHardware.c
index 9eeae49..5c38cbf 100644
--- a/sys/dev/acpica/Osd/OsdHardware.c
+++ b/sys/dev/acpica/Osd/OsdHardware.c
@@ -175,7 +175,8 @@ acpi_bus_number(ACPI_HANDLE root, ACPI_HANDLE curr, ACPI_PCI_ID *PciId)
/* Try to get the _BBN object of the root, otherwise assume it is 0 */
bus = 0;
if (root == curr) {
- if (ACPI_FAILURE(acpi_EvaluateInteger(root, "_BBN", &bus)))
+ if (ACPI_FAILURE(acpi_EvaluateInteger(root, "_BBN", &bus)) &&
+ bootverbose)
printf("acpi_bus_number: root bus has no _BBN, assuming 0\n");
return (bus);
}
@@ -234,7 +235,8 @@ AcpiOsDerivePciId (
/* Try to read _BBN for bus number if we're at the root */
bus = 0;
if (rhandle == chandle) {
- if (ACPI_FAILURE(acpi_EvaluateInteger(rhandle, "_BBN", &bus)))
+ if (ACPI_FAILURE(acpi_EvaluateInteger(rhandle, "_BBN", &bus)) &&
+ bootverbose)
printf("AcpiOsDerivePciId: root bus has no _BBN, assuming 0\n");
}
/*
OpenPOWER on IntegriCloud