diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2014-05-11 09:23:50 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2014-05-11 09:23:50 +0000 |
commit | 44c60de1b6a6dcb60c651fbb194efa34835d8e00 (patch) | |
tree | 2ee339a0988b0e0e932b91c530e6d9a6d879a977 /sys/arch/octeon | |
parent | dab822dbee09f24fa603f2ebc39dd4e340b7eb7d (diff) |
hide two printfs behind an ifdef DEBUG; spotted by miod@
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r-- | sys/arch/octeon/dev/octeon_pcibus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/octeon/dev/octeon_pcibus.c b/sys/arch/octeon/dev/octeon_pcibus.c index 509261a5db9..1fe8f1051b8 100644 --- a/sys/arch/octeon/dev/octeon_pcibus.c +++ b/sys/arch/octeon/dev/octeon_pcibus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octeon_pcibus.c,v 1.13 2014/05/10 22:25:16 jasper Exp $ */ +/* $OpenBSD: octeon_pcibus.c,v 1.14 2014/05/11 09:23:49 jasper Exp $ */ /* $NetBSD: bonito_mainbus.c,v 1.11 2008/04/28 20:23:10 martin Exp $ */ /* $NetBSD: bonito_pci.c,v 1.5 2008/04/28 20:23:28 martin Exp $ */ @@ -248,7 +248,7 @@ octeon_pcibus_attach(struct device *parent, struct device *self, void *aux) bus_addr_t octeon_pcibus_pa_to_device(paddr_t pa) { - printf("%s:%d: pa=%p\n", __func__, __LINE__, (void *)pa); + OCTEON_PCIDEBUG(("%s:%d: pa=%p\n", __func__, __LINE__, (void *)pa)); return pa & 0x1ffffffffffffUL; } @@ -256,7 +256,7 @@ octeon_pcibus_pa_to_device(paddr_t pa) paddr_t octeon_pcibus_device_to_pa(bus_addr_t addr) { - printf("%s:%d: addr=%lx\n", __func__, __LINE__, addr); + OCTEON_PCIDEBUG(("%s:%d: addr=%lx\n", __func__, __LINE__, addr)); return PHYS_TO_XKPHYS(addr, CCA_NC); } |