]> err.no Git - linux-2.6/blobdiff - drivers/usb/host/ehci.h
[PATCH] USB: EHCI port tweaks
[linux-2.6] / drivers / usb / host / ehci.h
index 20c9b550097dc70e0bb3b326f144aa9628059b79..f34a0516d35ff2b63ae0355080db4016b91343a8 100644 (file)
@@ -263,6 +263,7 @@ struct ehci_regs {
 #define PORT_PE                (1<<2)          /* port enable */
 #define PORT_CSC       (1<<1)          /* connect status change */
 #define PORT_CONNECT   (1<<0)          /* device connected */
+#define PORT_RWC_BITS   (PORT_CSC | PORT_PEC | PORT_OCC)
 } __attribute__ ((packed));
 
 /* Appendix C, Debug port ... intended for use with special "debug devices"