summaryrefslogtreecommitdiffstats
path: root/filter-modules.sh
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2016-01-20 07:32:15 +0100
committerThorsten Leemhuis <fedora@leemhuis.info>2016-01-20 07:32:15 +0100
commite0acd2934870192c27129536bd7429f63fdf17b8 (patch)
treece7194642a9a6f99c94a4a6d37d258696690e1a3 /filter-modules.sh
parent7045c18a1f9ef3f1da66028349779e1e1bf8a74c (diff)
parente5da0c6fbe422dbea9d498729424f6a1befa498a (diff)
downloadkernel-4.5.0-0.rc0.git6.1.vanilla.knurd.1.fc24.tar.gz
kernel-4.5.0-0.rc0.git6.1.vanilla.knurd.1.fc24.tar.xz
kernel-4.5.0-0.rc0.git6.1.vanilla.knurd.1.fc24.zip
Merge remote-tracking branch 'origin/master'kernel-4.5.0-0.rc0.git6.1.vanilla.knurd.1.fc24
Diffstat (limited to 'filter-modules.sh')
-rwxr-xr-xfilter-modules.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/filter-modules.sh b/filter-modules.sh
index 7f14011f4..ef86416d1 100755
--- a/filter-modules.sh
+++ b/filter-modules.sh
@@ -14,7 +14,9 @@
# listed here.
# Set the default dirs/modules to filter out
-driverdirs="atm auxdisplay bcma bluetooth firewire fmc iio infiniband isdn leds media memstick mfd mmc mtd mwave nfc ntb pcmcia platform power ssb staging tty uio uwb w1"
+driverdirs="atm auxdisplay bcma bluetooth firewire fmc iio infiniband isdn leds media memstick mfd mmc mtd nfc ntb pcmcia platform power ssb staging tty uio uwb w1"
+
+chardrvs="mwave pcmcia"
netdrvs="appletalk can dsa hamradio ieee802154 irda ppp slip usb wireless"
@@ -83,6 +85,12 @@ do
filter_dir $1 drivers/net/${netdrv}
done
+# Filter the char drivers
+for char in ${chardrvs}
+do
+ filter_dir $1 drivers/char/${input}
+done
+
# Filter the ethernet drivers
for eth in ${ethdrvs}
do