Patch by Dave Peverley, 29 Apr 2004:
add MAC address detection to smc91111 driver
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 314126a..193980e 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -54,7 +54,7 @@
extern void cs8900_get_enetaddr (uchar * addr);
#endif
-#ifdef CONFIG_DRIVER_CS8900
+#ifdef CONFIG_DRIVER_RTL8019
extern void rtl8019_get_enetaddr (uchar * addr);
#endif
@@ -306,7 +306,6 @@
if (getenv ("ethaddr")) {
smc_set_mac_addr(gd->bd->bi_enetaddr);
}
- /* eth_hw_init(); */
#endif /* CONFIG_DRIVER_LAN91C96 */
/* Initialize from environment */