diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-08-20 13:04:49 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-08-20 13:04:49 -0600 |
commit | 20174857959f8d35c17a780faf5871d62fb274ff (patch) | |
tree | a316c19f09b845e817b510f2a11586a2b3ab7b6f /nuttx/arch | |
parent | 19fc1af7daa365e9476cbe2d8fa4fcc9b177159e (diff) | |
download | px4-nuttx-20174857959f8d35c17a780faf5871d62fb274ff.tar.gz px4-nuttx-20174857959f8d35c17a780faf5871d62fb274ff.tar.bz2 px4-nuttx-20174857959f8d35c17a780faf5871d62fb274ff.zip |
Add kernel/user memalign functions. Not fully integrated
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/arm/src/sama5/sam_ohci.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_ohci.c b/nuttx/arch/arm/src/sama5/sam_ohci.c index 2c2fe6582..a8a10ebfa 100644 --- a/nuttx/arch/arm/src/sama5/sam_ohci.c +++ b/nuttx/arch/arm/src/sama5/sam_ohci.c @@ -215,8 +215,6 @@ struct sam_rhport_s struct sam_ohci_s { - /* Driver status */ - volatile bool rhswait; /* TRUE: Thread is waiting for Root Hub Status change */ #ifndef CONFIG_USBHOST_INT_DISABLE @@ -611,7 +609,7 @@ static void sam_putle16(uint8_t *dest, uint16_t val) * Name: sam_edalloc * * Description: - * Return an endpoint descriptor to the free list + * Allocate an endpoint descriptor by removing it from the free list * *******************************************************************************/ @@ -634,7 +632,7 @@ static struct sam_ed_s *sam_edalloc(void) * Name: sam_edfree * * Description: - * Return an endpoint descriptor to the free list + * Free an endpoint descriptor by returning to the free list * *******************************************************************************/ @@ -686,7 +684,7 @@ static struct sam_gtd_s *sam_tdalloc(void) * Name: sam_tdfree * * Description: - * Return an transfer descriptor to the free list + * Free a transfer descriptor by returning it to the free list * * Assumptions: * - Only called from the WDH interrupt handler (and during initialization). |