summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-06-08 20:08:28 +0700
committerGitHub <noreply@github.com>2020-06-08 20:08:28 +0700
commit084ea25892a9cc5f14c3cb17e87cecb21b4c3083 (patch)
tree53c2feb3f720f0573228cfdc05ec793927877d0d
parentd491bff97ab061da4f7b77b8d458726868687342 (diff)
parent2b214162ca0cb7f36e3ceb54d74a86ce5a869c20 (diff)
downloadvyos-build-084ea25892a9cc5f14c3cb17e87cecb21b4c3083.tar.gz
vyos-build-084ea25892a9cc5f14c3cb17e87cecb21b4c3083.zip
Merge pull request #106 from DmitriyEshenko/crux-fix-vep14x
build-dell-image: T2563: Fix Dell VEP14XX interface binding
-rw-r--r--tools/vendors_udev/64-vyos-VEP1400-net.rules21
1 files changed, 11 insertions, 10 deletions
diff --git a/tools/vendors_udev/64-vyos-VEP1400-net.rules b/tools/vendors_udev/64-vyos-VEP1400-net.rules
index d14aa8f5..37f623e8 100644
--- a/tools/vendors_udev/64-vyos-VEP1400-net.rules
+++ b/tools/vendors_udev/64-vyos-VEP1400-net.rules
@@ -1,12 +1,13 @@
-ATTR{[dmi/id]board_name}!="VEP-1400", GOTO="end_dell_nic"
+ATTR{[dmi/id]board_name}!="VEP14*", GOTO="end_dell_nic"
-ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:05:00.1", ENV{VYOS_IFNAME}="eth0", ATTR{ifalias}="SFP+1"
-ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:05:00.0", ENV{VYOS_IFNAME}="eth1", ATTR{ifalias}="SFP+2"
-ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.2", ENV{VYOS_IFNAME}="eth2", ATTR{ifalias}="GE1"
-ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.3", ENV{VYOS_IFNAME}="eth3", ATTR{ifalias}="GE2"
-ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.0", ENV{VYOS_IFNAME}="eth4", ATTR{ifalias}="GE3"
-ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.1", ENV{VYOS_IFNAME}="eth5", ATTR{ifalias}="GE4"
-ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.1", ENV{VYOS_IFNAME}="eth6", ATTR{ifalias}="GE5"
-ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.0", ENV{VYOS_IFNAME}="eth7", ATTR{ifalias}="GE6"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.2", ENV{VYOS_IFNAME}="eth1", ATTR{ifalias}="GE1"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.3", ENV{VYOS_IFNAME}="eth2", ATTR{ifalias}="GE2"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.0", ENV{VYOS_IFNAME}="eth3", ATTR{ifalias}="GE3"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:02:00.1", ENV{VYOS_IFNAME}="eth4", ATTR{ifalias}="GE4"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.1", ENV{VYOS_IFNAME}="eth5", ATTR{ifalias}="GE5"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:07:00.0", ENV{VYOS_IFNAME}="eth6", ATTR{ifalias}="GE6"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:05:00.1", ENV{VYOS_IFNAME}="eth7", ATTR{ifalias}="SFP+1"
+ACTION=="add", SUBSYSTEM=="net", KERNELS=="0000:05:00.0", ENV{VYOS_IFNAME}="eth8", ATTR{ifalias}="SFP+2"
+
+LABEL="end_dell_nic"
-LABEL="end_dell_nic" \ No newline at end of file