projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not register more than 2 ethernet porst for CFE based devices (i.e : Compex WP54G...
[librecmc/librecmc.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
drivers
/
net
/
adm5120sw.h
diff --git
a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h
b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h
index 4ea1e6257cc6d1fd562743c0897c22e3899060ec..e915a411c80883151981d0284fc843946a4b612e 100644
(file)
--- a/
target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h
+++ b/
target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h
@@
-102,5
+102,12
@@
struct adm5120_info {
u16 ports;
u16 vlan;
};
+#define UNKNOWN 0
+
+#define UBOOT 2
+#define MYLOADER 3
+
+/* Type of boot loader, detected by the prom */
+extern boot_loader_type;
#endif /* _INCLUDE_ADM5120SW_H_ */