]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/net.h
* Fix CONFIG_NET_MULTI support in include/net.h
[people/ms/u-boot.git] / include / net.h
index 689a90f6eebaf3c822c4bbb4fed3e725fc2917cb..2a1d3365e465963b4c05cfe431e1aa842f47985f 100644 (file)
 #ifndef __NET_H__
 #define __NET_H__
 
-#if !defined(CONFIG_NET_MULTI) && defined(CONFIG_8xx)
+#if defined(CONFIG_8xx)
 #include <commproc.h>
-#if defined(FEC_ENET) || defined(SCC_ENET)
-#define CONFIG_NET_MULTI
-#endif
-#endif
+# if !defined(CONFIG_NET_MULTI)
+#  if defined(FEC_ENET) || defined(SCC_ENET)
+#   define CONFIG_NET_MULTI
+#  endif
+# endif
+#endif /* CONFIG_8xx */
 
 #if !defined(CONFIG_NET_MULTI) && defined(CONFIG_8260)
 #include <config.h>