aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/systemd/udev/e320
diff options
context:
space:
mode:
authorJoerg Hofrichter <joerg.hofrichter@ni.com>2020-09-01 09:52:03 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-02-11 07:17:24 -0600
commitd2c0a464084535af4393e7e2f444668e5e7b9e8a (patch)
treeb2c8cac83128421b9f6806aab57b2019a2e81fab /mpm/systemd/udev/e320
parent13f1dc28f162c74cc0eac6673d3c12d5195238d1 (diff)
downloaduhd-d2c0a464084535af4393e7e2f444668e5e7b9e8a.tar.gz
uhd-d2c0a464084535af4393e7e2f444668e5e7b9e8a.tar.bz2
uhd-d2c0a464084535af4393e7e2f444668e5e7b9e8a.zip
mpm: systemd: create udev rules files for each MPM_DEVICE
Simplify installation of udev rules by creating folders for each MPM_DEVICE.
Diffstat (limited to 'mpm/systemd/udev/e320')
-rw-r--r--mpm/systemd/udev/e320/70-sfp-net.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpm/systemd/udev/e320/70-sfp-net.rules b/mpm/systemd/udev/e320/70-sfp-net.rules
new file mode 100644
index 000000000..3015dfdef
--- /dev/null
+++ b/mpm/systemd/udev/e320/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=="40020000.ethernet", NAME="int0"