blob: 8aa18b389cc91e84f3812892970280bf51601b66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From 0cca6a1afbd73396951731ade0350ca37e0979a7 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Wed, 15 Jan 2014 14:35:53 +0100
Subject: [PATCH] network: include all ethernet drivers
---
modules.d/40network/module-setup.sh | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
index 547ad16..48afc5a 100755
--- a/modules.d/40network/module-setup.sh
+++ b/modules.d/40network/module-setup.sh
@@ -27,7 +27,7 @@ installkernel() {
net_module_filter() {
local _net_drivers='eth_type_trans|register_virtio_device|usbnet_open'
- local _unwanted_drivers='/(wireless|isdn|uwb)/'
+ local _unwanted_drivers='/(wireless|isdn|uwb|net/ethernet|net/phy|net/team)/'
local _ret
# subfunctions inherit following FDs
local _merge=8 _side2=9
@@ -67,7 +67,11 @@ installkernel() {
| net_module_filter | instmods
#instmods() will take care of hostonly
- instmods =drivers/net/phy ecb arc4 bridge stp llc ipv6 bonding 8021q af_packet virtio_net =drivers/net/team
+ instmods \
+ =drivers/net/phy \
+ =drivers/net/team \
+ =drivers/net/ethernet \
+ ecb arc4 bridge stp llc ipv6 bonding 8021q af_packet virtio_net
}
# called by dracut
|