summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/dwc_otg.h
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2012-09-27 15:23:38 +0000
committerhselasky <hselasky@FreeBSD.org>2012-09-27 15:23:38 +0000
commitb3f5fac122016c5fb684531f1d9a0f948f8736b0 (patch)
tree0393e0f01148ff6e65e103df8b404934f319cc0e /sys/dev/usb/controller/dwc_otg.h
parentd677fb07e182e385be1459f5c49b3c4a8676b360 (diff)
downloadFreeBSD-src-b3f5fac122016c5fb684531f1d9a0f948f8736b0.zip
FreeBSD-src-b3f5fac122016c5fb684531f1d9a0f948f8736b0.tar.gz
Make sure we record NAK tokens in the TD structure for IN direction.
Improve host channel disabling. Wait two times 125us for channel to be disabled. The DWC OTG doesn't like when channels are re-used too early.
Diffstat (limited to 'sys/dev/usb/controller/dwc_otg.h')
-rw-r--r--sys/dev/usb/controller/dwc_otg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/dwc_otg.h b/sys/dev/usb/controller/dwc_otg.h
index f58ddec..1ff2583 100644
--- a/sys/dev/usb/controller/dwc_otg.h
+++ b/sys/dev/usb/controller/dwc_otg.h
@@ -140,7 +140,7 @@ struct dwc_otg_profile {
struct dwc_otg_chan_state {
uint32_t hcint;
- uint16_t last_frame;
+ uint8_t wait_sof;
uint8_t allocated;
uint8_t suspended;
};
OpenPOWER on IntegriCloud