aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/devices/crespo/crespo_ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'samsung-ipc/devices/crespo/crespo_ipc.h')
-rw-r--r--samsung-ipc/devices/crespo/crespo_ipc.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/samsung-ipc/devices/crespo/crespo_ipc.h b/samsung-ipc/devices/crespo/crespo_ipc.h
new file mode 100644
index 0000000..85bf21d
--- /dev/null
+++ b/samsung-ipc/devices/crespo/crespo_ipc.h
@@ -0,0 +1,49 @@
+/*
+ * This file is part of libsamsung-ipc.
+ *
+ * Copyright (C) 2011-2013 Paul Kocialkowski <contact@paulk.fr>
+ *
+ * libsamsung-ipc is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * libsamsung-ipc is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __CRESPO_IPC_H__
+#define __CRESPO_IPC_H__
+
+#define CRESPO_MODEM_IMAGE_SIZE 0xD80000
+#define CRESPO_PSI_SIZE 0x5000
+#define CRESPO_MODEM_CTL_NV_DATA_OFFSET 0xD80000
+#define CRESPO_BUFFER_LENGTH 0x50000
+
+#define CRESPO_MODEM_IMAGE_DEVICE "/dev/mtd/mtd5ro"
+#define CRESPO_MODEM_SERIAL_DEVICE "/dev/s3c2410_serial3"
+#define CRESPO_MODEM_CTL_DEVICE "/dev/modem_ctl"
+#define CRESPO_MODEM_FMT_DEVICE "/dev/modem_fmt"
+#define CRESPO_MODEM_RFS_DEVICE "/dev/modem_rfs"
+
+#define CRESPO_GPRS_IFACE_PREFIX "rmnet"
+#define CRESPO_GPRS_IFACE_COUNT 3
+
+struct crespo_ipc_transport_data {
+ int fd;
+};
+
+extern struct ipc_ops crespo_ipc_fmt_ops;
+extern struct ipc_ops crespo_ipc_rfs_ops;
+extern struct ipc_handlers crespo_ipc_handlers;
+extern struct ipc_gprs_specs crespo_ipc_gprs_specs_single;
+extern struct ipc_gprs_specs crespo_ipc_gprs_specs;
+
+#endif
+
+// vim:ts=4:sw=4:expandtab