aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* kernel: update dependencies after 'imx6' -> 'imx' renamePiotr Dymacz2021-11-036-11/+11
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* kernel/modules: prevent bonding driver to create default bond0 interfaceFlorian Eckert2021-11-011-0/+1
| | | | | | | | | | | | | | | | | | | | When loading the bonding driver, bonding interface are automatically created on bonding module load. > ip a s bond0 > 14: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN > group default qlen 1000 > link/ether a6:f2:20:64:c1:b9 brd ff:ff:ff:ff:ff:ff This is not necessary in openwrt as we do not use this created interface. The netifd creates a bonding interface based on its network configuration name and configures this over the netifd bonding proto handler. In order to keep the overview of the interfaces clear, bonding interfaces should not be created automatically when loading this module, because they are not used anyway. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* kernel: drop kmod-gpio-devStijn Tintel2021-10-051-16/+0
| | | | | | | The GPIO_DEVICE symbol belonged to a custom driver that was removed from OpenWrt in 2012. The symbol never existed in the upstream kernel. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: add missing symbol to kmod-kvmStijn Tintel2021-09-291-0/+1
| | | | | | | | Even though TRACEPOINTS is not enabled in my kernel config, my build fails due to KVM_MMU_AUDIT being missing. Add this symbol to kmod-kvm to fix this. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: order kmod-kvm symbols alphabeticallyStijn Tintel2021-09-291-2/+2
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: add package kmod-iio-ads1015 and remove kmod-hwmon-ads1015Christian Pointner2021-09-132-14/+15
| | | | | | | | | | | | The hwmon driver for the ADC ADS1015 has been removed in Linux 5.4 in favor of a driver in the iio system. For details see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c9d5b5e This fixes: https://bugs.openwrt.org/index.php?do=details&task_id=4005 Run-tested: ramips/mt76x8 (Onion Omega 2+) Signed-off-by: Christian Pointner <equinox@spreadspace.org>
* kernel: kmod-xfrm-interface requires IPv6Stijn Tintel2021-08-061-1/+1
| | | | | | | | The xfrm_interface module will not be built if IPv6 is not enabled in the kernel. Add this dependency in the kmod package to avoid people wondering why it doesn't build when they disabled IPv6. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: add missing symbol to kmod-qlcnicStijn Tintel2021-07-231-1/+2
| | | | | | | | When the kmod-qlcnic package is built on targets that have CONFIG_PCI_IOV enabled, the CONFIG_QLCNIC_SRIOV symbol is exposed. Enable this symbol in the kmod package to fix its build. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: crypto: limit crypto-hw-hifn-795x to devices with pci supportAleksander Jan Bajkowski2021-06-221-1/+1
| | | | | | | CONFIG_CRYPTO_DEV_HIFN_795X depends on PCI. This driver only makes sense on devices with pci support. Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel/modules: make sure igb loads at bootChris Blake2021-06-211-1/+1
| | | | | | | | | | Without loading the igb at boot, the recovery wouldn't have network available. All network drivers should be loaded before etc/board.d/02_network is called. Note that other network drivers already have this set, such as tg3. Fixes: 7e0e5110bc90 ("kernel: add igb kernel module") Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* kernel: package Synopsys Designware PCI to I2C controllerTomasz Maciej Nowak2021-06-061-0/+29
| | | | | | This is present on Roqos Core RC10 and needed to control LED matrix. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* kernel: usb: add kmod-usb-gadget-ncmKuan-Yi Li2021-06-061-0/+17
| | | | | | | Add kernel module package for USB Network Control Model (NCM) Gadget support. Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
* kernel: fix AutoLoad parameter for uleds moduleEvgeny Kolesnikov2021-05-261-1/+1
| | | | | | | | The name of the module is 'uleds', not 'leds-uleds'. Signed-off-by: Evgeny Kolesnikov <evgenyz@gmail.com> [improve commit title] Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: limit crypto-hw-talitos to the mpc85xx and layerscapeAleksander Jan Bajkowski2021-05-231-1/+2
| | | | | | | CONFIG_CRYPTO_DEV_TALITOS depends on FSL_SOC. This driver only makes sense on Freescale(NXP) SoCs. Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: limit crypto-hw-geode to the x86/geodeAleksander Jan Bajkowski2021-05-231-1/+1
| | | | | | | CONFIG_CRYPTO_DEV_GEODE depends on X86_32. This driver only makes sense on X86\geode. Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: crypto: drop kmod-crypto-pcompressAleksander Jan Bajkowski2021-05-231-14/+1
| | | | | | | | | | CONFIG_CRYPTO_PCOMP and CONFIG_CRYPTO_PCOMP2 have been removed in upstream commit[1]. This symbol doesn't exist since kernel 4.6 and this package is empty. 1. [ crypto: compress - remove unused pcomp interface ] (https://github.com/torvalds/linux/commit/110492183c4b8f572b16fce096b9d78e2da30baf) Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: crypto: drop kmod-crypto-wqAleksander Jan Bajkowski2021-05-231-10/+0
| | | | | | | | | | CONFIG_CRYPTO_WORKQUEUE was removed in upstream commit[1]. This symbol doesn't exist since kernel 5.3 and this package is empty. 1. [ crypto: cryptd - move kcrypto_wq into cryptd ] (https://github.com/torvalds/linux/commit/3e56e168638b3e7147902c3b7257a57ea573a30e) Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: add kmod-input-ledsAnderson McKinley2021-05-231-0/+17
| | | | | | | Adds support for LEDs on input devices. Useful for example on x86 laptops- allows re-purposing num/caps/scroll lock LEDs. Signed-off-by: Anderson McKinley <coyoso@tuta.io>
* build: introduce $(MKHASH)Leonardo Mörlein2021-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, it was assumed that mkhash is in the PATH. While this was fine for the normal build workflow, this led to some issues if make TOPDIR="$(pwd)" -C "$pkgdir" compile was called manually. In most of the cases, I just saw warnings like this: make: Entering directory '/home/.../package/gluon-status-page' bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found [...] While these were only warnings and the package still compiled sucessfully, I also observed that some package even fail to build because of this. After applying this commit, the variable $(MKHASH) is introduced. This variable points to $(STAGING_DIR_HOST)/bin/mkhash, which is always the correct path. Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
* kernel: add kmod-leds-uledsKeith T. Garner2021-05-121-0/+14
| | | | | | | | | The allows userspace LEDs to be created and controlled. This can be useful for testing triggers and can also be used to implement virtual LEDs. Signed-off-by: Keith T. Garner <kgarner@kgarner.com> [squash fixup commit and improve option wording] Signed-off-by: Paul Spooren <mail@aparcar.org>
* kernel: qlcnic: fix typo in module descriptionChukun Pan2021-05-011-1/+1
| | | | | Fixes: f88c64d28ccf ("kernel: netdev: add qlcnic") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* kernel: qlcnic: add dependency to kmod-hwmon-coreHauke Mehrtens2021-05-011-2/+4
| | | | | | | | | QLCNIC_HWMON was activated when hwmon was set, but the dependency was missing. This broke the build bot builds. Fix this by explicitly activating HWMON support and adding a dependency. Fixes: f88c64d28ccf ("kernel: netdev: add qlcnic") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: netdev: add qlcnicVieno Hakkerinen2021-05-011-0/+17
| | | | | | Add driver for QLogic QLE8240 and QLE8242 Converged Ethernet devices. Signed-off-by: Vieno Hakkerinen <vieno@hakkerinen.eu>
* kernel: add kmod-ipvlan supportChen Minqiang2021-04-301-0/+16
| | | | | | | | | | | | This kmod is similar to macvlan with the difference being that the endpoints have the same mac address. It is useful on cloud where only one mac address allowed on port, where macvlan not works but ipvlan would. One use case is where multiple IPs and gateways assign on one net port Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* kernel: select kmod-backlight as dependency for kmod-drmDavid Bauer2021-04-181-1/+1
| | | | | | | | | | | | | Select kmod-backlight as dependency for kmod-drm in case kmod-backlight is compiled. This fixes kernel 5.10 build issues on x86-geode with all kmods enabled: Package kmod-drm is missing dependencies for the following libraries: backlight.ko Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: netdev: make kmod-of-mdio conflict with x86David Bauer2021-04-181-1/+1
| | | | | | | | CONFIG_MDIO_OF depends on CONFIG_OF which is not enabled for x86. Fixes builds of x86 with Kernel 5.10 due to unresolved dependencies. Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel/modules: move act_gact into kmod-sched-coreDENG Qingfang2021-04-171-2/+2
| | | | | | | As the name suggests, act_gact has the generic actions such as dropping and accepting packets, so move it into kmod-sched-core. Signed-off-by: DENG Qingfang <dqfext@gmail.com>
* kernel: limit crypto-hw-ccp to the x86Rafał Miłecki2021-04-131-0/+1
| | | | | | | | | | | | | | CRYPTO_DEV_CCP depends on X86 or ARM64 CRYPTO_DEV_CCP_DD depends on CPU_SUP_AMD or ARM64 Compiling this driver makes sense for x86 mainly. If one day support for ARM64 board with AMD Secure Processor gets added this package may be updated. Trying to build this package on bcm4908 was causing: ERROR: module 'build_dir/target-aarch64_cortex-a53_musl/linux-bcm4908_generic/linux-5.4.110/drivers/crypto/ccp/ccp-crypto.ko' is missing. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: crypto: format "crypto-hw-ccp" dependenciesRafał Miłecki2021-04-131-1/+8
| | | | | | | Use multiples lines for better readability and sort lines. Suggested-by: Stijn Tintel <stijn@linux-ipv6.be> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: Adapt renamed can-dev.koHauke Mehrtens2021-04-111-1/+1
| | | | | | | | The can-dev.ko kernel module was moved in kernel 5.4.110 and 5.10.28. Fixes: a1311df95587 ("kernel: bump 5.10 to 5.10.28") Fixes: b0a34e886da1 ("kernel: bump 5.4 to 5.4.110") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: robustify dependencies in kmod-sound-hda-coreTony Ambardar2021-03-201-4/+1
| | | | | | | | | | | | | Dependency tracking for kmod-sound-hda-core is fragile. Enabling some sound codecs (Realtek, Conexant, Sigmatel) implicitly adds a kmod-ledtrig-audio dependency, while an enabled kmod-ledtrig-audio can be picked up through enabling others (e.g. kmod-sound-hda-intel), and the behaviour can change across kernel versions. As kmod-ledtrig-audio is under 2KB, make it an unconditional dependency. Fixes: a374b8f19051 ("kernel: 5.10: update sound modules") Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: add exfat againRosen Penev2021-03-191-0/+20
| | | | | | | | | | | | With kernel 5.10, exfat is out of staging and in tree. Added small hack to make it work with kernel 5.4 as well. Added removed config options for 5.4 to generic config. Signed-off-by: Rosen Penev <rosenp@gmail.com> [Set CONFIG_EXFAT_ config options to default values] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel/modules: relocate teql hotplug from iproute2 to kmod-schedTony Ambardar2021-03-192-0/+30
| | | | | | | | | | | | | | The link equalizer sch_teql.ko of package kmod-sched relies on a hotplug script historically included in iproute2's tc package. In previous discussion [1], consensus was the hotplug script is best located together with the module in kmod-sched, but this change was deferred at the time. Relocate the hotplug script now. This change also simplifies adding a tc variant for minimal size with reduced functionality. [1] https://github.com/openwrt/openwrt/pull/1627#issuecomment-447923636 Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: 5.10: update sound modulesTony Ambardar2021-03-191-1/+6
| | | | | | | | Update file paths for kmod-sound-hda-intel and reflect new dependency of kmod-sound-hda-core on kmod-ledtrig-audio. Reported-by: Javier Marcet <javier@marcet.info> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: add kmod-ledtrig-audioTony Ambardar2021-03-191-0/+15
| | | | | | This allows LEDs to be controlled by audio drivers. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: 5.10: add missing dependency in kmod-mdio-devresTony Ambardar2021-03-191-1/+1
| | | | | | | | | | | | Add conditional dependency on kmod-of-mdio due to mdio_devres.c code: #if IS_ENABLED(CONFIG_OF_MDIO) ... EXPORT_SYMBOL(devm_of_mdiobus_register); #endif /* CONFIG_OF_MDIO */ Fixes: 95a3741d17 ("kernel: support new mdio_devres.ko module in 5.10") Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: 5.10: update kmod-usb-net-smsc95xxTony Ambardar2021-03-191-0/+1
| | | | | | | Add kmod-libphy dependency. Signed-off-by: Javier Marcet <javier@marcet.info> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: support new mdio_devres.ko module in 5.10Tony Ambardar2021-03-141-3/+21
| | | | | | | | | Add kmod-mdio-devres package and kernel config symbol, and update related kmod-r8169 and kmod-ixgbe package dependencies. Build tested module dependencies on x86/64 with CONFIG_ALL_KMODS=y. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* treewide: make AddDepends/usb-serial selectiveAdrian Schmutzler2021-03-061-1/+1
| | | | | | | Make packages depending on usb-serial selective, so we do not have to add kmod-usb-serial manually for every device. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: fix kmod-usb3 on platforms without PCIDaniel Golle2021-03-061-3/+6
| | | | | | | | | | | | | Partially restore the wild-card matching for kmod-usb3 modules to fix build on platforms without PCI which otherwise file, as seen on buildbot: ERROR: module '[...]/linux-5.4.102/drivers/usb/host/xhci-pci.ko' is missing. modules/usb.mk:1675: recipe for target '[...]/kmod-usb3_5.4.102-1_mips_mips32.ipk' failed Fixes: 7bda2e9aba ("kernel: fix kmod-usb3 dependencies") Fixes: be23f9818a ("apm821xx: add support for kernel 5.10") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: fix kmod-usb3 dependenciesIlya Lipnitskiy2021-03-061-20/+62
| | | | | | | | | | | | | | | | | | Adding CONFIG_USB_XHCI_PCI_RENESAS to KCONFIG made it so it was set for all targets that included kmod-usb3, not just the intended apm821xx/nand. xhci-pci has a dependency on xhci-pci-renesas if CONFIG_USB_XHCI_PCI_RENESAS is set, breaking kmod-usb3 builds on Linux 5.10 on all other targets. Rework the dependencies by breaking out xhci-hcd, xhci-mtk, and xhci-pci-renesas into new hidden kernel modules and setting kmod-usb3 dependencies properly. Tested by building mt7621 and apm821xx/nand with kmod-usb3 on Linux 5.10 Fixes: be23f981 ("apm821xx: add support for kernel 5.10") Cc: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* apm821xx: add support for kernel 5.10 for testingChristian Lamparter2021-03-051-0/+6
| | | | | | | | | | | | This patch copies over refreshed patches from 5.4. - dropped crypto patches (they got upstreamed) - dropped renesas USB 3 firmware loader (they got upstreamed) - NAND now needs extra device-properties for ECC settings. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kernel/modules: fix CDC NCM dependenciesRui Salvaterra2021-03-051-1/+1
| | | | | | CDC NCM support only depends on CDC Ethernet with Linux 5.10. Fix thusly. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* kernel/zram: remove obsolete symbolRui Salvaterra2021-03-011-1/+0
| | | | | | | | | Zsmalloc page table mappings are dead and gone [1]. Drop the respective kconfig symbol. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.4.y&id=69dc72f058c9b98f9b66bed184cfab7c2e9f49b0 Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* kernel: no chacha-mips.ko on mips32 r1 targetsIlya Lipnitskiy2021-02-271-2/+5
| | | | | | | | | | | | | CHACHA_MIPS depends on CPU_MIPS32_R2. Therefore, kmod-crypto-lib-chacha20 should not contain chacha-mips.ko on MIPS32 R1 targets. Enforce that in the target-specific definition. Fixes bcm47xx, bcm63xx, lantiq/ase, ath25 builds. Fixes: 06351f1 ("kernel: migrate wireguard into the kernel tree") Cc: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
* kernel: fix kmod-wireguard package fieldsIlya Lipnitskiy2021-02-261-4/+2
| | | | | | | | | Use NETWORK_SUPPORT_MENU like all other modules in netsupport.mk. Drop SECTION and CATEGORY fields as they are set by default and to match other packages in netsupport.mk. Use better TITLE for kmod-wireguard (taken from upstream drivers/net/Kconfig). Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* kernel: migrate wireguard into the kernel treeIlya Lipnitskiy2021-02-262-1/+181
| | | | | | | | | | On Linux 5.4, build WireGuard from backports. Linux 5.10 contains wireguard in-tree. Add in-kernel crypto libraries required by WireGuard along with arch-specific optimizations. Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* kernel: 5.10: fix kmod build failuresIlya Lipnitskiy2021-02-236-16/+44
| | | | | | | | | | Modify existing modules to reflect their new location in Linux 5.10. Add missing dependenices. Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> [enable CRYPTO_USER_API_ENABLE_OBSOLETE; add kmod-crypto-hash dependency to usb-net-rtl8152] Signed-off-by: David Bauer <mail@david-bauer.net>
* x86: add led driver for PC Engines APU1Andreas Eberlein2021-02-201-0/+16
| | | | | | | | | This driver adds the LED support for the PC Engines APU1. This integrates the Linux kernel driver and includes a patch to support newer firmware versions. Also the default LED configuration is updated to use the correct devices. Signed-off-by: Andreas Eberlein <foodeas@aeberlein.de>
* kernel: add linux 5.10 supportFelix Fietkau2021-02-165-10/+20
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>