PERFORCE change 154064 for review
Sam Leffler
sam at FreeBSD.org
Thu Dec 4 11:11:34 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=154064
Change 154064 by sam at sam_ebb on 2008/12/04 19:11:25
add USB device mode register defs
Affected files ...
.. //depot/projects/vap/sys/dev/usb/ehcireg.h#7 edit
Differences ...
==== //depot/projects/vap/sys/dev/usb/ehcireg.h#7 (text+ko) ====
@@ -173,6 +173,15 @@
#define EHCI_PS_CS 0x00000001 /* RO connect status */
#define EHCI_PS_CLEAR (EHCI_PS_OCC|EHCI_PS_PEC|EHCI_PS_CSC)
+#define EHCI_USBMODE 0x68 /* RW USB Device mode register */
+#define EHCI_UM_CM 0x00000003 /* R/WO Controller Mode */
+#define EHCI_UM_CM_IDLE 0x0 /* Idle */
+#define EHCI_UM_CM_HOST 0x3 /* Host Controller */
+#define EHCI_UM_ES 0x00000004 /* R/WO Endian Select */
+#define EHCI_UM_ES_LE 0x0 /* Little-endian byte alignment */
+#define EHCI_UM_ES_BE 0x4 /* Big-endian byte alignment */
+#define EHCI_UM_SDIS 0x00000010 /* R/WO Stream Disable Mode */
+
#define EHCI_PORT_RESET_COMPLETE 2 /* ms */
#define EHCI_FLALIGN_ALIGN 0x1000
More information about the p4-projects
mailing list