5 #define VERSION ( (0<<8)| 5 )
14 int UHCI_Initialise();
17 int USB_Install(char **Arguments);
19 char *USB_ReadDir(tVFS_Node *Node, int Pos);
20 tVFS_Node *USB_FindDir(tVFS_Node *Node, char *Name);
21 int USB_IOCtl(tVFS_Node *Node, int Id, void *Data);
24 MODULE_DEFINE(0, VERSION, USB, USB_Install, NULL, NULL);
25 tDevFS_Driver gUSB_DrvInfo = {
28 .ACLs = &gVFS_ACL_EveryoneRX,
29 .Flags = VFS_FFLAG_DIRECTORY,
30 .ReadDir = USB_ReadDir,
31 .FindDir = USB_FindDir,
35 tUSBDevice *gUSB_Devices = NULL;
36 tUSBHost *gUSB_Hosts = NULL;
40 * \fn int ModuleLoad()
41 * \brief Called once module is loaded
43 int USB_Install(char **Arguments)
46 Warning("[USB ] Not Complete - Devel Only");
51 * \fn void USB_Cleanup()
52 * \brief Called just before module is unloaded
59 * \fn char *USB_ReadDir(tVFS_Node *Node, int Pos)
60 * \brief Read from the USB root
62 char *USB_ReadDir(tVFS_Node *Node, int Pos)
68 * \fn tVFS_Node *USB_FindDir(tVFS_Node *Node, char *Name)
69 * \brief Locate an entry in the USB root
71 tVFS_Node *USB_FindDir(tVFS_Node *Node, char *Name)
77 * \fn int USB_IOCtl(tVFS_Node *Node, int Id, void *Data)
78 * \brief Handles IOCtl Calls to the USB driver
80 int USB_IOCtl(tVFS_Node *Node, int Id, void *Data)