summaryrefslogtreecommitdiffstats
path: root/mod-extra-blacklist.sh
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-03-09 17:26:45 +0100
committerHans de Goede <hdegoede@redhat.com>2020-03-09 17:26:45 +0100
commit3256dcb620f0b7e4e1c231c093ca3ca5b35f3433 (patch)
treee9d9d49f362fdee4064eebacde31e885cb58666f /mod-extra-blacklist.sh
parentb128fdd3ea05ed50981620db8d1bbdad66786d68 (diff)
downloadkernel-3256dcb620f0b7e4e1c231c093ca3ca5b35f3433.tar.gz
kernel-3256dcb620f0b7e4e1c231c093ca3ca5b35f3433.tar.xz
kernel-3256dcb620f0b7e4e1c231c093ca3ca5b35f3433.zip
Fix only 1 monitor working on DP-MST docking stations (rhbz 1809681)
Fix backtraces on various buggy BIOS-es (rhbz 1564895, 1808874) Add /etc/modprobe.d/floppy-blacklist.conf to fix auto-loading of the legacy floppy driver (rhbz 1789155)
Diffstat (limited to 'mod-extra-blacklist.sh')
-rwxr-xr-xmod-extra-blacklist.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/mod-extra-blacklist.sh b/mod-extra-blacklist.sh
index 9569ef6f2..c4c4f8f6d 100755
--- a/mod-extra-blacklist.sh
+++ b/mod-extra-blacklist.sh
@@ -46,3 +46,11 @@ foreachp()
[ -d "$buildroot/etc/modprobe.d/" ] || mkdir -p "$buildroot/etc/modprobe.d/"
find "$buildroot/$kernel_base/extra" -name "*.ko*" | \
foreachp check_blacklist
+
+# Many BIOS-es export a PNP-id which causes the floppy driver to autoload
+# even though most modern systems don't have a 3.5" floppy driver anymore
+# this replaces the old die_floppy_die.patch which removed the PNP-id from
+# the module
+if [ -f $buildroot/$kernel_base/extra/drivers/block/floppy.ko* ]; then
+ blacklist "floppy"
+fi