summaryrefslogtreecommitdiffstats
path: root/0076-network-include-all-ethernet-drivers.patch
diff options
context:
space:
mode:
Diffstat (limited to '0076-network-include-all-ethernet-drivers.patch')
-rw-r--r--0076-network-include-all-ethernet-drivers.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/0076-network-include-all-ethernet-drivers.patch b/0076-network-include-all-ethernet-drivers.patch
new file mode 100644
index 0000000..8aa18b3
--- /dev/null
+++ b/0076-network-include-all-ethernet-drivers.patch
@@ -0,0 +1,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