git: 523c3992cf9e - main - ath10k: remove some early FreeBSD-specific debugging
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Aug 2026 16:54:16 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=523c3992cf9e50dce7948372ef703f0057e22561
commit 523c3992cf9e50dce7948372ef703f0057e22561
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-02-19 23:21:10 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-08-31 16:45:21 +0000
ath10k: remove some early FreeBSD-specific debugging
The extra DELAY seems to no longer be needed and the dump_stack()
is definitively a problem now. Remove all this.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
---
sys/contrib/dev/athk/ath10k/pci.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/sys/contrib/dev/athk/ath10k/pci.c b/sys/contrib/dev/athk/ath10k/pci.c
index f4c9af1e12fc..25dc48c0c591 100644
--- a/sys/contrib/dev/athk/ath10k/pci.c
+++ b/sys/contrib/dev/athk/ath10k/pci.c
@@ -1460,16 +1460,6 @@ int ath10k_pci_hif_tx_sg(struct ath10k *ar, u8 pipe_id,
#elif defined(__FreeBSD__)
"pci tx item %d paddr %pad len %d n_items %d pipe_id %u\n",
i, &items[i].paddr, items[i].len, n_items, pipe_id);
- /*
- * XXX-BZ specific debug; the DELAY makes things work for one chipset.
- * There's likely a race somewhere (here or LinuxKPI).
- */
- if (n_items == 1 && items[i].len == 140) {
- ath10k_dbg_dump(ar, ATH10K_DBG_PCI, NULL, "pci tx data: ",
- items[i].vaddr, items[i].len);
- dump_stack();
- DELAY(500);
- }
#endif
ath10k_dbg_dump(ar, ATH10K_DBG_PCI_DUMP, NULL, "pci tx data: ",
items[i].vaddr, items[i].len);