Skip to contentSkip to conversation

Add a Calypso STK driver.

PATCH New Andrzej Zaborowski 1 participant 1 message May 3, 2010 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add a Calypso STK driver.

---
 Makefile.am                         |    3 +-
 drivers/calypsomodem/calypsomodem.c |    2 +
 drivers/calypsomodem/calypsomodem.h |    3 +
 drivers/calypsomodem/stk.c          |  274 +++++++++++++++++++++++++++++++++++
 plugins/phonesim.c                  |   46 +++++-
 5 files changed, 318 insertions(+), 10 deletions(-)
 create mode 100644 drivers/calypsomodem/stk.c
Makefile.am +2 -1
index 463e52e..58d2dc0 100644
@@ -161,7 +161,8 @@ builtin_modules += calypsomodem
 builtin_sources += drivers/atmodem/atutil.h \
 			drivers/calypsomodem/calypsomodem.h \
 			drivers/calypsomodem/calypsomodem.c \
-			drivers/calypsomodem/voicecall.c
+			drivers/calypsomodem/voicecall.c \
+			drivers/calypsomodem/stk.c
 
 builtin_modules += hfpmodem
 builtin_sources += drivers/atmodem/atutil.h \
drivers/calypsomodem/calypsomodem.c +2 -0
index 8cd213e..2ae436a 100644
@@ -35,12 +35,14 @@
 static int calypsomodem_init(void)
 {
 	calypso_voicecall_init();
+	calypso_stk_init();
 
 	return 0;
 }
 
 static void calypsomodem_exit(void)
 {
+	calypso_stk_exit();
 	calypso_voicecall_exit();
 }
 
drivers/calypsomodem/calypsomodem.h +3 -0
index 80af134..caf7a3d 100644
@@ -23,3 +23,6 @@
 
 extern void calypso_voicecall_init();
 extern void calypso_voicecall_exit();
+
+extern void calypso_stk_init();
+extern void calypso_stk_exit();
drivers/calypsomodem/stk.c new file +274 -0

274 lines not on this page · raw message

plugins/phonesim.c +37 -9

84 lines not on this page · raw message

Signature · 1 line
1.6.1