Add EHCI header file (not quite complete)

This commit is contained in:
Gregory Nutt
2013-08-17 14:19:18 -06:00
parent 11086f34d0
commit e2f68ac85f
3 changed files with 568 additions and 2 deletions
+1
View File
@@ -5413,4 +5413,5 @@
(2013-8-16) (2013-8-16)
* arch/arm/src/sama5/sam_ohci.c: More to be tested, but the SAMA5 * arch/arm/src/sama5/sam_ohci.c: More to be tested, but the SAMA5
OHCI driver is now basically funtional (2013-8-16). OHCI driver is now basically funtional (2013-8-16).
* include/nuttx/usb/ehci.h: EHCI header file (2013-8-17).
+2 -2
View File
@@ -2569,7 +2569,7 @@ static int sam_free(FAR struct usbhost_driver_s *drvr, FAR uint8_t *buffer)
* Some hardware supports special memory in which larger IO buffers can * Some hardware supports special memory in which larger IO buffers can
* be accessed more efficiently. This method provides a mechanism to allocate * be accessed more efficiently. This method provides a mechanism to allocate
* the request/descriptor memory. If the underlying hardware does not support * the request/descriptor memory. If the underlying hardware does not support
* such "special" memory, this functions may simply map to kmalloc. * such "special" memory, this functions may simply map to kumalloc.
* *
* This interface differs from DRVR_ALLOC in that the buffers are variable-sized. * This interface differs from DRVR_ALLOC in that the buffers are variable-sized.
* *
@@ -2607,7 +2607,7 @@ static int sam_ioalloc(FAR struct usbhost_driver_s *drvr, FAR uint8_t **buffer,
* Some hardware supports special memory in which IO data can be accessed more * Some hardware supports special memory in which IO data can be accessed more
* efficiently. This method provides a mechanism to free that IO buffer * efficiently. This method provides a mechanism to free that IO buffer
* memory. If the underlying hardware does not support such "special" memory, * memory. If the underlying hardware does not support such "special" memory,
* this functions may simply map to kfree(). * this functions may simply map to kufree().
* *
* Input Parameters: * Input Parameters:
* drvr - The USB host driver instance obtained as a parameter from the call to * drvr - The USB host driver instance obtained as a parameter from the call to
+565
View File
File diff suppressed because it is too large Load Diff