Usermode/libaxwin4 - Handle demarshal failure
[tpg/acess2.git] / KernelLand / Modules / USB / Core / include / usb_hub.h
index 6b32d49..b38b101 100644 (file)
@@ -23,5 +23,26 @@ extern void  USB_RemoveHub(tUSBHub *Hub);
 extern void    USB_DeviceConnected(tUSBHub *Hub, int Port);
 extern void    USB_DeviceDisconnected(tUSBHub *Hub, int Port);
 
+#define PORT_CONNECTION        0
+#define PORT_ENABLE    1
+#define PORT_SUSPEND   2
+#define PORT_OVER_CURRENT      3
+#define PORT_RESET     4
+#define PORT_POWER     8
+#define PORT_LOW_SPEED 9
+#define C_PORT_CONNECTION      16
+#define C_PORT_ENABLE  17
+#define C_PORT_SUSPEND 18
+#define C_PORT_OVER_CURRENT    19
+#define C_PORT_RESET   20
+#define PORT_TEST      21
+#define PORT_INDICATOR 21
+
+extern void    Hub_SetPortFeature(tUSBInterface *HubDev, int Port, int Feat);
+extern void    Hub_ClearPortFeature(tUSBInterface *HubDev, int Port, int Feat);
+extern int     Hub_GetPortStatus(tUSBInterface *HubDev, int Port, int Flag);
+
+extern void    USB_PortCtl_BeginReset(tUSBHub *Hub, int Port);
+
 #endif
 

UCC git Repository :: git.ucc.asn.au