Add warning about upcoming removal of old Ethernet API
authorBen Warren <biggerbadderben@gmail.com>
Fri, 17 Jul 2009 07:50:15 +0000 (00:50 -0700)
committerBen Warren <biggerbadderben@gmail.com>
Thu, 23 Jul 2009 05:53:44 +0000 (22:53 -0700)
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
net/eth.c

index 3d93966918e0f6527f95a08b6c8e2032cbf51877..8e1d6921ca4673eacd49de024a421959900875d9 100644 (file)
--- 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);