Rename to mfld-blackbay plugin
authorNicolas Bertrand <nicolas.bertrand@linux.intel.com>
Wed, 16 Jan 2013 10:48:05 +0000 (11:48 +0100)
committerAuke Kok <auke-jan.h.kok@intel.com>
Fri, 8 Feb 2013 20:26:01 +0000 (12:26 -0800)
CMakeLists.txt
include/util_imc.h
packaging/tel-plugin-imc-pr3.spec
src/desc_imc_kernel_mux_pr3.c
src/desc_imc_pr3.c
src/util_imc.c

index 8cc39ea..3be0269 100644 (file)
@@ -1,5 +1,5 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(imc-pr3-plugin C)
+PROJECT(mfld-blackbay-plugin C)
 
 ### Global setting ###
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
@@ -22,7 +22,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include/)
 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Werror -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align")
 
 ADD_DEFINITIONS("-DFEATURE_DLOG_DEBUG")
-ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"IMC-PR3\"")
+ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"MFLD-BLACKBAY\"")
 
 MESSAGE(${CMAKE_C_FLAGS})
 MESSAGE(${CMAKE_EXE_LINKER_FLAGS})
@@ -48,11 +48,11 @@ ENDIF( ${KERNEL_MUX} EQUAL 1 )
 MESSAGE( "SOURCES: ${SRCS}" )
 
 # library build
-ADD_LIBRARY(imc-pr3-plugin SHARED ${SRCS})
-TARGET_LINK_LIBRARIES(imc-pr3-plugin ${pkgs_LDFLAGS})
-SET_TARGET_PROPERTIES(imc-pr3-plugin PROPERTIES PREFIX "" OUTPUT_NAME imc-pr3-plugin)
+ADD_LIBRARY(mfld-blackbay-plugin SHARED ${SRCS})
+TARGET_LINK_LIBRARIES(mfld-blackbay-plugin ${pkgs_LDFLAGS})
+SET_TARGET_PROPERTIES(mfld-blackbay-plugin PROPERTIES PREFIX "" OUTPUT_NAME mfld-blackbay-plugin)
 
 
 # install
-INSTALL(TARGETS imc-pr3-plugin
+INSTALL(TARGETS mfld-blackbay-plugin
                LIBRARY DESTINATION lib/telephony/plugins)
index 1191e25..4240016 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *
- *  tel-plugin-imc-pr3
+ *  tel-plugin-mfld-blackbay
  *
  *  Copyright (C) 2012  Intel Corporation. All rights reserved.
  *
index edf6d60..6833b19 100644 (file)
@@ -1,10 +1,10 @@
-Name:       tel-plugin-imc-pr3
-Summary:    PR3 plateform telephony plugin
+Name:       tel-plugin-mfld-blackbay
+Summary:    Medfield Blackbay plateform telephony plugin
 Version: 0.0.1
 Release:    1
 Group:      System/Libraries
 License:    Apache
-Source0:    tel-plugin-imc-pr3-%{version}.tar.gz
+Source0:    tel-plugin-mfld-blackbay-%{version}.tar.gz
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 Requires:  audience-bin-mfld-blackbay
@@ -15,7 +15,7 @@ BuildRequires:  pkgconfig(tcore)
 BuildRequires:  pkgconfig(alsa)
 
 %description
-PR3 plateform telephony plugin
+Medfield Blackbay plateform telephony plugin
 
 %prep
 %setup -q
@@ -36,4 +36,4 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 #%doc COPYING
-%{_libdir}/telephony/plugins/imc-pr3-plugin*
+%{_libdir}/telephony/plugins/mfld-blackbay-plugin*
index 33c479d..ad80809 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *
- *  tel-plugin-imc-pr3
+ *  tel-plugin-mfld-blackbay
  *
  *  Copyright (C) 2012  Intel Corporation. All rights reserved.
  *
@@ -684,7 +684,7 @@ static gboolean on_init(TcorePlugin *plugin)
        dbg("tty port (%s) opened successfully", DEVICE_IFX);
 
        /* HAL init */
-       hal = tcore_hal_new(plugin, "imc-pr3", &hops, TCORE_HAL_MODE_AT);
+       hal = tcore_hal_new(plugin, "mfld-blackbay", &hops, TCORE_HAL_MODE_AT);
        if (hal == NULL){
                err("Failed to create HAL");
                g_free(data);
@@ -703,7 +703,7 @@ static gboolean on_init(TcorePlugin *plugin)
 
        tcore_hal_link_user_data(hal, data);
 
-       dbg("HAL is imc-pr3: channel = %p, watch_id=%d ", data->channel, data->watch_id);
+       dbg("HAL is mfld-blackbay: channel = %p, watch_id=%d ", data->channel, data->watch_id);
 
        if (pr3_audio_init() != TRUE)
                err("Error in audio initialization")
@@ -724,7 +724,7 @@ static void on_unload(TcorePlugin *plugin)
 
 struct tcore_plugin_define_desc plugin_define_desc =
 {
-       .name = "IMC-PR3",
+       .name = "mfld-blackbay",
        .priority = TCORE_PLUGIN_PRIORITY_HIGH,
        .version = 1,
        .load = on_load,
index 7ec076a..cd5e2f5 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *
- *  tel-plugin-imc-pr3
+ *  tel-plugin-mfld-blackbay
  *
  *  Copyright (C) 2012  Intel Corporation. All rights reserved.
  *
@@ -552,7 +552,7 @@ static gboolean on_init(TcorePlugin *plugin)
        dbg("tty port (%s) opened successfully", DEVICE_IFX);
 
        /* HAL init */
-       hal = tcore_hal_new(plugin, "imc-pr3", &hops, TCORE_HAL_MODE_AT);
+       hal = tcore_hal_new(plugin, "mfld-blackbay", &hops, TCORE_HAL_MODE_AT);
        if (hal == NULL){
                err("Failed to create HAL");
                g_free(data);
@@ -571,7 +571,7 @@ static gboolean on_init(TcorePlugin *plugin)
 
        tcore_hal_link_user_data(hal, data);
 
-       dbg("HAL is imc-pr3: channel = %p, watch_id=%d ", data->channel, data->watch_id);
+       dbg("HAL is mfld-blackbay: channel = %p, watch_id=%d ", data->channel, data->watch_id);
 
        if (pr3_audio_init() != TRUE)
                err("Error in audio initialization")
@@ -592,7 +592,7 @@ static void on_unload(TcorePlugin *plugin)
 
 struct tcore_plugin_define_desc plugin_define_desc =
 {
-       .name = "IMC-PR3",
+       .name = "MFLD-BLACKBAY",
        .priority = TCORE_PLUGIN_PRIORITY_HIGH,
        .version = 1,
        .load = on_load,
index 3a413a6..02a16d7 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *
- *  tel-plugin-imc-pr3
+ *  tel-plugin-mfld-blackbay
  *
  *  Copyright (C) 2012  Intel Corporation. All rights reserved.
  *