Blob Blame History Raw
From eb8c33c65906ba721c6becb4053b8e0b56447aec Mon Sep 17 00:00:00 2001
From: Michal Sekletar <msekleta@redhat.com>
Date: Mon, 22 Sep 2014 07:53:52 +0200
Subject: [PATCH] rules: add rule for naming Dell iDRAC USB Virtual NIC as
 'idrac'

RHEL-only patch

Resolves: #1054477
---
 Makefile.am          | 3 ++-
 rules/73-idrac.rules | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 rules/73-idrac.rules

diff --git a/Makefile.am b/Makefile.am
index 54941c0..d54a556 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2221,7 +2221,8 @@ dist_udevrules_DATA += \
 	rules/78-sound-card.rules \
 	rules/80-net-name-slot.rules \
 	rules/95-udev-late.rules \
-	rules/40-redhat.rules
+	rules/40-redhat.rules \
+	rules/73-idrac.rules
 
 dist_udevhwdb_DATA = \
 	hwdb/20-pci-vendor-model.hwdb \
diff --git a/rules/73-idrac.rules b/rules/73-idrac.rules
new file mode 100644
index 0000000..d67fc42
--- /dev/null
+++ b/rules/73-idrac.rules
@@ -0,0 +1,6 @@
+# do not edit this file, it will be overwritten on update
+
+# On Dell PowerEdge systems, the iDRAC7 and later support a USB Virtual NIC
+# with terminates in the iDRAC. Help identify this with 'idrac'
+
+ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="usb", ATTRS{idVendor}=="413c", ATTRS{idProduct}=="a102", NAME="idrac"