Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

EHCI_USBMODE register



USB keyboard of NetWalker has become unusable with the following changes.
http://cvsweb.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/usb/ehci.c.diff?r1=1.241&r2=1.242&f=h

In the case of Freescale SoC (i.MX5), EHCI_USBMODE is 0x68 (0x1a8).
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 */




Home | Main Index | Thread Index | Old Index