summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorBen Warren <biggerbadderben@gmail.com>2009-07-17 00:50:15 -0700
committerBen Warren <biggerbadderben@gmail.com>2009-07-22 22:53:44 -0700
commit3bd0a877b74b9c005ae7cb892480ccedfa308c20 (patch)
tree3254fd4ba2b20fed8292014bc56bc44819dbe2e1 /net/eth.c
parentb7fe25d2a8d1cede401d09e1f9c84f8fe47bdbb1 (diff)
downloadu-boot-imx-3bd0a877b74b9c005ae7cb892480ccedfa308c20.zip
u-boot-imx-3bd0a877b74b9c005ae7cb892480ccedfa308c20.tar.gz
u-boot-imx-3bd0a877b74b9c005ae7cb892480ccedfa308c20.tar.bz2
Add warning about upcoming removal of old Ethernet API
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/eth.c b/net/eth.c
index 3d93966..8e1d692 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -500,6 +500,8 @@ char *eth_get_name (void)
}
#elif defined(CONFIG_CMD_NET) && !defined(CONFIG_NET_MULTI)
+#warning Ethernet driver is deprecated. Please update to use CONFIG_NET_MULTI
+
extern int at91rm9200_miiphy_initialize(bd_t *bis);
extern int mcf52x2_miiphy_initialize(bd_t *bis);
extern int ns7520_miiphy_initialize(bd_t *bis);