diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/eth.c | 4 | ||||
-rw-r--r-- | net/tftp.c | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -324,4 +324,8 @@ void eth_try_another(int first_restart) } } +char *eth_get_name (void) +{ + return (eth_current ? eth_current->name : "unknown"); +} #endif @@ -294,6 +294,9 @@ TftpStart (void) tftp_filename = BootFile; } +#if defined(CONFIG_NET_MULTI) + printf ("Using %s device\n", eth_get_name()); +#endif puts ("TFTP from server "); print_IPaddr (NetServerIP); puts ("; our IP address is "); print_IPaddr (NetOurIP); |