api,modem: new 'Physdev' property
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
This commit is contained in:
@@ -1972,6 +1972,7 @@ setup_ports (MMBroadbandModem *_self)
|
||||
|
||||
MMBroadbandModemUblox *
|
||||
mm_broadband_modem_ublox_new (const gchar *device,
|
||||
const gchar *physdev,
|
||||
const gchar **drivers,
|
||||
const gchar *plugin,
|
||||
guint16 vendor_id,
|
||||
@@ -1979,6 +1980,7 @@ mm_broadband_modem_ublox_new (const gchar *device,
|
||||
{
|
||||
return g_object_new (MM_TYPE_BROADBAND_MODEM_UBLOX,
|
||||
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,
|
||||
|
||||
@@ -41,6 +41,7 @@ struct _MMBroadbandModemUbloxClass{
|
||||
GType mm_broadband_modem_ublox_get_type (void);
|
||||
|
||||
MMBroadbandModemUblox *mm_broadband_modem_ublox_new (const gchar *device,
|
||||
const gchar *physdev,
|
||||
const gchar **drivers,
|
||||
const gchar *plugin,
|
||||
guint16 vendor_id,
|
||||
|
||||
@@ -32,6 +32,7 @@ MM_DEFINE_PLUGIN (UBLOX, ublox, Ublox)
|
||||
static MMBaseModem *
|
||||
create_modem (MMPlugin *self,
|
||||
const gchar *sysfs_path,
|
||||
const gchar *physdev,
|
||||
const gchar **drivers,
|
||||
guint16 vendor,
|
||||
guint16 product,
|
||||
@@ -40,6 +41,7 @@ create_modem (MMPlugin *self,
|
||||
GError **error)
|
||||
{
|
||||
return MM_BASE_MODEM (mm_broadband_modem_ublox_new (sysfs_path,
|
||||
physdev,
|
||||
drivers,
|
||||
mm_plugin_get_name (self),
|
||||
vendor,
|
||||
|
||||
Reference in New Issue
Block a user