aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2023-09-28 20:36:24 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2023-10-05 15:34:39 +0000
commit627726b5b6fa861079e1d4edd68374a2e798a9da (patch)
tree7a601796ee91ea542bcd52512f1b76607b0192f1 /sys/dev
parentafa0f66e81ccd6a946133bb9aceaf1fe59370431 (diff)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/dwc/dwc1000_core.c5
-rw-r--r--sys/dev/dwc/dwc1000_dma.h5
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).