valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

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

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