84b277
From eb8c33c65906ba721c6becb4053b8e0b56447aec Mon Sep 17 00:00:00 2001
84b277
From: Michal Sekletar <msekleta@redhat.com>
84b277
Date: Mon, 22 Sep 2014 07:53:52 +0200
84b277
Subject: [PATCH] rules: add rule for naming Dell iDRAC USB Virtual NIC as
84b277
 'idrac'
84b277
84b277
RHEL-only patch
84b277
84b277
Resolves: #1054477
84b277
---
84b277
 Makefile.am          | 3 ++-
84b277
 rules/73-idrac.rules | 6 ++++++
84b277
 2 files changed, 8 insertions(+), 1 deletion(-)
84b277
 create mode 100644 rules/73-idrac.rules
84b277
84b277
diff --git a/Makefile.am b/Makefile.am
84b277
index 54941c0..d54a556 100644
84b277
--- a/Makefile.am
84b277
+++ b/Makefile.am
84b277
@@ -2221,7 +2221,8 @@ dist_udevrules_DATA += \
84b277
 	rules/78-sound-card.rules \
84b277
 	rules/80-net-name-slot.rules \
84b277
 	rules/95-udev-late.rules \
84b277
-	rules/40-redhat.rules
84b277
+	rules/40-redhat.rules \
84b277
+	rules/73-idrac.rules
84b277
 
84b277
 dist_udevhwdb_DATA = \
84b277
 	hwdb/20-pci-vendor-model.hwdb \
84b277
diff --git a/rules/73-idrac.rules b/rules/73-idrac.rules
84b277
new file mode 100644
84b277
index 0000000..d67fc42
84b277
--- /dev/null
84b277
+++ b/rules/73-idrac.rules
84b277
@@ -0,0 +1,6 @@
84b277
+# do not edit this file, it will be overwritten on update
84b277
+
84b277
+# On Dell PowerEdge systems, the iDRAC7 and later support a USB Virtual NIC
84b277
+# with terminates in the iDRAC. Help identify this with 'idrac'
84b277
+
84b277
+ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="usb", ATTRS{idVendor}=="413c", ATTRS{idProduct}=="a102", NAME="idrac"