diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-11-13 19:31:01 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-11-13 19:31:01 +0000 |
commit | 54aebedda1cf30b83aff456a42378cc0a8f2ee6b (patch) | |
tree | ed05038de01edd1186523f91c83da25483eb160d /nuttx/arch/arm/src/lm3s/lm3s_ethernet.c | |
parent | 3adcbf422de08c9d3936e10bdcee14a26231b58c (diff) | |
download | px4-nuttx-54aebedda1cf30b83aff456a42378cc0a8f2ee6b.tar.gz px4-nuttx-54aebedda1cf30b83aff456a42378cc0a8f2ee6b.tar.bz2 px4-nuttx-54aebedda1cf30b83aff456a42378cc0a8f2ee6b.zip |
Add ethernet interrupt handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3106 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lm3s/lm3s_ethernet.c')
-rw-r--r-- | nuttx/arch/arm/src/lm3s/lm3s_ethernet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lm3s/lm3s_ethernet.c b/nuttx/arch/arm/src/lm3s/lm3s_ethernet.c index b66e8be42..af78660e9 100644 --- a/nuttx/arch/arm/src/lm3s/lm3s_ethernet.c +++ b/nuttx/arch/arm/src/lm3s/lm3s_ethernet.c @@ -160,14 +160,14 @@ /* EMAC statistics (debug only) */ #if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_NET) -struct ez80mac_statistics_s +struct lm3s_statistics_s { uint32_t rx_int; /* Number of Rx interrupts received */ uint32_t rx_packets; /* Number of packets received (sum of the following): */ uint32_t rx_ip; /* Number of Rx IP packets received */ uint32_t rx_arp; /* Number of Rx ARP packets received */ uint32_t rx_dropped; /* Number of dropped, unsupported Rx packets */ - uint32_t rx_pktsize; /* Number of dropped, too small or too bigr */ + uint32_t rx_pktsize; /* Number of dropped, too small or too big */ uint32_t rx_errors; /* Number of Rx errors (reception error) */ uint32_t rx_ovrerrors; /* Number of Rx FIFO overrun errors */ uint32_t tx_int; /* Number of Tx interrupts received */ @@ -200,7 +200,7 @@ struct lm3s_driver_s WDOG_ID ld_txtimeout; /* TX timeout timer */ #if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_NET) - struct ez80mac_statistics_s ld_stat; + struct lm3s_statistics_s ld_stat; #endif /* This holds the information visible to uIP/NuttX */ |