Updates/fixes related to ENC28J60, Kconfigs, and fire-stm32v2

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5128 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-09-11 16:50:16 +00:00
parent 648420e67a
commit 64c8e5c7c3
19 changed files with 135 additions and 223 deletions
+4 -4
View File
@@ -51,7 +51,7 @@
/* ENC28J60 Configuration Settings:
*
* CONFIG_NET_ENC28J60 - Enabled ENC28J60 support
* CONFIG_ENC28J60 - Enabled ENC28J60 support
* CONFIG_ENC28J60_SPIMODE - Controls the SPI mode
* CONFIG_ENC28J60_FREQUENCY - Define to use a different bus frequency
* CONFIG_ENC28J60_NINTERFACES - Specifies the number of physical ENC28J60
@@ -89,9 +89,9 @@ struct enc_stats_s
struct enc_lower_s
{
int (*attach)(FAR struct enc_lower_s *lower, xcpt_t handler);
void (*enable)(FAR struct enc_lower_s *lower);
void (*disable)(FAR struct enc_lower_s *lower);
int (*attach)(FAR const struct enc_lower_s *lower, xcpt_t handler);
void (*enable)(FAR const struct enc_lower_s *lower);
void (*disable)(FAR const struct enc_lower_s *lower);
};
/****************************************************************************