Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: split more device drivers into modules
I went over all options which are `=y` in Talos, but `=m` in e.g. Ubuntu, and cross-referenced with lkddb to make sure each option is a driver loadable by PCI or USB IDs. The goal is to have smaller kernel, less stuff loaded by default, and shorter boot times. The final diff on modules: ``` 22a23,64 > ./lib/modules/6.1.65-talos/kernel/drivers/ata > ./lib/modules/6.1.65-talos/kernel/drivers/ata/ahci.ko > ./lib/modules/6.1.65-talos/kernel/drivers/ata/libahci.ko > ./lib/modules/6.1.65-talos/kernel/drivers/ata/pata_amd.ko > ./lib/modules/6.1.65-talos/kernel/drivers/ata/pata_marvell.ko > ./lib/modules/6.1.65-talos/kernel/drivers/ata/pata_oldpiix.ko > ./lib/modules/6.1.65-talos/kernel/drivers/ata/pata_sch.ko > ./lib/modules/6.1.65-talos/kernel/drivers/gpu > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/amd > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/amd/amdgpu > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/display > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/display/drm_display_helper.ko > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/drm_buddy.ko > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/drm_ttm_helper.ko > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/i915 > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/i915/i915.ko > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/scheduler > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/scheduler/gpu-sched.ko > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/ttm > ./lib/modules/6.1.65-talos/kernel/drivers/gpu/drm/ttm/ttm.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-a4tech.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-apple.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-belkin.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-cherry.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-chicony.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-cypress.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-ezkey.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-gyration.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-ite.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-kensington.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-lg-g15.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-logitech.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-microsoft.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-monterey.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-petalynx.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-pl.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-samsung.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-sunplus.ko > ./lib/modules/6.1.65-talos/kernel/drivers/hid/hid-topseed.ko 28a71,74 > ./lib/modules/6.1.65-talos/kernel/drivers/i2c > ./lib/modules/6.1.65-talos/kernel/drivers/i2c/busses > ./lib/modules/6.1.65-talos/kernel/drivers/i2c/busses/i2c-i801.ko > ./lib/modules/6.1.65-talos/kernel/drivers/i2c/i2c-smbus.ko 41a88,101 > ./lib/modules/6.1.65-talos/kernel/drivers/message > ./lib/modules/6.1.65-talos/kernel/drivers/message/fusion > ./lib/modules/6.1.65-talos/kernel/drivers/message/fusion/mptbase.ko > ./lib/modules/6.1.65-talos/kernel/drivers/message/fusion/mptsas.ko > ./lib/modules/6.1.65-talos/kernel/drivers/message/fusion/mptscsih.ko > ./lib/modules/6.1.65-talos/kernel/drivers/misc > ./lib/modules/6.1.65-talos/kernel/drivers/misc/hpilo.ko > ./lib/modules/6.1.65-talos/kernel/drivers/mmc > ./lib/modules/6.1.65-talos/kernel/drivers/mmc/host > ./lib/modules/6.1.65-talos/kernel/drivers/mmc/host/sdhci-acpi.ko > ./lib/modules/6.1.65-talos/kernel/drivers/mmc/host/sdhci_f_sdh30.ko > ./lib/modules/6.1.65-talos/kernel/drivers/mmc/host/sdhci-pci.ko > ./lib/modules/6.1.65-talos/kernel/drivers/mmc/host/sdhci-pltfm.ko > ./lib/modules/6.1.65-talos/kernel/drivers/mmc/host/sdhci-xenon-driver.ko 55a116,119 > ./lib/modules/6.1.65-talos/kernel/drivers/net/ethernet/broadcom/tg3.ko > ./lib/modules/6.1.65-talos/kernel/drivers/net/ethernet/cavium > ./lib/modules/6.1.65-talos/kernel/drivers/net/ethernet/cavium/common > ./lib/modules/6.1.65-talos/kernel/drivers/net/ethernet/cavium/common/cavium_ptp.ko 118a183,184 > ./lib/modules/6.1.65-talos/kernel/drivers/net/ethernet/qlogic/netxen > ./lib/modules/6.1.65-talos/kernel/drivers/net/ethernet/qlogic/netxen/netxen_nic.ko 131a198 > ./lib/modules/6.1.65-talos/kernel/drivers/net/mii.ko 156a224 > ./lib/modules/6.1.65-talos/kernel/drivers/net/usb/r8152.ko 167a236,238 > ./lib/modules/6.1.65-talos/kernel/drivers/nvme > ./lib/modules/6.1.65-talos/kernel/drivers/nvme/host > ./lib/modules/6.1.65-talos/kernel/drivers/nvme/host/nvme.ko 171a243,244 > ./lib/modules/6.1.65-talos/kernel/drivers/scsi/isci > ./lib/modules/6.1.65-talos/kernel/drivers/scsi/isci/isci.ko 184a258,260 > ./lib/modules/6.1.65-talos/kernel/drivers/usb/serial/ch341.ko > ./lib/modules/6.1.65-talos/kernel/drivers/usb/serial/cp210x.ko > ./lib/modules/6.1.65-talos/kernel/drivers/usb/serial/ftdi_sio.ko 185a262 > ./lib/modules/6.1.65-talos/kernel/drivers/usb/serial/pl2303.ko 224c301 < 86 directories, 136 files --- > 109 directories, 190 files ``` Signed-off-by: Andrey Smirnov <[email protected]>
- Loading branch information