daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
803fb7
From 2411be37e26457c5e6734dbf08feb4b8375c13a2 Mon Sep 17 00:00:00 2001
803fb7
From: Michal Sekletar <msekleta@redhat.com>
803fb7
Date: Mon, 22 Sep 2014 07:53:52 +0200
803fb7
Subject: [PATCH] rules: add rule for naming Dell iDRAC USB Virtual NIC as
803fb7
 'idrac'
803fb7
803fb7
RHEL-only patch
803fb7
803fb7
Resolves: #1054477
803fb7
---
803fb7
 Makefile.am          | 3 ++-
803fb7
 rules/73-idrac.rules | 6 ++++++
803fb7
 2 files changed, 8 insertions(+), 1 deletion(-)
803fb7
 create mode 100644 rules/73-idrac.rules
803fb7
803fb7
diff --git a/Makefile.am b/Makefile.am
803fb7
index b0e4b5a42..9e64d6f98 100644
803fb7
--- a/Makefile.am
803fb7
+++ b/Makefile.am
803fb7
@@ -3567,7 +3567,8 @@ dist_udevrules_DATA += \
803fb7
 	rules/78-sound-card.rules \
803fb7
 	rules/80-net-setup-link.rules \
803fb7
 	rules/95-udev-late.rules \
803fb7
-	rules/40-redhat.rules
803fb7
+	rules/40-redhat.rules \
803fb7
+	rules/73-idrac.rules
803fb7
 
803fb7
 nodist_udevrules_DATA += \
803fb7
 	rules/99-systemd.rules
803fb7
diff --git a/rules/73-idrac.rules b/rules/73-idrac.rules
803fb7
new file mode 100644
803fb7
index 000000000..d67fc425b
803fb7
--- /dev/null
803fb7
+++ b/rules/73-idrac.rules
803fb7
@@ -0,0 +1,6 @@
803fb7
+# do not edit this file, it will be overwritten on update
803fb7
+
803fb7
+# On Dell PowerEdge systems, the iDRAC7 and later support a USB Virtual NIC
803fb7
+# with terminates in the iDRAC. Help identify this with 'idrac'
803fb7
+
803fb7
+ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="usb", ATTRS{idVendor}=="413c", ATTRS{idProduct}=="a102", NAME="idrac"