Global include path
[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 #include <ipc_devices.h>
24
25 struct ipc_device_desc ipc_devices[] = {
26     {
27         .name = "crespo",
28         .board_name = "herring",
29         .kernel_version = "2.6.35",
30         .fmt_ops = &crespo_fmt_ops,
31         .rfs_ops = &crespo_rfs_ops,
32         .handlers = &crespo_handlers,
33         .gprs_specs = &crespo_gprs_specs_single,
34         .nv_data_specs = &crespo_nv_data_specs,
35     },
36     {
37         .name = "crespo",
38         .board_name = "herring",
39         .kernel_version = "3.0",
40         .fmt_ops = &crespo_fmt_ops,
41         .rfs_ops = &crespo_rfs_ops,
42         .handlers = &crespo_handlers,
43         .gprs_specs = &crespo_gprs_specs,
44         .nv_data_specs = &crespo_nv_data_specs,
45     },
46     {
47         .name = "aries",
48         .board_name = "aries",
49         .kernel_version = NULL,
50         .fmt_ops = &aries_fmt_ops,
51         .rfs_ops = &aries_rfs_ops,
52         .handlers = &aries_handlers,
53         .gprs_specs = &aries_gprs_specs,
54         .nv_data_specs = &aries_nv_data_specs,
55     },
56     {
57         .name = "aries",
58         .board_name = "gt-p1000",
59         .kernel_version = NULL,
60         .fmt_ops = &aries_fmt_ops,
61         .rfs_ops = &aries_rfs_ops,
62         .handlers = &aries_handlers,
63         .gprs_specs = &aries_gprs_specs,
64         .nv_data_specs = &aries_nv_data_specs,
65     },
66     {
67         .name = "galaxys2",
68         .board_name = "smdk4210",
69         .kernel_version = NULL,
70         .fmt_ops = &galaxys2_fmt_ops,
71         .rfs_ops = &galaxys2_rfs_ops,
72         .handlers = &galaxys2_handlers,
73         .gprs_specs = &galaxys2_gprs_specs,
74         .nv_data_specs = &galaxys2_nv_data_specs,
75     },
76     {
77         .name = "galaxys2",
78         .board_name = "i9100",
79         .kernel_version = NULL,
80         .fmt_ops = &galaxys2_fmt_ops,
81         .rfs_ops = &galaxys2_rfs_ops,
82         .handlers = &galaxys2_handlers,
83         .gprs_specs = &galaxys2_gprs_specs,
84         .nv_data_specs = &galaxys2_nv_data_specs,
85     },
86     {
87         .name = "maguro",
88         .board_name = "tuna",
89         .kernel_version = NULL,
90         .fmt_ops = &maguro_fmt_ops,
91         .rfs_ops = &maguro_rfs_ops,
92         .handlers = &maguro_handlers,
93         .gprs_specs = &maguro_gprs_specs,
94         .nv_data_specs = &maguro_nv_data_specs,
95     },
96     {
97         .name = "piranha",
98         .board_name = "espresso10",
99         .kernel_version = NULL,
100         .fmt_ops = &piranha_fmt_ops,
101         .rfs_ops = &piranha_rfs_ops,
102         .handlers = &piranha_handlers,
103         .gprs_specs = &piranha_gprs_specs,
104         .nv_data_specs = &piranha_nv_data_specs,
105     },
106     {
107         .name = "piranha",
108         .board_name = "espresso",
109         .kernel_version = NULL,
110         .fmt_ops = &piranha_fmt_ops,
111         .rfs_ops = &piranha_rfs_ops,
112         .handlers = &piranha_handlers,
113         .gprs_specs = &piranha_gprs_specs,
114         .nv_data_specs = &piranha_nv_data_specs,
115     },
116     {
117         .name = "i9300",
118         .board_name = "smdk4x12",
119         .kernel_version = NULL,
120         .fmt_ops = &i9300_fmt_ops,
121         .rfs_ops = &i9300_rfs_ops,
122         .handlers = &i9300_handlers,
123         .gprs_specs = &i9300_gprs_specs,
124         .nv_data_specs = &i9300_nv_data_specs,
125     },
126     {
127         .name = "n7100",
128         .board_name = "smdk4x12",
129         .kernel_version = NULL,
130         .fmt_ops = &n7100_fmt_ops,
131         .rfs_ops = &n7100_rfs_ops,
132         .handlers = &n7100_handlers,
133         .gprs_specs = &n7100_gprs_specs,
134         .nv_data_specs = &n7100_nv_data_specs,
135     },
136 };
137
138 unsigned int ipc_devices_count = sizeof(ipc_devices) /
139     sizeof(struct ipc_device_desc);
140
141 // vim:ts=4:sw=4:expandtab