USB hub: Add some hub-related configuration settings

This commit is contained in:
Gregory Nutt 2015-04-22 17:16:35 -06:00
parent dd56308ce7
commit 569893491a
2 changed files with 16 additions and 0 deletions

View File

@ -149,6 +149,7 @@ config LPC17_LCD
config LPC17_USBHOST
bool "USB host"
select USBHOST
select USBHOST_HAVE_ASYNCH
default n
config LPC17_USBDEV
@ -960,6 +961,17 @@ config USBHOST_IOBUFSIZE
Size of one end-user I/O buffer. This can be zero if the application
can guarantee that all end-user I/O buffers reside in AHB SRAM.
config LPC17_USBHOST_NASYNCH
int "Number asynch transfers"
default 8 if USBHOST_HUB
default 4 if !USBHOST_HUB
depends on USBHOST_ASYNCH
---help---
This number represents a number of pre-allocated structures to support
asynchronous IN data transfers. This number effective determines that
number of concurrent asynchronous IN endpoint transfer that can be
supported.
config USBHOST_BULK_DISABLE
bool "Disable bulk EPs"
default n

View File

@ -2622,6 +2622,8 @@ menu "USB High Speed Host Controller driver (HCD) options"
config SAMA5_OHCI
bool "Full/low speed OHCI support"
default n
select USBHOST
select USBHOST_HAVE_ASYNCH
---help---
Build support for the SAMA5 USB full speed Open Host Controller
Interface (OHCI).
@ -2656,6 +2658,8 @@ endif # SAMA5_OHCI
config SAMA5_EHCI
bool "High speed EHCI support"
default n
select USBHOST
select USBHOST_HAVE_ASYNCH
---help---
Build support for the SAMA5 USB high speed Enhanced Host Controller
Interface (EHCI). If low/full speed is needed too, then you must