diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-03-26 07:37:31 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-03-26 07:37:31 +0000 |
commit | e5f693831422495dae93a8c8ebdf8a58b98198d7 (patch) | |
tree | 26e544c358d35a0894c223562bd42e0c9cf78934 /target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h | |
parent | 7fb29fc2b9dc1aaad013fe2fe43d448d1862fb4b (diff) | |
download | mtk-20170518-e5f693831422495dae93a8c8ebdf8a58b98198d7.zip mtk-20170518-e5f693831422495dae93a8c8ebdf8a58b98198d7.tar.gz mtk-20170518-e5f693831422495dae93a8c8ebdf8a58b98198d7.tar.bz2 |
Rewrite of the bootloader runtime detection (Gabor Juhos)
SVN-Revision: 6713
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 | 10 |
1 files changed, 1 insertions, 9 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 4ea7a20..09ef9fe 100644 --- a/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h +++ b/target/linux/adm5120-2.6/files/drivers/net/adm5120sw.h @@ -97,18 +97,10 @@ struct adm5120_sw { #define SIOCGMATRIX SIOCDEVPRIVATE+1 #define SIOCGADMINFO SIOCDEVPRIVATE+2 -struct adm5120_info { +struct adm5120_sw_info { u16 magic; u16 ports; u16 vlan; }; -#define UNKNOWN 0 - -#define CFE 1 -#define UBOOT 2 -#define MYLOADER 3 - -/* Type of boot loader, detected by the prom */ -extern boot_loader_type; #endif /* _INCLUDE_ADM5120SW_H_ */ |