daandemeyer / rpms / systemd

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