SAMA5: Major restructuring of the the OHCI driver drivers to better handle the multiple root hub ports and concureent transfers on each port.

This commit is contained in:
Gregory Nutt 2013-08-13 16:48:14 -06:00
parent 34418d12bb
commit 8f429fd54d
4 changed files with 249 additions and 242 deletions

View file

@ -350,7 +350,7 @@ static struct lpc17_usbhost_s g_usbhost =
.class = NULL,
};
/* This is the connection/enumeration interact */
/* This is the connection/enumeration interface */
static struct usbhost_connection_s g_usbconn =
{

File diff suppressed because it is too large Load diff

View file

@ -1204,8 +1204,6 @@ void up_serialinit(void)
int up_putc(int ch)
{
#ifdef HAVE_CONSOLE
struct up_dev_s *priv = (struct up_dev_s*)CONSOLE_DEV.priv;
/* This logic does not work. Apparently re-entrancy problems cause the
* loss of serial interrupts (a bad, zero IMR gets set). My attempts to
* make this function fully re-entrant have not been successful but the
@ -1213,6 +1211,7 @@ int up_putc(int ch)
*/
#if 0
struct up_dev_s *priv = (struct up_dev_s*)CONSOLE_DEV.priv;
uint32_t imr;
/* Disable serial interrupts */

View file

@ -422,7 +422,7 @@ static struct stm32_usbhost_s g_usbhost =
.class = NULL,
};
/* This is the connection/enumeration interact */
/* This is the connection/enumeration interface */
static struct usbhost_connection_s g_usbconn =
{