# File..: /.kmod_megaload-dirlist
# Source: source/k/sources/kmod_megaload_dirlist
#
# This file defines a set of core kernel subsystems whose modules will be
# loaded by the Slackware ARM Linux Kernel Module Loader when the
# 'kmod_megaload' parameter is supplied on the kernel command line.
#
# The loader will recursively load all modules found within the specified
# subsystem directories. This is primarily intended to assist with onboarding
# new or unverified hardware platforms where the exact module requirements are
# not yet known.
#
# By proactively loading broad classes of drivers, this mechanism increases
# the likelihood that essential hardware components are detected and brought
# up successfully during early testing and platform enablement.

# These are semi-sorted in order of importance, so it's easier to comment
# the subsystems out when the system kernel panics due to shortage of RAM.

drivers/gpu/drm
drivers/drm/bridge
drivers/regulator
drivers/usb/typec
drivers/usb
drivers/net
drivers/base/regmap
drivers/bus
drivers/char
drivers/block
drivers/clk
drivers/cpufreq
drivers/dma
drivers/firmware
drivers/gpu
drivers/hid
# Loading all of hwmon tends to cause kernel panics
#drivers/hwmon
drivers/i2c
drivers/iio
drivers/input
drivers/iommu
drivers/md
drivers/mfd
drivers/nvmem
drivers/power/supply
drivers/pwm
drivers/soc
drivers/spi
drivers/thermal
drivers/uio
drivers/vdpa
drivers/vfio
drivers/video
drivers/watchdog
