summaryrefslogtreecommitdiff
path: root/net/eth.c
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/eth.c
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/eth.c')
-rw-r--r--net/eth.c4
1 files changed, 4 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