All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonas Bonn <jonas@southpole.se>
To: ofono@ofono.org
Subject: [PATCH udev v2 2/5] udevng: match on the hsi subsystem for legacy devices
Date: Tue, 28 Mar 2017 15:18:21 +0200	[thread overview]
Message-ID: <20170328131824.13261-3-jonas@southpole.se> (raw)
In-Reply-To: <20170328131824.13261-1-jonas@southpole.se>

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

---
 plugins/udevng.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/udevng.c b/plugins/udevng.c
index 7ac185c..4ff91d5 100644
--- a/plugins/udevng.c
+++ b/plugins/udevng.c
@@ -1606,6 +1606,7 @@ static void enumerate_devices(struct udev *context)
 	udev_enumerate_add_match_subsystem(enumerate, "usb");
 	udev_enumerate_add_match_subsystem(enumerate, "usbmisc");
 	udev_enumerate_add_match_subsystem(enumerate, "net");
+	udev_enumerate_add_match_subsystem(enumerate, "hsi");
 
 	udev_enumerate_scan_devices(enumerate);
 
@@ -1730,6 +1731,7 @@ static int detect_init(void)
 	udev_monitor_filter_add_match_subsystem_devtype(udev_mon,
 							"usbmisc", NULL);
 	udev_monitor_filter_add_match_subsystem_devtype(udev_mon, "net", NULL);
+	udev_monitor_filter_add_match_subsystem_devtype(udev_mon, "hsi", NULL);
 
 	udev_monitor_filter_update(udev_mon);
 
-- 
2.9.3


  parent reply	other threads:[~2017-03-28 13:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-28 13:18 [PATCH udev v2 0/5] Device handling cleanup series Jonas Bonn
2017-03-28 13:18 ` [PATCH udev v2 1/5] udevng: add serial device handling functions Jonas Bonn
2017-03-28 16:46   ` Denis Kenzior
2017-03-28 13:18 ` Jonas Bonn [this message]
2017-03-28 13:18 ` [PATCH udev v2 3/5] udevng: hook up legacy devices Jonas Bonn
2017-03-28 13:18 ` [PATCH udev v2 4/5] udevng: get properties from interface Jonas Bonn
2017-03-28 16:51   ` Denis Kenzior
2017-03-28 13:18 ` [PATCH udev v2 5/5] plugins: remove udev module Jonas Bonn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170328131824.13261-3-jonas@southpole.se \
    --to=jonas@southpole.se \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.