summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-26 21:04:27 +0100
committerGitHub <noreply@github.com>2021-01-26 21:04:27 +0100
commitd2430484ac88c63360a206d61c1e6983eac09c45 (patch)
tree75ea9c0b2672fd15dd570ba335218648f5992d7e /tools
parentbd84d229722c9a770b42ad9ca7696d55b85ac9e0 (diff)
parentf85dcdcb1a2b8a88278251fdacd853ec4b0a4924 (diff)
downloadvyos-build-d2430484ac88c63360a206d61c1e6983eac09c45.tar.gz
vyos-build-d2430484ac88c63360a206d61c1e6983eac09c45.zip
Merge pull request #142 from DmitriyEshenko/crux-lanner
Lanner: Add build procedure for Lanner NCA-25XX devices
Diffstat (limited to 'tools')
-rw-r--r--tools/vendors_udev/64-vyos-lanner-NCA-25XX-net.rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/vendors_udev/64-vyos-lanner-NCA-25XX-net.rules b/tools/vendors_udev/64-vyos-lanner-NCA-25XX-net.rules
new file mode 100644
index 00000000..095a3ea6
--- /dev/null
+++ b/tools/vendors_udev/64-vyos-lanner-NCA-25XX-net.rules
@@ -0,0 +1,9 @@
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:04:00.0", ENV{VYOS_IFNAME}="eth0"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:03:00.0", ENV{VYOS_IFNAME}="eth1"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:03:00.1", ENV{VYOS_IFNAME}="eth2"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:03:00.2", ENV{VYOS_IFNAME}="eth3"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:03:00.3", ENV{VYOS_IFNAME}="eth4"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.0", ENV{VYOS_IFNAME}="eth5", ATTR{ifalias}="SFP+"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.1", ENV{VYOS_IFNAME}="eth6", ATTR{ifalias}="SFP+"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:08:00.0", ENV{VYOS_IFNAME}="eth7", ATTR{ifalias}="SFP+"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:08:00.1", ENV{VYOS_IFNAME}="eth8", ATTR{ifalias}="SFP+"