teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

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

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