Blame SOURCES/0074-network-include-all-ethernet-drivers.patch

18971c
From d1e9a5e3840b569aa8de6daba0e9ffd40b315a23 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Wed, 15 Jan 2014 14:35:53 +0100
18971c
Subject: [PATCH] network: include all ethernet drivers
18971c
18971c
---
18971c
 modules.d/40network/module-setup.sh | 8 ++++++--
18971c
 1 file changed, 6 insertions(+), 2 deletions(-)
18971c
18971c
diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
18971c
index 508dbab1..a5e796f4 100755
18971c
--- a/modules.d/40network/module-setup.sh
18971c
+++ b/modules.d/40network/module-setup.sh
18971c
@@ -24,7 +24,7 @@ installkernel() {
18971c
 
18971c
     net_module_filter() {
18971c
         local _net_drivers='eth_type_trans|register_virtio_device|usbnet_open'
18971c
-        local _unwanted_drivers='/(wireless|isdn|uwb)/'
18971c
+        local _unwanted_drivers='/(wireless|isdn|uwb|net/ethernet|net/phy|net/team)/'
18971c
         local _ret
18971c
         # subfunctions inherit following FDs
18971c
         local _merge=8 _side2=9
18971c
@@ -64,7 +64,11 @@ installkernel() {
18971c
         | net_module_filter | instmods
18971c
 
18971c
     #instmods() will take care of hostonly
18971c
-    instmods =drivers/net/phy ecb arc4 bridge stp llc ipv6 bonding 8021q af_packet virtio_net =drivers/net/team
18971c
+    instmods \
18971c
+        =drivers/net/phy \
18971c
+        =drivers/net/team \
18971c
+        =drivers/net/ethernet \
18971c
+        ecb arc4 bridge stp llc ipv6 bonding 8021q af_packet virtio_net
18971c
 }
18971c
 
18971c
 install() {