* [PATCH v5, 5/5] udev: Add nokiacdma device
@ 2011-01-11 1:45 Dara Spieker-Doyle
2011-01-13 5:26 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Dara Spieker-Doyle @ 2011-01-11 1:45 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]
---
plugins/udev.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/plugins/udev.c b/plugins/udev.c
index e502669..58308e3 100644
--- a/plugins/udev.c
+++ b/plugins/udev.c
@@ -507,6 +507,19 @@ static void add_tc65(struct ofono_modem *modem,
ofono_modem_register(modem);
}
+static void add_nokiacdma(struct ofono_modem *modem,
+ struct udev_device *udev_device)
+{
+ const char *devnode;
+
+ DBG("modem %p", modem);
+
+ devnode = udev_device_get_devnode(udev_device);
+ ofono_modem_set_string(modem, "Device", devnode);
+
+ ofono_modem_register(modem);
+}
+
static void add_modem(struct udev_device *udev_device)
{
struct ofono_modem *modem;
@@ -597,6 +610,8 @@ done:
add_calypso(modem, udev_device);
else if (g_strcmp0(driver, "tc65") == 0)
add_tc65(modem, udev_device);
+ else if (g_strcmp0(driver, "nokiacdma") == 0)
+ add_nokiacdma(modem, udev_device);
}
static gboolean devpath_remove(gpointer key, gpointer value, gpointer user_data)
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v5, 5/5] udev: Add nokiacdma device
2011-01-11 1:45 [PATCH v5, 5/5] udev: Add nokiacdma device Dara Spieker-Doyle
@ 2011-01-13 5:26 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2011-01-13 5:26 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
Hi Dara,
On 01/10/2011 07:45 PM, Dara Spieker-Doyle wrote:
> ---
> plugins/udev.c | 15 +++++++++++++++
> 1 files changed, 15 insertions(+), 0 deletions(-)
>
Patch has been applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-13 5:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11 1:45 [PATCH v5, 5/5] udev: Add nokiacdma device Dara Spieker-Doyle
2011-01-13 5:26 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.