Fix typo/compile error introduced with last HSMCI changes

This commit is contained in:
Gregory Nutt 2014-06-30 16:08:29 -06:00
parent d8f4b29d5f
commit c5f2ec1637
2 changed files with 141 additions and 140 deletions

View File

@ -94,6 +94,8 @@
* Pre-processor Definitions
****************************************************************************/
/* EMAC0 Configuration ******************************************************/
#ifdef CONFIG_SAMA5_EMAC0
/* Number of buffers for RX */
# ifndef CONFIG_SAMA5_EMAC0_NRXBUFFERS
@ -172,8 +174,11 @@
# else
# error EMAC PHY unrecognized
# endif
#endif /* CONFIG_SAMA5_EMAC0 */
/* EMAC1 Configuration ******************************************************/
#ifdef CONFIG_SAMA5_EMAC1
/* Number of buffers for RX */
# ifndef CONFIG_SAMA5_EMAC1_NRXBUFFERS
@ -252,6 +257,7 @@
# else
# error EMAC PHY unrecognized
# endif
#endif /* CONFIG_SAMA5_EMAC0 */
/* Common Configuration *****************************************************/

View File

@ -86,7 +86,7 @@ static const uint8_t g_piopid[SAM_NPIO] =
/* Used to determine if a PIO port is configured to support interrupts */
static const bool g_piointterrupts[SAM_NPIO] =
static const bool g_piointerrupt[SAM_NPIO] =
{
#ifdef CONFIG_SAMA5_PIOA_IRQ
true,
@ -109,14 +109,9 @@ static const bool g_piointterrupts[SAM_NPIO] =
false,
#endif
#ifdef CONFIG_SAMA5_PIOE_IRQ
true,
true
#else
false,
#endif
#ifdef CONFIG_SAMA5_PIOF_IRQ
true,
#else
false,
false
#endif
};