changeset 1356:6a23e2474d97

Improve bootup messages
author gthomas
date Fri, 07 Nov 2003 18:01:17 +0000
parents 95d716b6e230
children 7b0dae4bd7a9
files packages/devs/eth/powerpc/fcc/current/ChangeLog packages/devs/eth/powerpc/fcc/current/src/if_fcc.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/eth/powerpc/fcc/current/ChangeLog
+++ b/packages/devs/eth/powerpc/fcc/current/ChangeLog
@@ -1,3 +1,7 @@
+2003-11-07  Gary Thomas  <gary@mlbassoc.com>
+
+	* src/if_fcc.c (fcc_eth_init): Improve messages, add device name.
+
 2003-10-02  Gary Thomas  <gary@mlbassoc.com>
 
 	* cdl/fcc_eth_drivers.cdl: Buffers need to be a multiple of cache
--- a/packages/devs/eth/powerpc/fcc/current/src/if_fcc.c
+++ b/packages/devs/eth/powerpc/fcc/current/src/if_fcc.c
@@ -317,7 +317,7 @@ fcc_eth_init(struct cyg_netdevtab_entry 
     _eth_phy_reset(qi->phy);
 #endif
     phy_state = _eth_phy_state(qi->phy);
-    os_printf("FCC ETH: ");
+    os_printf("FCC %s: ", sc->dev_name);
     if ((phy_state & ETH_PHY_STAT_LINK) != 0) {
         if ((phy_state & ETH_PHY_STAT_100MB) != 0) {
             // Link can handle 100Mb
@@ -330,7 +330,7 @@ fcc_eth_init(struct cyg_netdevtab_entry 
             os_printf("10Mb");
         }
     } else {
-        os_printf("/***NO LINK***");
+        os_printf("/***NO LINK***\n");
         return false;
     }
     os_printf("\n");