X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FUSB%2FCore%2Fmain.c;h=cdbe2ee78df98580bdf7f7a0c1a4842578fc76a4;hb=4ebe00546574e97c5316881881f7f2562deea74b;hp=6ef7a2bba61e69ff0ac15ea9b6fac0cea9d95186;hpb=37416c25dfc4f0290b0e806aa7e6c2d3ae8e50e5;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/USB/Core/main.c b/KernelLand/Modules/USB/Core/main.c index 6ef7a2bb..cdbe2ee7 100644 --- a/KernelLand/Modules/USB/Core/main.c +++ b/KernelLand/Modules/USB/Core/main.c @@ -17,7 +17,7 @@ extern void USB_AsyncThread(void *Unused); // === PROTOTYPES === int USB_Install(char **Arguments); void USB_Cleanup(void); -char *USB_ReadDir(tVFS_Node *Node, int Pos); + int USB_ReadDir(tVFS_Node *Node, int Pos, char Dest[FILENAME_MAX]); tVFS_Node *USB_FindDir(tVFS_Node *Node, const char *Name); int USB_IOCtl(tVFS_Node *Node, int Id, void *Data); @@ -43,8 +43,6 @@ tDevFS_Driver gUSB_DrvInfo = { */ int USB_Install(char **Arguments) { - Log_Warning("USB", "Not Complete - Devel Only"); - Proc_SpawnWorker(USB_PollThread, NULL); Proc_SpawnWorker(USB_AsyncThread, NULL); @@ -62,9 +60,9 @@ void USB_Cleanup() * \fn char *USB_ReadDir(tVFS_Node *Node, int Pos) * \brief Read from the USB root */ -char *USB_ReadDir(tVFS_Node *Node, int Pos) +int USB_ReadDir(tVFS_Node *Node, int Pos, char Dest[FILENAME_MAX]) { - return NULL; + return -ENOTIMPL; } /**