But, TEGRA_EHCI_USBMODE_REG is 0x1f8.
Is this register a machine-dependent?
Hashimoto Kenichi
Index: ehcireg.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/ehcireg.h,v
retrieving revision 1.34
diff -u -r1.34 ehcireg.h
--- ehcireg.h 4 Nov 2012 12:01:55 -0000 1.34
+++ ehcireg.h 11 Aug 2015 06:42:18 -0000
@@ -175,7 +175,7 @@
#define EHCI_PORT_RESET_COMPLETE 2 /* ms */
-#define EHCI_USBMODE 0xa8 /* USB Device mode */
+#define EHCI_USBMODE 0x68 /* USB Device mode (Freescale SoC) */
#define EHCI_USBMODE_SDIS __BIT(4) /* Stream disable mode 1=act */
#define EHCI_USBMODE_SLOM __BIT(3) /* setup lockouts on */
#define EHCI_USBMODE_ES __BIT(2) /* Endian Select ES=1 */