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/drivers/net/cs89x0.c | |
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/drivers/net/cs89x0.c')
-rw-r--r-- | nuttx/drivers/net/cs89x0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/net/cs89x0.c b/nuttx/drivers/net/cs89x0.c index 9e386af49..069e708cd 100644 --- a/nuttx/drivers/net/cs89x0.c +++ b/nuttx/drivers/net/cs89x0.c @@ -951,7 +951,7 @@ int cs89x0_initialize(FAR const cs89x0_driver_s *cs89x0, int devno) /* Register the device with the OS so that socket IOCTLs can be performed */ - (void)netdev_register(&cs89x0->cs_dev); + (void)netdev_register(&cs89x0->cs_dev, NET_LL_ETHERNET); return OK; } |