git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel/USB - Still broken, reworking host controller API to give driver more information
[tpg/acess2.git]
/
KernelLand
/
Modules
/
USB
/
Core
/
include
/
usb_core.h
diff --git
a/KernelLand/Modules/USB/Core/include/usb_core.h
b/KernelLand/Modules/USB/Core/include/usb_core.h
index
43af16f
..
0b03d75
100644
(file)
--- a/
KernelLand/Modules/USB/Core/include/usb_core.h
+++ b/
KernelLand/Modules/USB/Core/include/usb_core.h
@@
-38,7
+38,7
@@
struct sUSBDriver
} VendorDev;
} Match;
} VendorDev;
} Match;
- void (*Connected)(tUSBInterface *Dev);
+ void (*Connected)(tUSBInterface *Dev
, void *Descriptors, size_t Size
);
void (*Disconnected)(tUSBInterface *Dev);
int MaxEndpoints;
void (*Disconnected)(tUSBInterface *Dev);
int MaxEndpoints;
@@
-51,6
+51,8
@@
struct sUSBDriver
} Endpoints[];
};
} Endpoints[];
};
+extern void USB_RegisterDriver(tUSBDriver *Driver);
+
extern void *USB_GetDeviceDataPtr(tUSBInterface *Dev);
extern void USB_SetDeviceDataPtr(tUSBInterface *Dev, void *Ptr);
extern void *USB_GetDeviceDataPtr(tUSBInterface *Dev);
extern void USB_SetDeviceDataPtr(tUSBInterface *Dev, void *Ptr);
UCC
git Repository :: git.ucc.asn.au