1 Star 0 Fork 88

hexiaowen / systemd

forked from src-openEuler / systemd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0005-rules-add-rule-for-naming-Dell-iDRAC-USB-Virtual-NIC.patch 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2021-04-30 03:44 . rebase to 248
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 0000000000..d67fc425b1
--- /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 13d1d330cf..b06edf0621 100644
--- a/rules.d/meson.build
+++ b/rules.d/meson.build
@@ -18,6 +18,7 @@ rules = files('''
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.23.0
1
https://gitee.com/overweight/systemd.git
git@gitee.com:overweight/systemd.git
overweight
systemd
systemd
master

搜索帮助