diff --git a/Makefile.am b/Makefile.am index 89190ad2..bc97c9db 100644 --- a/Makefile.am +++ b/Makefile.am @@ -206,16 +206,6 @@ builtin_sources += drivers/atmodem/atutil.h \ drivers/calypsomodem/voicecall.c \ drivers/calypsomodem/stk.c -builtin_modules += hfpmodem -builtin_sources += drivers/atmodem/atutil.h \ - drivers/hfpmodem/hfpmodem.h \ - drivers/hfpmodem/hfpmodem.c \ - drivers/hfpmodem/slc.h \ - drivers/hfpmodem/slc.c \ - drivers/hfpmodem/voicecall.c \ - drivers/hfpmodem/network-registration.c \ - drivers/hfpmodem/call-volume.c - builtin_modules += mbmmodem builtin_sources += drivers/atmodem/atutil.h \ drivers/mbmmodem/mbmmodem.h \ @@ -254,6 +244,21 @@ builtin_sources += drivers/atmodem/atutil.h \ drivers/stemodem/caif_socket.h \ drivers/stemodem/if_caif.h +builtin_modules += dunmodem +builtin_sources += drivers/atmodem/atutil.h \ + drivers/dunmodem/dunmodem.h \ + drivers/dunmodem/dunmodem.c + +builtin_modules += hfpmodem +builtin_sources += drivers/atmodem/atutil.h \ + drivers/hfpmodem/hfpmodem.h \ + drivers/hfpmodem/hfpmodem.c \ + drivers/hfpmodem/slc.h \ + drivers/hfpmodem/slc.c \ + drivers/hfpmodem/voicecall.c \ + drivers/hfpmodem/network-registration.c \ + drivers/hfpmodem/call-volume.c + if PHONESIM builtin_modules += phonesim builtin_sources += plugins/phonesim.c diff --git a/drivers/dunmodem/dunmodem.c b/drivers/dunmodem/dunmodem.c new file mode 100644 index 00000000..b1ac2aca --- /dev/null +++ b/drivers/dunmodem/dunmodem.c @@ -0,0 +1,46 @@ +/* + * + * 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 +#endif + +#include +#include + +#define OFONO_API_SUBJECT_TO_CHANGE +#include +#include + +#include "dunmodem.h" + +static int dunmodem_init(void) +{ + return 0; +} + +static void dunmodem_exit(void) +{ +} + +OFONO_PLUGIN_DEFINE(dunmodem, "Dialup modem driver", VERSION, + OFONO_PLUGIN_PRIORITY_DEFAULT, + dunmodem_init, dunmodem_exit) diff --git a/drivers/dunmodem/dunmodem.h b/drivers/dunmodem/dunmodem.h new file mode 100644 index 00000000..90deb948 --- /dev/null +++ b/drivers/dunmodem/dunmodem.h @@ -0,0 +1,22 @@ +/* + * + * 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 + * + */ + +#include