aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mm-filter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mm-filter.c b/src/mm-filter.c
index e6d8a34d..cf877b7e 100644
--- a/src/mm-filter.c
+++ b/src/mm-filter.c
@@ -107,7 +107,10 @@ mm_filter_port (MMFilter *self,
/* If the physdev is a 'platform' or 'pnp' device that's not whitelisted, ignore it */
physdev_subsystem = mm_kernel_device_get_physdev_subsystem (port);
if ((self->priv->enabled_rules & MM_FILTER_RULE_TTY_PLATFORM_DRIVER) &&
- (!g_strcmp0 (physdev_subsystem, "platform") || !g_strcmp0 (physdev_subsystem, "pnp"))) {
+ (!g_strcmp0 (physdev_subsystem, "platform") ||
+ !g_strcmp0 (physdev_subsystem, "pci") ||
+ !g_strcmp0 (physdev_subsystem, "pnp") ||
+ !g_strcmp0 (physdev_subsystem, "sdio"))) {
if (!mm_kernel_device_get_global_property_as_boolean (port, "ID_MM_PLATFORM_DRIVER_PROBE")) {
mm_dbg ("[filter] (%s/%s): port filtered: port's parent platform driver is not whitelisted", subsystem, name);
return FALSE;