diff options
author | hselasky <hselasky@FreeBSD.org> | 2012-09-09 14:41:34 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2012-09-09 14:41:34 +0000 |
commit | a7a5fbc7a57ae2c2389e01ac352f51c5e18dd8e2 (patch) | |
tree | 0d461e055ba84823afdb76284f97ac8545c4c147 /sys/dev/usb/controller/dwc_otgreg.h | |
parent | 8aa3be489e6a304db8df822fb2535972cbd7f2bd (diff) | |
download | FreeBSD-src-a7a5fbc7a57ae2c2389e01ac352f51c5e18dd8e2.zip FreeBSD-src-a7a5fbc7a57ae2c2389e01ac352f51c5e18dd8e2.tar.gz |
Add support for host mode to the DWC OTG controller driver.
The DWC OTG host mode support should still be considered
experimental. Isochronous support for DWC OTG is not
fully implemented. Some code added derives from
Aleksandr Rybalko's dotg.c driver.
Diffstat (limited to 'sys/dev/usb/controller/dwc_otgreg.h')
-rw-r--r-- | sys/dev/usb/controller/dwc_otgreg.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/controller/dwc_otgreg.h b/sys/dev/usb/controller/dwc_otgreg.h index c485e44..257a418 100644 --- a/sys/dev/usb/controller/dwc_otgreg.h +++ b/sys/dev/usb/controller/dwc_otgreg.h @@ -519,10 +519,8 @@ #define HCCHAR_ODDFRM (1<<29) #define HCCHAR_DEVADDR_SHIFT 22 #define HCCHAR_DEVADDR_MASK 0x1fc00000 -#define HCCHAR_MC_EC_SHIFT 20 -#define HCCHAR_MC_EC_MASK 0x00300000 -#define HCCHAR_EC_SHIFT 20 -#define HCCHAR_EC_MASK 0x00300000 +#define HCCHAR_MC_SHIFT 20 +#define HCCHAR_MC_MASK 0x00300000 #define HCCHAR_EPTYPE_SHIFT 18 #define HCCHAR_EPTYPE_MASK 0x000c0000 #define HCCHAR_LSPDDEV (1<<17) |