Added cb.o to the UDI objects list
[tpg/acess2.git] / Modules / USB / uhci.c
index 65037ef..55faeb0 100644 (file)
@@ -3,7 +3,7 @@
  * Universal Host Controller Interface\r
  */\r
 #define DEBUG  1\r
-#include <common.h>\r
+#include <acess.h>\r
 #include <vfs.h>\r
 #include <drv_pci.h>\r
 #include "usb.h"\r
@@ -60,8 +60,8 @@ int UHCI_Initialise()
        if(i == MAX_CONTROLLERS) {\r
                Warning("[UHCI ] Over "EXPAND_STR(MAX_CONTROLLERS)" UHCI controllers detected, ignoring rest");\r
        }\r
-       LEAVE('i', 0);\r
-       return 0;\r
+       LEAVE('i', i);\r
+       return i;\r
 }\r
 \r
 /**\r
@@ -71,13 +71,13 @@ int UHCI_Initialise()
 void UHCI_Cleanup()\r
 {\r
 }
-
-/**
- * \fn int UHCI_IOCtl(tVFS_Node *Node, int ID, void *Data)
- */
-int UHCI_IOCtl(tVFS_Node *Node, int ID, void *Data)
-{
-       return 0;
+\r
+/**\r
+ * \brief Sends a packet to a device endpoint\r
+ */\r
+int UHCI_SendPacket(int ControllerId, int Device, int Endpoint, void *Data, int Length)\r
+{\r
+       return 0;\r
 }\r
 \r
 // === INTERNAL FUNCTIONS ===\r

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