From 87bda8783039c6bb4678941a25e940b209a25e14 Mon Sep 17 00:00:00 2001 From: Bertrand Aygon Date: Fri, 23 Mar 2012 12:01:08 +0100 Subject: Add ZTE modem driver --- drivers/ztemodem/ztemodem.c | 46 +++++++++++++++++++++++++++++++++++++++++++++ drivers/ztemodem/ztemodem.h | 22 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 drivers/ztemodem/ztemodem.c create mode 100644 drivers/ztemodem/ztemodem.h (limited to 'drivers/ztemodem') diff --git a/drivers/ztemodem/ztemodem.c b/drivers/ztemodem/ztemodem.c new file mode 100644 index 00000000..729e9111 --- /dev/null +++ b/drivers/ztemodem/ztemodem.c @@ -0,0 +1,46 @@ +/* + * + * oFono - Open Source Telephony + * + * Copyright (C) 2008-2012 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include +#include + +#define OFONO_API_SUBJECT_TO_CHANGE +#include +#include + +#include "ztemodem.h" + +static int ztemodem_init(void) +{ + return 0; +} + +static void ztemodem_exit(void) +{ +} + +OFONO_PLUGIN_DEFINE(ztemodem, "ZTE modem driver", VERSION, + OFONO_PLUGIN_PRIORITY_DEFAULT, + ztemodem_init, ztemodem_exit) diff --git a/drivers/ztemodem/ztemodem.h b/drivers/ztemodem/ztemodem.h new file mode 100644 index 00000000..d88fb94f --- /dev/null +++ b/drivers/ztemodem/ztemodem.h @@ -0,0 +1,22 @@ +/* + * + * oFono - Open Source Telephony + * + * Copyright (C) 2008-2012 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#include -- cgit v1.2.3