diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-15 08:22:51 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-15 08:22:51 -0600 |
commit | b68b625556543fd9a9c9ba40ed5ca5c4b725f7ed (patch) | |
tree | ae5f590da1302541d30c3a26f4a9ffc7d599b338 /nuttx/arch/mips/src | |
parent | c43a244ee4d243ab3429a39ed90408eeb02a864c (diff) | |
download | px4-nuttx-b68b625556543fd9a9c9ba40ed5ca5c4b725f7ed.tar.gz px4-nuttx-b68b625556543fd9a9c9ba40ed5ca5c4b725f7ed.tar.bz2 px4-nuttx-b68b625556543fd9a9c9ba40ed5ca5c4b725f7ed.zip |
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
Diffstat (limited to 'nuttx/arch/mips/src')
-rw-r--r-- | nuttx/arch/mips/src/pic32mx/pic32mx-ethernet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-ethernet.c b/nuttx/arch/mips/src/pic32mx/pic32mx-ethernet.c index eeaf3ad5c..f1633f752 100644 --- a/nuttx/arch/mips/src/pic32mx/pic32mx-ethernet.c +++ b/nuttx/arch/mips/src/pic32mx/pic32mx-ethernet.c @@ -3143,7 +3143,7 @@ static inline int pic32mx_ethinitialize(int intf) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&priv->pd_dev); + (void)netdev_register(&priv->pd_dev, NET_LL_ETHERNET); return OK; } |