diff options
author | grehan <grehan@FreeBSD.org> | 2013-10-18 21:42:47 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2013-10-18 21:42:47 +0000 |
commit | 4bbe413766853fb56498b922eeb0146111eb7ca3 (patch) | |
tree | 7d2ecf49cd8e1a92aab41c1cf70e15b87038634a /usr.sbin | |
parent | 7cc377054855b77d914cd5662b99426e2ad7c8fe (diff) | |
download | FreeBSD-src-4bbe413766853fb56498b922eeb0146111eb7ca3.zip FreeBSD-src-4bbe413766853fb56498b922eeb0146111eb7ca3.tar.gz |
MFC r256709:
Eliminate unconditional debug printfs.
Linux writes to these nominally read-only registers,
so avoid having bhyve write warning messages to stdout
when the reg writes can be safely ignored. Change the
WPRINTF to DPRINTF which is conditional.
Approved by: re (gjb)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bhyve/pci_ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyve/pci_ahci.c b/usr.sbin/bhyve/pci_ahci.c index f69f127..76f263b 100644 --- a/usr.sbin/bhyve/pci_ahci.c +++ b/usr.sbin/bhyve/pci_ahci.c @@ -1543,7 +1543,7 @@ pci_ahci_host_write(struct pci_ahci_softc *sc, uint64_t offset, uint64_t value) case AHCI_PI: case AHCI_VS: case AHCI_CAP2: - WPRINTF("pci_ahci_host: read only registers 0x%"PRIx64"\n", offset); + DPRINTF("pci_ahci_host: read only registers 0x%"PRIx64"\n", offset); break; case AHCI_GHC: if (value & AHCI_GHC_HR) |