mirror of
https://github.com/apache/nuttx.git
synced 2026-08-26 11:50:50 +00:00
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:
parent
34418d12bb
commit
8f429fd54d
4 changed files with 249 additions and 242 deletions
|
|
@ -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
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue