git: 627726b5b6fa - main - dwc: Move struct dwc_hash_maddr_ctx declaration in dwc1000_core
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Oct 2023 15:35:05 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=627726b5b6fa861079e1d4edd68374a2e798a9da commit 627726b5b6fa861079e1d4edd68374a2e798a9da Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2023-09-28 20:36:24 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2023-10-05 15:34:39 +0000 dwc: Move struct dwc_hash_maddr_ctx declaration in dwc1000_core it's only used there. No functional change intended. --- sys/dev/dwc/dwc1000_core.c | 5 +++++ sys/dev/dwc/dwc1000_dma.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/dev/dwc/dwc1000_core.c b/sys/dev/dwc/dwc1000_core.c index ef6db707a3a1..c93019a49f3e 100644 --- a/sys/dev/dwc/dwc1000_core.c +++ b/sys/dev/dwc/dwc1000_core.c @@ -71,6 +71,11 @@ #include "if_dwc_if.h" +struct dwc_hash_maddr_ctx { + struct dwc_softc *sc; + uint32_t hash[8]; +}; + #define STATS_HARVEST_INTERVAL 2 /* Pause time field in the transmitted control frame */ diff --git a/sys/dev/dwc/dwc1000_dma.h b/sys/dev/dwc/dwc1000_dma.h index 97cebd07f215..3858b14cc862 100644 --- a/sys/dev/dwc/dwc1000_dma.h +++ b/sys/dev/dwc/dwc1000_dma.h @@ -131,11 +131,6 @@ struct dwc_hwdesc uint32_t addr2; /* ptr to next descriptor / second buffer data*/ }; -struct dwc_hash_maddr_ctx { - struct dwc_softc *sc; - uint32_t hash[8]; -}; - /* * The hardware imposes alignment restrictions on various objects involved in * DMA transfers. These values are expressed in bytes (not bits).