From e45dcf584a93545d56c17d6f258e811f5b97e7d4 Mon Sep 17 00:00:00 2001 From: phessler Date: Fri, 16 Feb 2024 09:03:29 +0000 Subject: [PATCH] start moving some developmental printfs to be DEBUG DPRINTFs requested and OK by stsp@ --- sys/dev/ic/qwx.c | 6 +++--- sys/dev/pci/if_qwx_pci.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/ic/qwx.c b/sys/dev/ic/qwx.c index 80a8e4786b1..a3f9e2f948d 100644 --- a/sys/dev/ic/qwx.c +++ b/sys/dev/ic/qwx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qwx.c,v 1.40 2024/02/15 16:29:45 stsp Exp $ */ +/* $OpenBSD: qwx.c,v 1.41 2024/02/16 09:03:29 phessler Exp $ */ /* * Copyright 2023 Stefan Sperling @@ -7098,7 +7098,7 @@ qwx_qrtr_recv_msg(struct qwx_softc *sc, struct mbuf *m) wakeup(&sc->qrtr_server); break; default: - printf("%s: unhandled qrtr type %u\n", + DPRINTF("%s: unhandled qrtr type %u\n", sc->sc_dev.dv_xname, type); return; } @@ -13003,7 +13003,7 @@ qwx_wmi_tlv_op_rx(struct qwx_softc *sc, struct mbuf *m) DPRINTF("%s: 0x%x: wlan freq avoid event\n", __func__, id); break; default: - printf("%s: unsupported event id 0x%x\n", __func__, id); + DPRINTF("%s: unsupported event id 0x%x\n", __func__, id); break; } diff --git a/sys/dev/pci/if_qwx_pci.c b/sys/dev/pci/if_qwx_pci.c index 627ef8c44a6..9fdc42c3879 100644 --- a/sys/dev/pci/if_qwx_pci.c +++ b/sys/dev/pci/if_qwx_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_qwx_pci.c,v 1.8 2024/02/09 14:57:36 bluhm Exp $ */ +/* $OpenBSD: if_qwx_pci.c,v 1.9 2024/02/16 09:03:29 phessler Exp $ */ /* * Copyright 2023 Stefan Sperling @@ -1568,7 +1568,7 @@ qwx_pcic_ext_irq_disable(struct qwx_softc *sc) if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, sc->sc_flags)) return; - printf("%s not implemented\n", __func__); + DPRINTF("%s not implemented\n", __func__); } void @@ -1582,7 +1582,7 @@ qwx_pcic_ext_irq_enable(struct qwx_softc *sc) if (!test_bit(ATH11K_FLAG_MULTI_MSI_VECTORS, sc->sc_flags)) return; - printf("%s not implemented\n", __func__); + DPRINTF("%s not implemented\n", __func__); } void -- 2.20.1