From 2991b22f5f40a66ad1cc088e502e7f40ae1806c2 Mon Sep 17 00:00:00 2001
From: Michal Sekletar <msekleta@redhat.com>
Date: Mon, 22 Sep 2014 07:53:52 +0200
Subject: rules: add rule for naming Dell iDRAC USB Virtual NIC
 as 'idrac'

Related: #1523227
---
 rules.d/73-idrac.rules | 6 ++++++
 rules.d/meson.build    | 1 +
 2 files changed, 7 insertions(+)
 create mode 100644 rules.d/73-idrac.rules

diff --git a/rules.d/73-idrac.rules b/rules.d/73-idrac.rules
new file mode 100644
index 0000000..d67fc42
--- /dev/null
+++ b/rules.d/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"
diff --git a/rules.d/meson.build b/rules.d/meson.build
index cba9dd4..39e174d 100644
--- a/rules.d/meson.build
+++ b/rules.d/meson.build
@@ -24,6 +24,7 @@ rules = [
                '70-joystick.rules',
                '70-mouse.rules',
                '70-touchpad.rules',
+               '73-idrac.rules',
                '75-net-description.rules',
                '75-probe_mtd.rules',
                '78-sound-card.rules',
-- 
2.33.0

