]> git.sur5r.net Git - u-boot/blobdiff - include/net.h
* Patch by Andre Schwarz, 24 Nov 2003:
[u-boot] / include / net.h
index 2d4aa94d0d4f66af02a95a78952aef41d607c53c..39debc673d6aa53a0f3d00f5c3c8dfbe4053f736 100644 (file)
@@ -29,7 +29,7 @@
 # endif
 #endif /* CONFIG_MPC5XXX */
 
-#if !defined(CONFIG_NET_MULTI) && defined(CONFIG_8260)
+#if !defined(CONFIG_NET_MULTI) && (defined(CONFIG_8260) || defined(CONFIG_MPC8560))
 #include <config.h>
 #if defined(CONFIG_ETHER_ON_FCC)
 #if defined(CONFIG_ETHER_ON_SCC)
@@ -117,6 +117,7 @@ extern int eth_init(bd_t *bis);                     /* Initialize the device        */
 extern int eth_send(volatile void *packet, int length);           /* Send a packet     */
 extern int eth_rx(void);                       /* Check for received packets   */
 extern void eth_halt(void);                    /* stop SCC                     */
+extern char *eth_get_name(void);               /* get name of current device   */
 
 
 /**********************************************************************/