1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

Rewrite of the bootloader runtime detection (Gabor Juhos)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6713 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2007-03-26 07:37:31 +00:00
parent 0704011af8
commit 3f8c5b95ad
4 changed files with 10 additions and 46 deletions

View File

@@ -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_ */