1
2
3
4#include <linux/kernel.h>
5
6struct product_info {
7 const char *pi_name;
8 const char *pi_type;
9};
10
11struct vendor_info {
12 const char *vi_name;
13 const struct product_info *vi_product_info;
14};
15
16
17
18
19static const char * const txt_base_models[] = {
20 "MQ 2", "MQ Pro", "SP 25", "SP 50", "SP 100", "SP 5000", "SP 7000",
21 "SP 1000", "Unknown"
22};
23#define N_BASE_MODELS (ARRAY_SIZE(txt_base_models) - 1)
24
25
26
27
28static const char txt_en_mq[] = "Masquerade";
29static const char txt_en_sp[] = "Safepipe";
30
31static const struct product_info product_info_eicon[] = {
32 { txt_en_mq, "II" },
33 { txt_en_mq, "Pro" },
34 { txt_en_sp, "25" },
35 { txt_en_sp, "50" },
36 { txt_en_sp, "100" },
37 { txt_en_sp, "5000" },
38 { txt_en_sp, "7000" },
39 { txt_en_sp, "30" },
40 { txt_en_sp, "5100" },
41 { txt_en_sp, "7100" },
42 { txt_en_sp, "1110" },
43 { txt_en_sp, "3020" },
44 { txt_en_sp, "3030" },
45 { txt_en_sp, "5020" },
46 { txt_en_sp, "5030" },
47 { txt_en_sp, "1120" },
48 { txt_en_sp, "1130" },
49 { txt_en_sp, "6010" },
50 { txt_en_sp, "6110" },
51 { txt_en_sp, "6210" },
52 { txt_en_sp, "1020" },
53 { txt_en_sp, "1040" },
54 { txt_en_sp, "1050" },
55 { txt_en_sp, "1060" },
56};
57
58#define N_PRIDS ARRAY_SIZE(product_info_eicon)
59
60
61
62
63static struct vendor_info const vendor_info_table[] = {
64 { "Eicon Networks", product_info_eicon },
65};
66
67#define N_VENDORS ARRAY_SIZE(vendor_info_table)
68