diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-05-13 21:56:34 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-05-13 21:56:34 +0000 |
commit | ec138625b6e8277de21b0c958f2c44fcb5cd0c31 (patch) | |
tree | bf9d2b36093e5839eb2c636034aa25fe086fd4cf /target/linux/adm5120-2.6/files/include | |
parent | b48e9f9d72c84343f89929bb2bdb54f99d9e73f7 (diff) | |
download | upstream-ec138625b6e8277de21b0c958f2c44fcb5cd0c31.tar.gz upstream-ec138625b6e8277de21b0c958f2c44fcb5cd0c31.tar.bz2 upstream-ec138625b6e8277de21b0c958f2c44fcb5cd0c31.zip |
Fix routeboard board detection, add some new ZyXEL boards, thanks to Gabor Juhos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7214 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/include')
-rw-r--r-- | target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/routerboot.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/routerboot.h b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/routerboot.h index 1e2b973679..2a593e9336 100644 --- a/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/routerboot.h +++ b/target/linux/adm5120-2.6/files/include/asm-mips/mach-adm5120/routerboot.h @@ -14,6 +14,25 @@ #ifndef _ROUTERBOOT_H #define _ROUTERBOOT_H +#define RB_MAC_SIZE 6 +#define RB_MAX_MAC_COUNT 6 + +struct rb_bios_settings { + u32 hs_offs; /* hard settings offset */ + u32 hs_size; /* hard settings size */ + u32 fw_offs; /* firmware offset */ + u32 ss_offs; /* soft settings offset */ + u32 ss_size; /* soft settings size */ +}; + +struct rb_hard_settings { + char *name; /* board name */ + char *bios_ver; /* BIOS version */ + u32 mem_size; /* memory size in bytes */ + u32 mac_count; /* number of mac addresses */ + u8 macs[RB_MAC_SIZE][RB_MAX_MAC_COUNT]; /* mac addresses */ +}; + /* * Magic numbers */ |