]> err.no Git - linux-2.6/blobdiff - drivers/usb/host/ehci.h
[PATCH] handle errors returned by platform_get_irq*()
[linux-2.6] / drivers / usb / host / ehci.h
index 20c9b550097dc70e0bb3b326f144aa9628059b79..18e257c2bdb5fca1006246d50636b24c01a2570e 100644 (file)
@@ -97,6 +97,7 @@ struct ehci_hcd {                     /* one per controller */
 #else
 #      define COUNT(x) do {} while (0)
 #endif
+       u8                      sbrn;           /* packed release number */
 };
 
 /* convert between an HCD pointer and the corresponding EHCI_HCD */ 
@@ -263,6 +264,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"