Module: xenomai-jki
Branch: for-forge
Commit: 8da4e11391ea32079628ddb138387a76205369d5
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=8da4e11391ea32079628ddb138387a76205369d5

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Thu Jan  8 17:14:10 2015 +0100

cobalt: Generalize RTDM udev rules

Make all RTDM devices accessible to the xenomai group (if it exists),
not just the rtpipes and RTnet's management interface.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 kernel/cobalt/udev/00-rtnet.rules |    3 ---
 kernel/cobalt/udev/rtdm.rules     |    2 ++
 kernel/cobalt/udev/rtpipe.rules   |    2 --
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/kernel/cobalt/udev/00-rtnet.rules 
b/kernel/cobalt/udev/00-rtnet.rules
index 0e40571..39df24e 100644
--- a/kernel/cobalt/udev/00-rtnet.rules
+++ b/kernel/cobalt/udev/00-rtnet.rules
@@ -1,5 +1,2 @@
-# RTnet management device
-KERNEL=="rtnet", MODE="0660", GROUP="xenomai"
-
 # Don't let udev mess with our special network names
 KERNEL=="vnic*|rteth*|rtlo", NAME="$env{INTERFACE_NAME}"
diff --git a/kernel/cobalt/udev/rtdm.rules b/kernel/cobalt/udev/rtdm.rules
new file mode 100644
index 0000000..d549eda
--- /dev/null
+++ b/kernel/cobalt/udev/rtdm.rules
@@ -0,0 +1,2 @@
+# Xenomai real-time devices
+SUBSYSTEM=="rtdm", MODE="0660", GROUP="xenomai"
diff --git a/kernel/cobalt/udev/rtpipe.rules b/kernel/cobalt/udev/rtpipe.rules
deleted file mode 100644
index e8db5c1..0000000
--- a/kernel/cobalt/udev/rtpipe.rules
+++ /dev/null
@@ -1,2 +0,0 @@
-# real-time pipe devices (Xenomai:rtpipe)
-KERNEL=="rtp[0-9]*", MODE="0660", GROUP="xenomai"


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to