diff options
author | hselasky <hselasky@FreeBSD.org> | 2012-11-09 16:28:58 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2012-11-09 16:28:58 +0000 |
commit | 6bb0563ddc5399b84698522a5b9d850038a38f31 (patch) | |
tree | b7e9ff31da54035528790fb1c17faed7fab2f980 /sys/dev/usb/controller/dwc_otgreg.h | |
parent | 3c8fa044cf34a658663e823843f0141de113049b (diff) | |
download | FreeBSD-src-6bb0563ddc5399b84698522a5b9d850038a38f31.zip FreeBSD-src-6bb0563ddc5399b84698522a5b9d850038a38f31.tar.gz |
Fix LOW and FULL speed USB INTERRUPT endpoint support for the
DWC OTG driver. Fix a hang issue when using LOW and FULL speed
BULK traffic. Make sure we don't ask for data in the last
microframe. This allows using devices like USB mice and USB
keyboards connected to the RPI-B.
Suggested by: gonzo @
Diffstat (limited to 'sys/dev/usb/controller/dwc_otgreg.h')
-rw-r--r-- | sys/dev/usb/controller/dwc_otgreg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/dwc_otgreg.h b/sys/dev/usb/controller/dwc_otgreg.h index a91f7dc..f59f48c 100644 --- a/sys/dev/usb/controller/dwc_otgreg.h +++ b/sys/dev/usb/controller/dwc_otgreg.h @@ -299,7 +299,7 @@ #define GRXSTSRD_DPID_DATA0 (0<<15) #define GRXSTSRD_DPID_DATA1 (2<<15) #define GRXSTSRD_DPID_DATA2 (1<<15) -#define GRXSTSRD_PID_MDATA (3<<15) +#define GRXSTSRD_DPID_MDATA (3<<15) #define GRXSTSRD_BCNT_MASK 0x00007ff0 #define GRXSTSRD_BCNT_GET(x) (((x) >> 4) & 0x7FF) #define GRXSTSRD_BCNT_SHIFT 4 |