diff options
| author | Hiroki Sato <hrs@FreeBSD.org> | 2006-09-24 09:39:17 +0000 |
|---|---|---|
| committer | Hiroki Sato <hrs@FreeBSD.org> | 2006-09-24 09:39:17 +0000 |
| commit | 8ee0930a997188432005e77f45e1e778ba51c27d (patch) | |
| tree | f44ec20ec2fdb42a16f0a1b9e30d3e20d87b80f8 /sys/dev/acpica | |
| parent | 790ca1147e03daeb08f2ee60221bfcdae75b76e5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/acpica')
| -rw-r--r-- | sys/dev/acpica/Osd/OsdHardware.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/acpica/Osd/OsdHardware.c b/sys/dev/acpica/Osd/OsdHardware.c index 0d98f707082c..575d57025890 100644 --- a/sys/dev/acpica/Osd/OsdHardware.c +++ b/sys/dev/acpica/Osd/OsdHardware.c @@ -126,7 +126,9 @@ AcpiOsReadPort(ACPI_IO_ADDRESS InPort, UINT32 *Value, UINT32 Width) error = acpi_os_check_port(InPort, Width); if (error != 0) { - printf("acpi: bad read from port 0x%03x (%d)\n", (int)InPort, Width); + if (bootverbose) + printf("acpi: bad read from port 0x%03x (%d)\n", + (int)InPort, Width); if (error == -1) return (AE_BAD_PARAMETER); } @@ -159,8 +161,9 @@ AcpiOsWritePort(ACPI_IO_ADDRESS OutPort, UINT32 Value, UINT32 Width) error = acpi_os_check_port(OutPort, Width); if (error != 0) { - printf("acpi: bad write to port 0x%03x (%d), val %#x\n", (int)OutPort, - Width, Value); + if (bootverbose) + printf("acpi: bad write to port 0x%03x (%d), val %#x\n", + (int)OutPort, Width, Value); if (error == -1) return (AE_BAD_PARAMETER); } |
