git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3115 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-11-16 03:48:55 +00:00
parent cb9ded19c7
commit b003840d5d
2 changed files with 8 additions and 2 deletions

View File

@ -915,7 +915,7 @@ static int lm3s_interrupt(int irq, FAR void *context)
}
/* Enable Ethernet interrupts (perhaps excluding the TX done interrupt if
* there are no pending transmissions.
* there are no pending transmissions).
*/
return OK;

View File

@ -1100,9 +1100,15 @@ static void lpc17_txdone(struct lpc17_driver_s *priv)
static int lpc17_interrupt(int irq, void *context)
{
register struct lpc17_driver_s *priv = &g_ethdrvr[0];
register struct lpc17_driver_s *priv;
uint32_t status;
#if CONFIG_LPC17_NINTERFACES > 1
# error "A mechanism to associate and interface with an IRQ is needed"
#else
priv = &g_ethdrvr[0];
#endif
/* Get the interrupt status (zero means no interrupts pending). */
status = lpc17_getreg(LPC17_ETH_INTST);