summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-04-03 14:18:51 +0000
committerwdenk <wdenk>2005-04-03 14:18:51 +0000
commit59acc296d97b7262b64be8bc23b12c47b4fdd7e6 (patch)
treec723cb572140eb039cd921b992069fb84353067b /net
parent400558b561e2bdb47f87b96b3510dda0881a3662 (diff)
Minor cleanup
Diffstat (limited to 'net')
-rw-r--r--net/net.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/net.c b/net/net.c
index 11a286b5783..00aa6615029 100644
--- a/net/net.c
+++ b/net/net.c
@@ -468,7 +468,7 @@ restart:
/*
* Main packet reception loop. Loop receiving packets until
- * someone sets `NetQuit'.
+ * someone sets `NetState' to a state that terminates.
*/
for (;;) {
WATCHDOG_RESET();
@@ -503,7 +503,9 @@ restart:
thand_f *x;
#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
-#if defined(CFG_FAULT_ECHO_LINK_DOWN) && defined(CONFIG_STATUS_LED) && defined(STATUS_LED_RED)
+# if defined(CFG_FAULT_ECHO_LINK_DOWN) &&
+ defined(CONFIG_STATUS_LED) &&
+ defined(STATUS_LED_RED)
/*
* Echo the inverted link state to the fault LED.
*/
@@ -512,7 +514,7 @@ restart:
} else {
status_led_set (STATUS_LED_RED, STATUS_LED_ON);
}
-#endif /* CFG_FAULT_ECHO_LINK_DOWN, ... */
+# endif /* CFG_FAULT_ECHO_LINK_DOWN, ... */
#endif /* CONFIG_MII, ... */
x = timeHandler;
timeHandler = (thand_f *)0;