summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/dev/dwc/if_dwcvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/dev/dwc/if_dwcvar.h')
-rw-r--r--freebsd/sys/dev/dwc/if_dwcvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/freebsd/sys/dev/dwc/if_dwcvar.h b/freebsd/sys/dev/dwc/if_dwcvar.h
index d9198bda..d832f1a3 100644
--- a/freebsd/sys/dev/dwc/if_dwcvar.h
+++ b/freebsd/sys/dev/dwc/if_dwcvar.h
@@ -49,6 +49,7 @@
#define RX_DESC_SIZE (sizeof(struct dwc_hwdesc) * RX_DESC_COUNT)
#define TX_DESC_COUNT 1024
#define TX_DESC_SIZE (sizeof(struct dwc_hwdesc) * TX_DESC_COUNT)
+#define TX_MAX_DMA_SEGS 8 /* maximum segs in a tx mbuf dma */
struct dwc_bufmap {
bus_dmamap_t map;