fc2c22635638649de381bef02e7b6d5ac11546ad
[libsamsung-ipc.git] / samsung-ipc / ipc_devices.c
1 /*
2  * This file is part of libsamsung-ipc.
3  *
4  * Copyright (C) 2012-2014 Paul Kocialkowski <contact@paulk.fr>
5  *
6  * libsamsung-ipc is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * libsamsung-ipc is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with libsamsung-ipc.  If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 #include <stdlib.h>
21
22 #include <samsung-ipc.h>
23
24 #include "ipc_devices.h"
25
26 struct ipc_device_desc ipc_devices[] = {
27     {
28         .name = "crespo",
29         .board_name = "herring",
30         .kernel_version = "2.6.35",
31         .fmt_ops = &crespo_fmt_ops,
32         .rfs_ops = &crespo_rfs_ops,
33         .handlers = &crespo_handlers,
34         .gprs_specs = &crespo_gprs_specs_single,
35         .nv_data_specs = &crespo_nv_data_specs,
36     },
37     {
38         .name = "crespo",
39         .board_name = "herring",
40         .kernel_version = "3.0",
41         .fmt_ops = &crespo_fmt_ops,
42         .rfs_ops = &crespo_rfs_ops,
43         .handlers = &crespo_handlers,
44         .gprs_specs = &crespo_gprs_specs,
45         .nv_data_specs = &crespo_nv_data_specs,
46     },
47     {
48         .name = "aries",
49         .board_name = "aries",
50         .kernel_version = NULL,
51         .fmt_ops = &aries_fmt_ops,
52         .rfs_ops = &aries_rfs_ops,
53         .handlers = &aries_handlers,
54         .gprs_specs = &aries_gprs_specs,
55         .nv_data_specs = &aries_nv_data_specs,
56     },
57     {
58         .name = "aries",
59         .board_name = "gt-p1000",
60         .kernel_version = NULL,
61         .fmt_ops = &aries_fmt_ops,
62         .rfs_ops = &aries_rfs_ops,
63         .handlers = &aries_handlers,
64         .gprs_specs = &aries_gprs_specs,
65         .nv_data_specs = &aries_nv_data_specs,
66     },
67     {
68         .name = "galaxys2",
69         .board_name = "smdk4210",
70         .kernel_version = NULL,
71         .fmt_ops = &galaxys2_fmt_ops,
72         .rfs_ops = &galaxys2_rfs_ops,
73         .handlers = &galaxys2_handlers,
74         .gprs_specs = &galaxys2_gprs_specs,
75         .nv_data_specs = &galaxys2_nv_data_specs,
76     },
77     {
78         .name = "galaxys2",
79         .board_name = "i9100",
80         .kernel_version = NULL,
81         .fmt_ops = &galaxys2_fmt_ops,
82         .rfs_ops = &galaxys2_rfs_ops,
83         .handlers = &galaxys2_handlers,
84         .gprs_specs = &galaxys2_gprs_specs,
85         .nv_data_specs = &galaxys2_nv_data_specs,
86     },
87     {
88         .name = "maguro",
89         .board_name = "tuna",
90         .kernel_version = NULL,
91         .fmt_ops = &maguro_fmt_ops,
92         .rfs_ops = &maguro_rfs_ops,
93         .handlers = &maguro_handlers,
94         .gprs_specs = &maguro_gprs_specs,
95         .nv_data_specs = &maguro_nv_data_specs,
96     },
97     {
98         .name = "piranha",
99         .board_name = "espresso10",
100         .kernel_version = NULL,
101         .fmt_ops = &piranha_fmt_ops,
102         .rfs_ops = &piranha_rfs_ops,
103         .handlers = &piranha_handlers,
104         .gprs_specs = &piranha_gprs_specs,
105         .nv_data_specs = &piranha_nv_data_specs,
106     },
107     {
108         .name = "piranha",
109         .board_name = "espresso",
110         .kernel_version = NULL,
111         .fmt_ops = &piranha_fmt_ops,
112         .rfs_ops = &piranha_rfs_ops,
113         .handlers = &piranha_handlers,
114         .gprs_specs = &piranha_gprs_specs,
115         .nv_data_specs = &piranha_nv_data_specs,
116     },
117     {
118         .name = "i9300",
119         .board_name = "smdk4x12",
120         .kernel_version = NULL,
121         .fmt_ops = &i9300_fmt_ops,
122         .rfs_ops = &i9300_rfs_ops,
123         .handlers = &i9300_handlers,
124         .gprs_specs = &i9300_gprs_specs,
125         .nv_data_specs = &i9300_nv_data_specs,
126     },
127     {
128         .name = "n7100",
129         .board_name = "smdk4x12",
130         .kernel_version = NULL,
131         .fmt_ops = &n7100_fmt_ops,
132         .rfs_ops = &n7100_rfs_ops,
133         .handlers = &n7100_handlers,
134         .gprs_specs = &n7100_gprs_specs,
135         .nv_data_specs = &n7100_nv_data_specs,
136     },
137 };
138
139 unsigned int ipc_devices_count = sizeof(ipc_devices) /
140     sizeof(struct ipc_device_desc);
141
142 // vim:ts=4:sw=4:expandtab