summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-11-17 21:14:37 +0000
committerwdenk <wdenk>2003-11-17 21:14:37 +0000
commit5bb226e821ea3c10c52d768ffab7952204b0f816 (patch)
tree51eb8e2b0c55cd3a441fb5bee5b2a9fcbee92928 /net
parent5cf9da4821db0b6d86d8bbb74af86a0303063201 (diff)
downloadu-boot-imx-5bb226e821ea3c10c52d768ffab7952204b0f816.zip
u-boot-imx-5bb226e821ea3c10c52d768ffab7952204b0f816.tar.gz
u-boot-imx-5bb226e821ea3c10c52d768ffab7952204b0f816.tar.bz2
* Use "-fPIC" instead of "-mrelocatable" to prevent problems with
recent tools * Add checksum verification to 'imls' command * Add bd_info fields needed for 4xx Linux I2C driver * Patch by Martin Krause, 4 Nov. 2003: Fix error in cmd_vfd.c (TRAB board: "vfd /1" shows now only one Bitmap) * Print used network interface when CONFIG_NET_MULTI is set
Diffstat (limited to 'net')
-rw-r--r--net/eth.c4
-rw-r--r--net/tftp.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index 012158b..eabbf63 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -324,4 +324,8 @@ void eth_try_another(int first_restart)
}
}
+char *eth_get_name (void)
+{
+ return (eth_current ? eth_current->name : "unknown");
+}
#endif
diff --git a/net/tftp.c b/net/tftp.c
index 049df68..d1a30d6 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -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);