aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/controller/dwc_otgreg.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2012-09-23 12:19:19 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2012-09-23 12:19:19 +0000
commit3eabad2587893b4b3042db3b8ccbdb1400f9f308 (patch)
treef83539b3162927d4da36618d8ce6258c09a9431c /sys/dev/usb/controller/dwc_otgreg.h
parent3c12706c5e0386811d7d4dc99df198025e273b60 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/controller/dwc_otgreg.h')
-rw-r--r--sys/dev/usb/controller/dwc_otgreg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/dwc_otgreg.h b/sys/dev/usb/controller/dwc_otgreg.h
index 7aada41860d1..ddc6fbe046ad 100644
--- a/sys/dev/usb/controller/dwc_otgreg.h
+++ b/sys/dev/usb/controller/dwc_otgreg.h
@@ -541,7 +541,12 @@
#define HCSPLT_PRTADDR_SHIFT 0
#define HCSPLT_PRTADDR_MASK 0x0000007f
-#define HCINT_SUSPEND_ONLY (1<<21) /* BSD only */
+#define HCINT_ERRORS \
+ (HCINT_BBLERR | HCINT_XACTERR)
+#define HCINT_RETRY \
+ (HCINT_DATATGLERR | HCINT_FRMOVRUN | HCINT_NAK)
+
+#define HCINT_HALTED_ONLY (1<<21) /* BSD only */
#define HCINT_SOFTWARE_ONLY (1<<20) /* BSD only */
#define HCINT_DATATGLERR (1<<10)
#define HCINT_FRMOVRUN (1<<9)