socsvn commit: r257759 - soc2013/bguan/head/sys/dev/xen/usbfront
bguan at FreeBSD.org
bguan at FreeBSD.org
Fri Sep 27 11:36:25 UTC 2013
Author: bguan
Date: Fri Sep 27 11:36:25 2013
New Revision: 257759
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=257759
Log:
set the pipe methods for xen usb host controller
Modified:
soc2013/bguan/head/sys/dev/xen/usbfront/xenhcireg.h
Modified: soc2013/bguan/head/sys/dev/xen/usbfront/xenhcireg.h
==============================================================================
--- soc2013/bguan/head/sys/dev/xen/usbfront/xenhcireg.h Fri Sep 27 11:31:17 2013 (r257758)
+++ soc2013/bguan/head/sys/dev/xen/usbfront/xenhcireg.h Fri Sep 27 11:36:25 2013 (r257759)
@@ -35,12 +35,12 @@
#define XENHCI_PS_OCA 0x00000008 /* RO - over current active */
#define XENHCI_PS_PR 0x00000010 /* RW - port reset */
#define XENHCI_PS_PLS_GET(x) (((x) >> 5) & 0xF) /* RW - port link state */
-#define XHCI_PS_PLS_SET(x) (((x) & 0xF) << 5) /* RW - port link state */
+#define XENHCI_PS_PLS_SET(x) (((x) & 0xF) << 5) /* RW - port link state */
#define XENHCI_PS_PP 0x00000200 /* RW - port power */
#define XENHCI_PS_SPEED_GET(x) (((x) >> 10) & 0xF) /* RO - port speed */
-#define XHCI_PS_PIC_GET(x) (((x) >> 14) & 0x3) /* RW - port indicator */
-#define XHCI_PS_PIC_SET(x) (((x) & 0x3) << 14) /* RW - port indicator */
-#define XHCI_PS_LWS 0x00010000 /* RW - port link state write strobe */
+#define XENHCI_PS_PIC_GET(x) (((x) >> 14) & 0x3) /* RW - port indicator */
+#define XENHCI_PS_PIC_SET(x) (((x) & 0x3) << 14) /* RW - port indicator */
+#define XENHCI_PS_LWS 0x00010000 /* RW - port link state write strobe */
#define XENHCI_PS_CSC 0x00020000 /* RW - connect status change */
#define XENHCI_PS_PEC 0x00040000 /* RW - port enable/disable change */
#define XENHCI_PS_WRC 0x00080000 /* RW - warm port reset change */
More information about the svn-soc-all
mailing list