]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/greth.c
Fix DM9000 MAC address handling
[u-boot] / drivers / net / greth.c
index 76ece59b36e0f1312895d3d5c36c83d863d13082..79bc4d9d26b10df0e8cf6f5448d520782ef4c318 100644 (file)
@@ -27,6 +27,7 @@
 #include <common.h>
 #include <command.h>
 #include <net.h>
+#include <netdev.h>
 #include <malloc.h>
 #include <asm/processor.h>
 #include <ambapp.h>
@@ -657,5 +658,5 @@ int greth_initialize(bd_t * bis)
        /* set and remember MAC address */
        greth_set_hwaddr(greth, addr);
 
-       return 1;
+       return 0;
 }