mirror of git://git.sysmocom.de/ofono
build: Add skeleton for Qualcomm QMI modem driver
This commit is contained in:
parent
ec4ba8a6fc
commit
85d43570fd
11
Makefile.am
11
Makefile.am
|
@ -151,6 +151,14 @@ builtin_modules += u8500
|
||||||
builtin_sources += plugins/u8500.c
|
builtin_sources += plugins/u8500.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if QMIMODEM
|
||||||
|
builtin_modules += qmimodem
|
||||||
|
builtin_sources += drivers/qmimodem/qmimodem.h drivers/qmimodem/qmimodem.c
|
||||||
|
|
||||||
|
builtin_modules += gobi
|
||||||
|
builtin_sources += plugins/gobi.c
|
||||||
|
endif
|
||||||
|
|
||||||
if ATMODEM
|
if ATMODEM
|
||||||
builtin_modules += atmodem
|
builtin_modules += atmodem
|
||||||
builtin_sources += $(gatchat_sources) \
|
builtin_sources += $(gatchat_sources) \
|
||||||
|
@ -306,9 +314,6 @@ endif
|
||||||
builtin_modules += g1
|
builtin_modules += g1
|
||||||
builtin_sources += plugins/g1.c
|
builtin_sources += plugins/g1.c
|
||||||
|
|
||||||
builtin_modules += gobi
|
|
||||||
builtin_sources += plugins/gobi.c
|
|
||||||
|
|
||||||
builtin_modules += wavecom
|
builtin_modules += wavecom
|
||||||
builtin_sources += plugins/wavecom.c
|
builtin_sources += plugins/wavecom.c
|
||||||
|
|
||||||
|
|
|
@ -177,6 +177,11 @@ AC_ARG_ENABLE(isimodem, AC_HELP_STRING([--disable-isimodem],
|
||||||
[enable_isimodem=${enableval}])
|
[enable_isimodem=${enableval}])
|
||||||
AM_CONDITIONAL(ISIMODEM, test "${enable_isimodem}" != "no")
|
AM_CONDITIONAL(ISIMODEM, test "${enable_isimodem}" != "no")
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(qmimodem, AC_HELP_STRING([--disable-qmimodem],
|
||||||
|
[disable Qualcomm QMI modem support]),
|
||||||
|
[enable_qmimodem=${enableval}])
|
||||||
|
AM_CONDITIONAL(QMIMODEM, test "${enable_qmimodem}" != "no")
|
||||||
|
|
||||||
AC_ARG_ENABLE(bluetooth, AC_HELP_STRING([--disable-bluetooth],
|
AC_ARG_ENABLE(bluetooth, AC_HELP_STRING([--disable-bluetooth],
|
||||||
[disable Bluetooth modem support]),
|
[disable Bluetooth modem support]),
|
||||||
[enable_bluetooth=${enableval}])
|
[enable_bluetooth=${enableval}])
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* oFono - Open Source Telephony
|
||||||
|
*
|
||||||
|
* Copyright (C) 2008-2011 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 <config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define OFONO_API_SUBJECT_TO_CHANGE
|
||||||
|
#include <ofono/plugin.h>
|
||||||
|
|
||||||
|
#include "qmimodem.h"
|
||||||
|
|
||||||
|
static int qmimodem_init(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void qmimodem_exit(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
OFONO_PLUGIN_DEFINE(qmimodem, "Qualcomm QMI modem driver", VERSION,
|
||||||
|
OFONO_PLUGIN_PRIORITY_DEFAULT, qmimodem_init, qmimodem_exit)
|
|
@ -0,0 +1,21 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* oFono - Open Source Telephony
|
||||||
|
*
|
||||||
|
* Copyright (C) 2008-2011 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
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
Loading…
Reference in New Issue