X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/68e23ccf7b788441142b012eeae18cc9846432b0..002c3c665289b52eb20fd899fd3561e7f9d9e073:/tools/firmware-utils/src/zynos.h diff --git a/tools/firmware-utils/src/zynos.h b/tools/firmware-utils/src/zynos.h old mode 100755 new mode 100644 index da8c8fdfb..aaf0fc8a7 --- a/tools/firmware-utils/src/zynos.h +++ b/tools/firmware-utils/src/zynos.h @@ -1,8 +1,7 @@ /* - * $Id$ * - * Copyright (C) 2007 OpenWrt.org - * Copyright (C) 2007 Gabor Juhos + * Copyright (C) 2007-2008 OpenWrt.org + * Copyright (C) 2007-2008 Gabor Juhos * * This code was based on the information of the ZyXEL's firmware * image format written by Kolja Waschk, can be found at: @@ -21,6 +20,8 @@ #define BOOTBASE_MAC_LEN 6 #define BOOTBASE_FEAT_LEN 22 +#define BOOTEXT_DEF_SIZE 0x18000 + struct zyn_bootbase_info { char vendor[BOOTBASE_NAME_LEN]; /* Vendor name */ char model[BOOTBASE_NAME_LEN]; /* Model name */ @@ -152,12 +153,12 @@ struct zyn_mmt_item { #define ZYNOS_MODEL_P_2602HW_61C /* n.a. */ #define ZYNOS_MODEL_P_2602HW_63 /* n.a. */ #define ZYNOS_MODEL_P_2602HW_63C ZYNOS_MODEL_P_2602H_63C -#define ZYNOS_MODEL_P_2602HW_D1A /* n.a. */ +#define ZYNOS_MODEL_P_2602HW_D1A MID( 6301) #define ZYNOS_MODEL_P_2602HW_D3A /* n.a. */ #define ZYNOS_MODEL_P_2602HWL_61 MID( 1181) #define ZYNOS_MODEL_P_2602HWL_61C ZYNOS_MODEL_P_2602H_61C #define ZYNOS_MODEL_P_2602HWL_63C ZYNOS_MODEL_P_2602H_63C -#define ZYNOS_MODEL_P_2602HWL_D1A MID( 6301) +#define ZYNOS_MODEL_P_2602HWL_D1A ZYNOS_MODEL_P_2602HW_D1A #define ZYNOS_MODEL_P_2602HWL_D3A MID( 7581) #define ZYNOS_MODEL_P_2602HWN_D7A MID(30464) #define ZYNOS_MODEL_P_2602HWNLI_D7A MID( 6813) @@ -215,4 +216,10 @@ struct zyn_mmt_item { /* OEM boards */ #define ZYNOS_MODEL_O2SURF ZYNOS_MODEL_P_2602HWN_D7A +/* Atheros AR2318 based boards */ +#define ZYNOS_MODEL_NBG_318S MID(59392) + +/* Atheros AR71xx based boards */ +#define ZYNOS_MODEL_NBG_460N MID(61441) + #endif /* _ZYNOS_H */