aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-probe.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-09-05 09:33:38 +0200
committerAleksander Morgado <aleksander@aleksander.es>2014-09-05 09:54:55 +0200
commit31f81725e628fd94233e62752ec386215d2b9e13 (patch)
tree5a45830de07c59af8d638b9a7d9e1cf905635350 /src/mm-port-probe.h
parent8450e563bb79bd1e300bba1d2e89c6d39a173694 (diff)
plugin: allow to explicitly ignore any kind of port via udev
The new 'ID_MM_PORT_IGNORE' tag will tell ModemManager to fully avoid using a given port. Note that it is key to not only flag the port probe as ignored, but also to fully ignore the ports in e.g. mm_port_probe_list_has_qmi_port() as those methods will be used to decide which kind of modem object to create. We don't want to create a QMI-based modem which may have all QMI ports blacklisted.
Diffstat (limited to 'src/mm-port-probe.h')
-rw-r--r--src/mm-port-probe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-port-probe.h b/src/mm-port-probe.h
index ea7c98da..0b3226a0 100644
--- a/src/mm-port-probe.h
+++ b/src/mm-port-probe.h
@@ -131,6 +131,7 @@ gboolean mm_port_probe_is_mbim (MMPortProbe *self);
const gchar *mm_port_probe_get_vendor (MMPortProbe *self);
const gchar *mm_port_probe_get_product (MMPortProbe *self);
gboolean mm_port_probe_is_icera (MMPortProbe *self);
+gboolean mm_port_probe_is_ignored (MMPortProbe *self);
/* Additional helpers */
gboolean mm_port_probe_list_has_at_port (GList *list);