summaryrefslogtreecommitdiff
path: root/nuttx/drivers/net
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-06 13:55:20 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-06 13:55:20 +0000
commit517ae43b4f1c1eaf64137a5a6d0d79f3e26608af (patch)
tree5a063aa82942faca48e26c8c35b6e65ef8c0b89c /nuttx/drivers/net
parent84beafe48b5fdb3bf8dfc80bf84ce922eb7dba31 (diff)
downloadpx4-nuttx-517ae43b4f1c1eaf64137a5a6d0d79f3e26608af.tar.gz
px4-nuttx-517ae43b4f1c1eaf64137a5a6d0d79f3e26608af.tar.bz2
px4-nuttx-517ae43b4f1c1eaf64137a5a6d0d79f3e26608af.zip
RTL driver update (still in progress)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3346 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/net')
-rw-r--r--nuttx/drivers/net/skeleton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/drivers/net/skeleton.c b/nuttx/drivers/net/skeleton.c
index c286886b9..16aab6d87 100644
--- a/nuttx/drivers/net/skeleton.c
+++ b/nuttx/drivers/net/skeleton.c
@@ -642,12 +642,12 @@ static int skel_rmmac(struct uip_driver_s *dev, FAR const uint8_t *mac)
int skel_initialize(int intf)
{
- struct lpc17_driver_s *priv;
+ struct skel_driver_s *priv;
/* Get the interface structure associated with this interface number. */
- DEBUGASSERT(inf < ONFIG_skeleton_NINTERFACES);
- priv = &g_ethdrvr[intf];
+ DEBUGASSERT(inf < CONFIG_skeleton_NINTERFACES);
+ priv = &g_skel[intf];
/* Check if a Ethernet chip is recognized at its I/O base */