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:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user