summaryrefslogtreecommitdiff
path: root/apps/system
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-17 09:51:26 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-17 09:51:26 -0600
commit45ae398fe34e373700a02e08c0f779e572862525 (patch)
treea48ee28cc5816be0ba00d12d5f26b4367dc37dde /apps/system
parent83bd793f672c95bc632b1467f7e090ca7a6b4038 (diff)
downloadpx4-nuttx-45ae398fe34e373700a02e08c0f779e572862525.tar.gz
px4-nuttx-45ae398fe34e373700a02e08c0f779e572862525.tar.bz2
px4-nuttx-45ae398fe34e373700a02e08c0f779e572862525.zip
Extend the NSH network initialization logic. There is now an option that will create a network monitor thread that will monitor the state of the link. When the link goes down, the code will attempt to gracefully put the Ethernet driver in a down state; When the link comes back, the code will attempt to bring the network back up.
Diffstat (limited to 'apps/system')
-rw-r--r--apps/system/mdio/mdio_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/mdio/mdio_main.c b/apps/system/mdio/mdio_main.c
index 6d770102a..31419b0ef 100644
--- a/apps/system/mdio/mdio_main.c
+++ b/apps/system/mdio/mdio_main.c
@@ -1,7 +1,7 @@
/****************************************************************************
* examples/mdio/mdio_main.c
*
- * Copyright (C) 2008, 2011-2012 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without