aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2003-05-12 16:54:55 +0000
committerNate Lawson <njl@FreeBSD.org>2003-05-12 16:54:55 +0000
commit014ed75b27dc76f930ae1ed7782f8569e04204b0 (patch)
tree0be69f42a014f4345a14fec3a03053945bd7db28 /sys
parent69d691371afae3aea0a6d625f63d65d95a68ee75 (diff)
downloadsrc-014ed75b27dc76f930ae1ed7782f8569e04204b0.tar.gz
src-014ed75b27dc76f930ae1ed7782f8569e04204b0.zip
Move some printfs under bootverbose since they are not true errors.
Approved by: re (bmah)
Notes
Notes: svn path=/head/; revision=114949
Diffstat (limited to 'sys')
-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 9eeae49f6bf5..5c38cbf2649c 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");
}
/*