aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/systemd/udev
diff options
context:
space:
mode:
authorRobertWalstab <robert.walstab@gmail.com>2020-07-09 12:10:52 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2020-07-16 10:00:12 -0500
commit7018ac8e47f23c9765efe33a7068c8f6f2fab14d (patch)
treea7b45983f49f4693c337f5c48db9be935c23783e /mpm/systemd/udev
parent11821443369ace95af5bc9e2556ca71f6219f960 (diff)
downloaduhd-7018ac8e47f23c9765efe33a7068c8f6f2fab14d.tar.gz
uhd-7018ac8e47f23c9765efe33a7068c8f6f2fab14d.tar.bz2
uhd-7018ac8e47f23c9765efe33a7068c8f6f2fab14d.zip
mpm: systemd: systemd configuration are getting now installed under consideration of the device type
Diffstat (limited to 'mpm/systemd/udev')
-rw-r--r--mpm/systemd/udev/e3xx/70-sfp-net.rules (renamed from mpm/systemd/udev/70-sfp-net.rules)0
-rw-r--r--mpm/systemd/udev/n3xx/70-sfp-net.rules3
2 files changed, 3 insertions, 0 deletions
diff --git a/mpm/systemd/udev/70-sfp-net.rules b/mpm/systemd/udev/e3xx/70-sfp-net.rules
index 3015dfdef..3015dfdef 100644
--- a/mpm/systemd/udev/70-sfp-net.rules
+++ b/mpm/systemd/udev/e3xx/70-sfp-net.rules
diff --git a/mpm/systemd/udev/n3xx/70-sfp-net.rules b/mpm/systemd/udev/n3xx/70-sfp-net.rules
new file mode 100644
index 000000000..b113ac608
--- /dev/null
+++ b/mpm/systemd/udev/n3xx/70-sfp-net.rules
@@ -0,0 +1,3 @@
+SUBSYSTEM=="net", KERNELS=="40000000.ethernet", NAME="sfp0"
+SUBSYSTEM=="net", KERNELS=="40008000.ethernet", NAME="sfp1"
+SUBSYSTEM=="net", KERNELS=="40040000.ethernet", NAME="int0"