diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-24 21:31:13 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-03-24 21:31:13 +0000 |
commit | 58531e4910ac0d44f6e72bbd13217fdba3dbcc51 (patch) | |
tree | e57f5c44202fb5681902aec626021654cd554cef /target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h | |
parent | 51eaa39dca81819630481c2cfc955bac69ff944d (diff) |
Do not register more than 2 ethernet porst for CFE based devices (i.e : Compex WP54G-wrt)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6683 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h')
-rw-r--r-- | target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 4ea1e6257..e915a411c 100644 --- 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_ */ |