aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: support for Realtek USB bluetooth devicesQuintin Hill2022-11-121-2/+3
| | | | | | | | | | | USB adaptors with the RTL8761B chipset are cheap and readily available but so far support is missing in Openwrt. Enable the relevant kernel options and add a module to the kmod-bluetooth package. Increases size of kmod-bluetooth ipk from 279140 bytes to 285320 bytes on my ath79 build. Tested on a WNDR3700v4 with rtl8761bu firmware. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
* kernel: improve description of NTFS kernel packagesRafał Miłecki2022-11-081-4/+8
| | | | | | This helps choosing the right NTFS driver from two available options. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: further cleanup of xfrm[4|6]_mode*Martin Schiller2022-11-051-6/+0
| | | | | | | | | In my commit da5c45f4d886 ("kernel: remove handling of xfrm[4|6]_mode_* modules") I missed a few default config options and description entries. Those should be gone as well. Fixes: da5c45f4d886 ("kernel: remove handling of xfrm[4|6]_mode_* modules") Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* kernel: sort filesystems symbols alphabeticallyRafał Miłecki2022-11-021-35/+36
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: Add kmod-drm-ttm-helperHauke Mehrtens2022-11-011-2/+16
| | | | | | | | | | | | Add a package for drm_ttm_helper.ko. CONFIG_DRM_TTM_HELPER is compiled into the kernel on armvirt/64, x86/64, x86/generic and x86/legacy because also some DRM drivers are compiled into the kernel. On x86/geode it is not compiled into the kernel, but kmod-drm-amdgpu and kmod-drm-radeon depend on it. This fixes the x86/geode build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: remove handling of xfrm[4|6]_mode_* modulesMartin Schiller2022-10-311-12/+2
| | | | | | | | | | | | | | | For kernel versions before 5.2, the required IPsec modes have to be enabled explicitly (they are built-in for newer kernels). Commit 1556ed155a9a ("kernel: mode_beet mode_transport mode_tunnel xfram modules") tried to handle this, but it does not really work. Since we don't support these kernel versions anymore and the code is also broken, let's remove it. Signed-off-by: Martin Schiller <ms@dev.tdt.de> [Remove old generic config options too] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: replace gpio-mcp23s08 with pinctrl-mcp23s08*Florian Eckert2022-10-301-10/+43
| | | | | | | | | | | | The kernel module gpio-mcp23s08 has been replaced by the new pinctrl-mcp23s08* kernel modules. There are now 3 kernel modules for this device - Common module for both I2C and SPI kmod-pinctrl-mcp23s08 - Module for I2C kmod-pinctrl-mcp23s08-i2c - Module for SPI kmod-pinctrl-mcp23s08-spi Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* kernel: x86: Add glue_helper.ko only on kernel < 5.12Hauke Mehrtens2022-10-221-2/+2
| | | | | | | This module was removed with kernel 5.12. This fixes the build of the x86 target. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: iio: create and use AddDependsDaniel Golle2022-10-191-52/+55
| | | | | | Just like for other subsystems, create a reusable AddDepends call. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: test for kernel version greater 5.13 to fix mmc-spiNick Hainke2022-10-191-2/+3
| | | | | | | | | | The of_mmc_spi.o resource is provider agnostic in kernels greater 5.13 and does not depend anymore on CONFIG_OF [0]. [0] - https://github.com/torvalds/linux/commit/edd602146507532c1714d8428f654b87205f492e Suggested-by: John Thomson <git@johnthomson.fastmail.com.au> Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: disable kmod-fs-ntfs3 for Linux 5.10Rafał Miłecki2022-10-191-0/+1
| | | | | | | | This new NTFS driver was added in kernel 5.15. Avoid building empty package for kernel 5.10. Fixes: bd0db6017b192 ("kernel: 5.15: add new module") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: remove hack patch, move kirkwood specific kmods to target modules.mkFelix Fietkau2022-09-302-32/+0
| | | | | | | Tweaking the KCONFIG line of kmod-ata-marvell-sata makes the hack patch unnecessary Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: netsupport: replace insmod by modprobeManas Sambhus2022-09-271-1/+1
| | | | | | Replace insmod by modprobe in TEQL hotplug script Signed-off-by: Manas Sambhus <manas.sambhus+github@gmail.com>
* build: fix issues with targets installed via feedsFelix Fietkau2022-09-271-3/+4
| | | | | | | - fix including modules.mk when a target is being replaced - fix calling make targets from target/linux Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add VFIO kernel packagesNicola Corna2022-09-211-0/+43
| | | | | | Add kmod-vfio and kmod-vfio-pci packages. Signed-off-by: Nicola Corna <nicola@corna.info>
* build: fix including modules.mk for targets pulled in from feedsFelix Fietkau2022-09-181-1/+2
| | | | | Fixes: ebc36ebb2349 ("scripts/feeds: install targets to target/linux/feeds and support overriding") Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mediatek: build USB XHCI support as moduleDaniel Golle2022-09-141-0/+1
| | | | | | | | Instead of always including the XHCI driver in the kernel on all MediaTek boards, selectively include the kernel module only on boards which actually make use of USB functionality. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: netsupport: Add FQ-PIE as an optional sched kmod and extract PIEKabuli Chana2022-09-131-2/+33
| | | | | | | | add Flow Queuing with Proportional Integral controller Enhanced (FQ-PIE) as an optional kmod in network support and extract sched-pie from kmod-sched to allow dependency on just kmod-sched-pie (PIE). Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
* kernel: modules: package kmod-crypto-essivDaniel Golle2022-09-111-0/+12
| | | | | | Package kernel module providing ESSIV support for block encryption. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: fix Aquantia AQtion Atlantic module dependenciesDaniel Golle2022-09-101-1/+1
| | | | | | | | | | | | | | | | | | The buildbot revealed that Package kmod-atlantic is missing dependencies for the following libraries: hwmon.ko macsec.ko make[2]: *** [modules/netdevices.mk:1474: /builder/shared-workdir/build/bin/targets/mediatek/mt7629/packages/kmod-atlantic_5.15.67-1_arm_cortex-a7.ipk] Error 1 make[2]: Leaving directory '/builder/shared-workdir/build/package/kernel/linux' time: package/kernel/linux/compile#43.51#17.03#415.37 ERROR: package/kernel/linux failed to build. make[1]: *** [package/Makefile:116: package/kernel/linux/compile] Error 1 make[1]: *** Waiting for unfinished jobs.... Add those missing dependencies to fix the build. Fixes: d02e887d7c ("kernel: add Aquantia AQtion Atlantic 10Gbps Ethernet") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add Aquantia AQtion Atlantic 10Gbps EthernetMehdi Ahmadi2022-09-101-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Driver support for Aquantia AQtion Atlantic 10Gbps Ethernet NIC with the AQC107, AQC108 and others chipsets found on: - TP-Link: TX401 - Asus: XG-C100C, ROG Areion 10G NIC - & more ... Successfully tested using a build with 22.03.0-rc6 (x86_64/EFI image) and the following outputs: ``` [ 3.092053] pci 0000:06:00.0: [1d6a:07b1] type 00 class 0x020000 [ 3.094983] pci 0000:06:00.0: reg 0x10: [mem 0x50800000-0x5080ffff 64bit] [ 3.098880] pci 0000:06:00.0: reg 0x18: [mem 0x50810000-0x50810fff 64bit] [ 3.108868] pci 0000:06:00.0: reg 0x20: [mem 0x50400000-0x507fffff 64bit] [ 3.108883] pci 0000:06:00.0: enabling Extended Tags [ 3.118874] pci 0000:06:00.0: supports D1 D2 [ 3.118874] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 3.128891] pci 0000:06:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0000:00:1d.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link) [ 10.312793] atlantic 0000:06:00.0: enabling device (0000 -> 0002) [ 23.223813] atlantic 0000:06:00.0 eth0: atlantic: link change old 0 new 10000 lsmod && uname -ar ; # atlantic 147456 0 # # // ... # Linux version 5.10.138 (vagrant@make-host) (x86_64-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r20430-18a2b29aa1) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Mon Aug 29 09:54:00 2022 ``` Signed-off-by: Mehdi Ahmadi <aphorise@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com> [ fix wrong commit author as requested by author itself ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: modules: bluetooth: include support for MediaTek USBDaniel Golle2022-09-091-0/+2
| | | | | | | Enable MediaTek protocol in btusb module to support e.g. the Bluetooth part of the MT7921K NGFF/M.2 module. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: load loop driver before creating overlayTomasz Maciej Nowak2022-09-071-1/+1
| | | | | | Creating overlay will fail if there's no loop device. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* kernel: load FAT filesystem drivers before mount_rootTomasz Maciej Nowak2022-09-071-1/+1
| | | | | | | | | | Devices using GPT usually have FAT filesystem on boot partition and that's where the intermediary backup of system configuration is stored on sysupgrade. Automatic restoring of OpenWrt configuration after sysupgrade will be inhibited if the driver is not loaded and file system type is not specified in mount command. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* kernel: build crypto md5/sha1/sha256 modules for powerpcJosef Schlehofer2022-09-021-1/+19
| | | | | | | | | | | | | | | | This builds and enables kernel optimized modules for mpc85xx target: - CONFIG_CRYPTO_MD5_PPC [1] - CONFIG_CRYPTO_SHA1_PPC_SPE [2] - CONFIG_CRYPTO_SHA256_PPC_SPE [3] Where it was possible, then use Signal Processing Engine, because CONFIG_SPE is already enabled in mpc85xx config. [1] https://cateee.net/lkddb/web-lkddb/CRYPTO_MD5_PPC.html [2] https://cateee.net/lkddb/web-lkddb/CRYPTO_SHA1_PPC.html [3] https://cateee.net/lkddb/web-lkddb/CRYPTO_SHA256_PPC_SPE.html Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* kernel: fix typo for tegra crypto-sha1 moduleJosef Schlehofer2022-08-311-1/+1
| | | | | | | Fixes: e889489bedfd2830411bd0cf6564b8272aa9c254 ("kernel: build arm/neon-optimized sha1/512 modules") Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* kernel: enable inside secure driver for MediaTek platformsDaniel Golle2022-08-281-2/+3
| | | | | | | | Older MT7623 ARMv7 SoC as well as new Filogic platforms come with inside-secure,safexcel-eip97 units. Enable them in DTS and select the driver kernel module by default on those platforms. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: extract kmod-sched-act-ipt from kmod-schedStijn Tintel2022-08-151-3/+18
| | | | | | | | | | There is only one module in kmod-sched that depends on iptables. Move it to its own kmod package so we can drop the kmod-ipt-core dependency from kmod-sched. This makes it possible to disable all kmod-ipt-* packages without having to disable kmod-sched. Since we now default to firewall4 and nftables, we should avoid iptables dependencies where we can. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: kmod-hwmon-tps23861: Add missing dependency to kmod-regmap-i2cHauke Mehrtens2022-08-131-1/+1
| | | | | | | | | This fixes the following build error: Package kmod-hwmon-tps23861 is missing dependencies for the following libraries: regmap-i2c.ko Fixes: b664646db74a ("kernel: add kmod-hwmon-tps23861 support") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: remove CONFIG_MMC_BLOCK_BOUNCETomas Lara2022-08-131-1/+0
| | | | | | | CONFIG_MMC_BLOCK_BOUNCE was removed in kernel v4.13-rc1 https://github.com/torvalds/linux/commit/c3dccb74be28a345a2ebcc224e41b774529b8b8f Signed-off-by: Tomas Lara <tl849670@gmail.com>
* kernel: add kmod-hwmon-tps23861 supportAlexandru Gagniuc2022-08-131-0/+14
| | | | | | | Package the tps23861.ko module, which supports Texas Instruments TPS23861 PoE+ controller. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
* kernel: kmod-input-gpio-keys-polled depends on kmod-input-coreDaniel Golle2022-08-121-1/+1
| | | | | | | | | | | | | While kmod-input-core was previously indirectly selected by kmod-input-polldev, this is now only the case on Linux 5.10. Select kmod-input-core as dependency independently of the kernel version to fix build error: Package kmod-input-gpio-keys-polled is missing dependencies for the following libraries: input-core.ko Fixes: 54878fbbdd ("kernel: kmod-input-polldev: Depend on kernel 5.10") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: kmod-phy-smsc: Add new PHYHauke Mehrtens2022-08-102-1/+17
| | | | | | | This adds the SMSC PHY which is needed by the kmod-usb-net-smsc95xx driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-phy-ax88796b: Add new PHYHauke Mehrtens2022-08-102-1/+18
| | | | | | | This adds the AX88796B PHY which is needed by the kmod-usb-net-asix driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-input-polldev: Depend on kernel 5.10Hauke Mehrtens2022-08-101-2/+2
| | | | | | | The input-polldev.ko kernel module was removed from kernel 5.11. The normal input implementation now supports polling. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-iio-sps30: Add I2C driverHauke Mehrtens2022-08-101-3/+7
| | | | | | | | The sps30.ko driver was split into a main sps30.ko driver and a sps30_i2c.ko driver for the I2C interface with kernel 5.14. Add the sps30_i2c.ko module to the package too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-isdn4linux: Remove packageHauke Mehrtens2022-08-101-32/+0
| | | | | | | The isdn4linux drivers and subsystem was removed in kernel 5.3, remove the kernel package also from OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-mdio-gpio: kmod-switch-rtl8366-smi: Add kmod-of-mdio dependency ↵Hauke Mehrtens2022-08-101-2/+2
| | | | | | | | for malta These two modules also need a depend to kmod-of-mdio on malta. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kenrel: kmod-rtc-pt7c4338: Remove packageHauke Mehrtens2022-08-101-16/+0
| | | | | | | | | The rtc-pt7c4338.ko was never upstream under this name, the driver was removed from OpenWrt some years ago, remove the kmod-rtc-pt7c4338 package too. Fixes: 74d00a8c3849 ("kernel: split patches folder up into backport, pending and hack folders") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-wwan: Add packageHauke Mehrtens2022-08-101-6/+21
| | | | | | | | | | | This adds the kmod-wwan package. This provides the generic wwan driver core which is needed for some existing packages. Currently the drivers/net/wwan/wwan.ko driver is compiled into the kernel when one of the wwan module is activated, better build it as a kernel module. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-ipt-ulog: Remove packageHauke Mehrtens2022-08-101-17/+0
| | | | | | | The ulog iptables target was removed with kernel 3.17, remove the kernel and also the iptables package in OpenWrt too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-nft-nat6: Remove packageHauke Mehrtens2022-08-101-11/+0
| | | | | | | | | | | The nft NAT packages for IPv4 and IPv6 were merged into the common packages with kernel 5.1. The kmod-nft-nat6 package was empty in our build, remove it. Multiple kernel configuration options were also removed, remove them from our generic kernel configuration too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-w1-slave-ds2760: Remove packageHauke Mehrtens2022-08-101-17/+0
| | | | | | | | | | The w1_ds2760.ko driver was merged into the ds2760_battery.ko driver. The driver was removed and this package was never build any more. This happened with kernel 4.19. Remove this unused package. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-net-rtl8192su: Remove packageHauke Mehrtens2022-08-101-25/+0
| | | | | | | | | | | | The R8712U driver depends on cfg80211. cfg80211 is provided by mac80211 backports, we can not build any in kernel drivers which depend on cfg80211 which is an out of tree module in OpenWrt. The cfg80211 dependency was added with kernel 5.9. We could add rtl8192su to backports and build it from there. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-mdio-devres: Add kmod-of-mdio dependency for maltaHauke Mehrtens2022-08-101-1/+1
| | | | | | | The malta target does not compile CONFIG_OF_MDIO into the kernel. On malta the kmod-mdio-devres package depends on kmod-of-mdio. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-fs-fscache: Add cachefiles.koHauke Mehrtens2022-08-101-4/+6
| | | | | | | | | The CONFIG_CACHEFILES configuration option makes the kernel build cachefiles.ko, also package it. Build CONFIG_CACHEFILES as module and do not try to build it into the kernel. This did not work because it depended on CONFIG_FSCACHE which was already build as module. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-nls-cp932: Add nls_euc-jp.ko tooHauke Mehrtens2022-08-101-2/+4
| | | | | | | The CONFIG_NLS_CODEPAGE_932 Config option builds the nls_cp932.ko and the nls_euc-jp.ko kernel module, package both of them. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-usb-dwc2-pci: Add new packageHauke Mehrtens2022-08-101-3/+20
| | | | | | | | | | | | Add dwc2_pci kernel module into own kernel package. The dwc2_pci.ko kernel module was always build when kmod-usb-dwc2 was selected, but it was not packaged. Add the missing kmod-usb-phy-nop dependency to the kmod-usb-dwc2-pci package too. The CONFIG_USB_DWC2_PLATFORM option is already gone for some time. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-switch-ar8xxx: Add kmod-mdio-devres dependencyHauke Mehrtens2022-08-101-1/+1
| | | | | | | The ar8xxx.ko kernel module uses the devm_mdiobus_alloc() function provided by kmod-mdio-devres, add the missing dependency. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-crypto-authenc: Add authencesn.koHauke Mehrtens2022-08-101-2/+4
| | | | | | | The kernel configuration option CONFIG_CRYPTO_AUTHENC builds authenc.ko and authencesn.ko, pack both kernel modules. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>