api,modem: new 'Physdev' property
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
This commit is contained in:
@@ -327,6 +327,7 @@ setup_ports (MMBroadbandModem *self)
|
||||
|
||||
MMBroadbandModemNokia *
|
||||
mm_broadband_modem_nokia_new (const gchar *device,
|
||||
const gchar *physdev,
|
||||
const gchar **drivers,
|
||||
const gchar *plugin,
|
||||
guint16 vendor_id,
|
||||
@@ -334,6 +335,7 @@ mm_broadband_modem_nokia_new (const gchar *device,
|
||||
{
|
||||
return g_object_new (MM_TYPE_BROADBAND_MODEM_NOKIA,
|
||||
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 _MMBroadbandModemNokiaClass{
|
||||
GType mm_broadband_modem_nokia_get_type (void);
|
||||
|
||||
MMBroadbandModemNokia *mm_broadband_modem_nokia_new (const gchar *device,
|
||||
const gchar *physdev,
|
||||
const gchar **drivers,
|
||||
const gchar *plugin,
|
||||
guint16 vendor_id,
|
||||
|
||||
@@ -41,6 +41,7 @@ static const MMPortProbeAtCommand custom_at_probe[] = {
|
||||
static MMBaseModem *
|
||||
create_modem (MMPlugin *self,
|
||||
const gchar *uid,
|
||||
const gchar *physdev,
|
||||
const gchar **drivers,
|
||||
guint16 vendor,
|
||||
guint16 product,
|
||||
@@ -49,6 +50,7 @@ create_modem (MMPlugin *self,
|
||||
GError **error)
|
||||
{
|
||||
return MM_BASE_MODEM (mm_broadband_modem_icera_new (uid,
|
||||
physdev,
|
||||
drivers,
|
||||
mm_plugin_get_name (self),
|
||||
vendor,
|
||||
|
||||
@@ -42,6 +42,7 @@ static const MMPortProbeAtCommand custom_at_probe[] = {
|
||||
static MMBaseModem *
|
||||
create_modem (MMPlugin *self,
|
||||
const gchar *uid,
|
||||
const gchar *physdev,
|
||||
const gchar **drivers,
|
||||
guint16 vendor,
|
||||
guint16 product,
|
||||
@@ -50,6 +51,7 @@ create_modem (MMPlugin *self,
|
||||
GError **error)
|
||||
{
|
||||
return MM_BASE_MODEM (mm_broadband_modem_nokia_new (uid,
|
||||
physdev,
|
||||
drivers,
|
||||
mm_plugin_get_name (self),
|
||||
vendor,
|
||||
|
||||
Reference in New Issue
Block a user