X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Modules%2FUSB%2Fuhci.c;h=2f1950a6630ae17395ec8d817968ad27c2e723d6;hb=243bdab4e7acc8516d9b1c138f45dc1195f97767;hp=65037ef0b4ef7372e03797590a6d25300d3b54de;hpb=6c5a509b5e14e097ca537c539bc9babe3b8f0c4c;p=tpg%2Facess2.git diff --git a/Modules/USB/uhci.c b/Modules/USB/uhci.c index 65037ef0..2f1950a6 100644 --- a/Modules/USB/uhci.c +++ b/Modules/USB/uhci.c @@ -60,8 +60,8 @@ int UHCI_Initialise() if(i == MAX_CONTROLLERS) { Warning("[UHCI ] Over "EXPAND_STR(MAX_CONTROLLERS)" UHCI controllers detected, ignoring rest"); } - LEAVE('i', 0); - return 0; + LEAVE('i', i); + return i; } /** @@ -71,13 +71,13 @@ int UHCI_Initialise() void UHCI_Cleanup() { } - -/** - * \fn int UHCI_IOCtl(tVFS_Node *Node, int ID, void *Data) - */ -int UHCI_IOCtl(tVFS_Node *Node, int ID, void *Data) -{ - return 0; + +/** + * \brief Sends a packet to a device endpoint + */ +int UHCI_SendPacket(int ControllerId, int Device, int Endpoint, void *Data, int Length) +{ + return 0; } // === INTERNAL FUNCTIONS ===