teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0007-rules-add-rule-for-naming-Dell-iDRAC-USB-Virtual-NIC.patch

ff6046
From 2991b22f5f40a66ad1cc088e502e7f40ae1806c2 Mon Sep 17 00:00:00 2001
ff6046
From: Michal Sekletar <msekleta@redhat.com>
ff6046
Date: Mon, 22 Sep 2014 07:53:52 +0200
ff6046
Subject: [PATCH] rules: add rule for naming Dell iDRAC USB Virtual NIC as
ff6046
 'idrac'
ff6046
ff6046
Related: #1523227
ff6046
---
ff6046
 rules/73-idrac.rules | 6 ++++++
ff6046
 rules/meson.build    | 1 +
ff6046
 2 files changed, 7 insertions(+)
ff6046
 create mode 100644 rules/73-idrac.rules
ff6046
ff6046
diff --git a/rules/73-idrac.rules b/rules/73-idrac.rules
ff6046
new file mode 100644
ff6046
index 0000000000..d67fc425b1
ff6046
--- /dev/null
ff6046
+++ b/rules/73-idrac.rules
ff6046
@@ -0,0 +1,6 @@
ff6046
+# do not edit this file, it will be overwritten on update
ff6046
+
ff6046
+# On Dell PowerEdge systems, the iDRAC7 and later support a USB Virtual NIC
ff6046
+# with terminates in the iDRAC. Help identify this with 'idrac'
ff6046
+
ff6046
+ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="usb", ATTRS{idVendor}=="413c", ATTRS{idProduct}=="a102", NAME="idrac"
ff6046
diff --git a/rules/meson.build b/rules/meson.build
ff6046
index e7e4362c0c..e04a18aca6 100644
ff6046
--- a/rules/meson.build
ff6046
+++ b/rules/meson.build
ff6046
@@ -17,6 +17,7 @@ rules = files('''
ff6046
         70-joystick.rules
ff6046
         70-mouse.rules
ff6046
         70-touchpad.rules
ff6046
+        73-idrac.rules
ff6046
         75-net-description.rules
ff6046
         75-probe_mtd.rules
ff6046
         78-sound-card.rules