diff options
author | Lukas Voegl <lvoegl@tdt.de> | 2023-09-15 12:59:54 +0200 |
---|---|---|
committer | Lukas Voegl <lvoegl@tdt.de> | 2023-09-18 10:53:12 +0200 |
commit | 8cd1c1bdb9ba5bfe1b69b4484cc46bdd4720fdb4 (patch) | |
tree | 959258791644b9dd12dd8949c159363cf93e0ce8 /src/plugins/simtech | |
parent | 1fc061b6a533780041de89dd70a2567a265f6080 (diff) |
api,modem: new 'Physdev' property
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
Diffstat (limited to 'src/plugins/simtech')
5 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/simtech/mm-broadband-modem-qmi-simtech.c b/src/plugins/simtech/mm-broadband-modem-qmi-simtech.c index 93ff8576..05dee87c 100644 --- a/src/plugins/simtech/mm-broadband-modem-qmi-simtech.c +++ b/src/plugins/simtech/mm-broadband-modem-qmi-simtech.c @@ -44,6 +44,7 @@ G_DEFINE_TYPE_EXTENDED (MMBroadbandModemQmiSimtech, mm_broadband_modem_qmi_simte MMBroadbandModemQmiSimtech * mm_broadband_modem_qmi_simtech_new (const gchar *device, + const gchar *physdev, const gchar **drivers, const gchar *plugin, guint16 vendor_id, @@ -51,6 +52,7 @@ mm_broadband_modem_qmi_simtech_new (const gchar *device, { return g_object_new (MM_TYPE_BROADBAND_MODEM_QMI_SIMTECH, MM_BASE_MODEM_DEVICE, device, + MM_BASE_MODEM_PHYSDEV, physdev, MM_BASE_MODEM_DRIVERS, drivers, MM_BASE_MODEM_PLUGIN, plugin, MM_BASE_MODEM_VENDOR_ID, vendor_id, diff --git a/src/plugins/simtech/mm-broadband-modem-qmi-simtech.h b/src/plugins/simtech/mm-broadband-modem-qmi-simtech.h index 2f5b819b..3d3904ac 100644 --- a/src/plugins/simtech/mm-broadband-modem-qmi-simtech.h +++ b/src/plugins/simtech/mm-broadband-modem-qmi-simtech.h @@ -39,6 +39,7 @@ struct _MMBroadbandModemQmiSimtechClass{ GType mm_broadband_modem_qmi_simtech_get_type (void); MMBroadbandModemQmiSimtech *mm_broadband_modem_qmi_simtech_new (const gchar *device, + const gchar *physdev, const gchar **drivers, const gchar *plugin, guint16 vendor_id, diff --git a/src/plugins/simtech/mm-broadband-modem-simtech.c b/src/plugins/simtech/mm-broadband-modem-simtech.c index 2ca0c6ae..79d1ba60 100644 --- a/src/plugins/simtech/mm-broadband-modem-simtech.c +++ b/src/plugins/simtech/mm-broadband-modem-simtech.c @@ -1204,6 +1204,7 @@ setup_ports (MMBroadbandModem *self) MMBroadbandModemSimtech * mm_broadband_modem_simtech_new (const gchar *device, + const gchar *physdev, const gchar **drivers, const gchar *plugin, guint16 vendor_id, @@ -1211,6 +1212,7 @@ mm_broadband_modem_simtech_new (const gchar *device, { return g_object_new (MM_TYPE_BROADBAND_MODEM_SIMTECH, MM_BASE_MODEM_DEVICE, device, + MM_BASE_MODEM_PHYSDEV, physdev, MM_BASE_MODEM_DRIVERS, drivers, MM_BASE_MODEM_PLUGIN, plugin, MM_BASE_MODEM_VENDOR_ID, vendor_id, diff --git a/src/plugins/simtech/mm-broadband-modem-simtech.h b/src/plugins/simtech/mm-broadband-modem-simtech.h index a2b57fea..ec112bea 100644 --- a/src/plugins/simtech/mm-broadband-modem-simtech.h +++ b/src/plugins/simtech/mm-broadband-modem-simtech.h @@ -43,6 +43,7 @@ struct _MMBroadbandModemSimtechClass{ GType mm_broadband_modem_simtech_get_type (void); MMBroadbandModemSimtech *mm_broadband_modem_simtech_new (const gchar *device, + const gchar *physdev, const gchar **drivers, const gchar *plugin, guint16 vendor_id, diff --git a/src/plugins/simtech/mm-plugin-simtech.c b/src/plugins/simtech/mm-plugin-simtech.c index f3a5c89c..c40457ca 100644 --- a/src/plugins/simtech/mm-plugin-simtech.c +++ b/src/plugins/simtech/mm-plugin-simtech.c @@ -37,6 +37,7 @@ MM_DEFINE_PLUGIN (SIMTECH, simtech, Simtech) static MMBaseModem * create_modem (MMPlugin *self, const gchar *uid, + const gchar *physdev, const gchar **drivers, guint16 vendor, guint16 product, @@ -48,6 +49,7 @@ create_modem (MMPlugin *self, if (mm_port_probe_list_has_qmi_port (probes)) { mm_obj_dbg (self, "QMI-powered SimTech modem found..."); return MM_BASE_MODEM (mm_broadband_modem_qmi_simtech_new (uid, + physdev, drivers, mm_plugin_get_name (self), vendor, @@ -56,6 +58,7 @@ create_modem (MMPlugin *self, #endif return MM_BASE_MODEM (mm_broadband_modem_simtech_new (uid, + physdev, drivers, mm_plugin_get_name (self), vendor, |