aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/controller/dwc_otg.h
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-28 17:06:50 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-28 17:06:50 +0000
commit37a48d408f2b41e2c45952de3498a018b4d41b31 (patch)
tree325b15bf87a318f4858724f04b5fd7a7970dee1a /sys/dev/usb/controller/dwc_otg.h
parent3deada416849cf8be3f03a339b2774301025de02 (diff)
parentba78590287a343072fbf1cf3343cf236fce4703e (diff)
Notes
Diffstat (limited to 'sys/dev/usb/controller/dwc_otg.h')
-rw-r--r--sys/dev/usb/controller/dwc_otg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/controller/dwc_otg.h b/sys/dev/usb/controller/dwc_otg.h
index 1fa1bbf670511..52b3b914a0dbb 100644
--- a/sys/dev/usb/controller/dwc_otg.h
+++ b/sys/dev/usb/controller/dwc_otg.h
@@ -38,6 +38,9 @@
#define DWC_OTG_SLOT_IDLE_MAX 3
#define DWC_OTG_SLOT_IDLE_MIN 2
#define DWC_OTG_NAK_MAX 8 /* 1 ms */
+#ifndef DWC_OTG_TX_MAX_FIFO_SIZE
+#define DWC_OTG_TX_MAX_FIFO_SIZE DWC_OTG_MAX_TXN
+#endif
#define DWC_OTG_READ_4(sc, reg) \
bus_space_read_4((sc)->sc_io_tag, (sc)->sc_io_hdl, reg)