4 * Copyright (C) 2007 OpenWrt.org
5 * Copyright (C) 2007 Gabor Juhos <juhosg@freemail.hu>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
17 #define ZYNOS_NAME_LEN 32
18 #define ZYNOS_FEAT_BYTES 22
19 #define ZYNOS_MAC_LEN 6
21 struct zynos_board_info
{
22 unsigned char vendor
[ZYNOS_NAME_LEN
];
23 unsigned char product
[ZYNOS_NAME_LEN
];
28 u8 feat_other
[ZYNOS_FEAT_BYTES
];
31 u8 mac
[ZYNOS_MAC_LEN
];
34 } __attribute__ ((packed
));
39 #define ZYNOS_VENDOR_ID_ZYXEL 0
40 #define ZYNOS_VENDOR_ID_NETGEAR 1
41 #define ZYNOS_VENDOR_ID_DLINK 2
42 #define ZYNOS_VENDOR_ID_OTHER 3
43 #define ZYNOS_VENDOR_ID_LUCENT 4
48 #define ZYNOS_VENDOR_DLINK "D-Link"
49 #define ZYNOS_VENDOR_LUCENT "LUCENT"
50 #define ZYNOS_VENDOR_NETGEAR "NetGear"
51 #define ZYNOS_VENDOR_ZYXEL "ZyXEL"
54 * Board IDs (big-endian)
56 #define ZYNOS_BOARD_ES2108 0x00F2 /* Ethernet Switch 2108 */
57 #define ZYNOS_BOARD_ES2108F 0x01AF /* Ethernet Switch 2108-F */
58 #define ZYNOS_BOARD_ES2108G 0x00F3 /* Ethernet Switch 2108-G */
59 #define ZYNOS_BOARD_ES2108LC 0x00FC /* Ethernet Switch 2108-LC */
60 #define ZYNOS_BOARD_ES2108PWR 0x00F4 /* Ethernet Switch 2108PWR */
61 #define ZYNOS_BOARD_HS100 0x9FF1 /* HomeSafe 100/100W */
62 #define ZYNOS_BOARD_P334 0x9FF5 /* Prestige 334 */
63 #define ZYNOS_BOARD_P334U 0x9FDD /* Prestige 334U */
64 #define ZYNOS_BOARD_P334W 0x9FF3 /* Prestige 334W */
65 #define ZYNOS_BOARD_P334WH 0x00E0 /* Prestige 334WH */
66 #define ZYNOS_BOARD_P334WHD 0x00E1 /* Prestige 334WHD */
67 #define ZYNOS_BOARD_P334WT 0x9FEF /* Prestige 334WT */
68 #define ZYNOS_BOARD_P335 0x9FED /* Prestige 335/335WT */
69 #define ZYNOS_BOARD_P335PLUS 0x0025 /* Prestige 335Plus */
70 #define ZYNOS_BOARD_P335U 0x9FDC /* Prestige 335U */
73 * Some magic numbers (big-endian)
75 #define ZYNOS_MAGIC_DBGAREA1 0x48646267 /* "Hdbg" */
76 #define ZYNOS_MAGIC_DBGAREA2 0x61726561 /* "area" */
This page took 0.043612 seconds and 5 git commands to generate.