Added timeout support to the ATA driver (timeout is 2 seconds)
[tpg/acess2.git] / Modules / USB / Core / main.c
index 5744c29..36e898c 100644 (file)
 #include "usb.h"
 
 // === IMPORTS ===
- int   UHCI_Initialise();
+extern int     UHCI_Initialise(void);
 
 // === PROTOTYPES ===
  int   USB_Install(char **Arguments);
-void   USB_Cleanup();
+void   USB_Cleanup(void);
 char   *USB_ReadDir(tVFS_Node *Node, int Pos);
 tVFS_Node      *USB_FindDir(tVFS_Node *Node, char *Name);
  int   USB_IOCtl(tVFS_Node *Node, int Id, void *Data);
 
 // === GLOBALS ===
-MODULE_DEFINE(0, VERSION, USB, USB_Install, NULL, NULL);
+MODULE_DEFINE(0, VERSION, USB_Core, USB_Install, NULL, NULL);
 tDevFS_Driver  gUSB_DrvInfo = {
        NULL, "usb", {
                .NumACLs = 1,
@@ -43,7 +43,7 @@ tUSBHost      *gUSB_Hosts = NULL;
 int USB_Install(char **Arguments)
 {
        UHCI_Initialise();
-       Warning("[USB  ] Not Complete - Devel Only");
+       Log_Warning("USB", "Not Complete - Devel Only");
        return MODULE_ERR_OK;
 }
 

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