aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/netdevices.mk
Commit message (Collapse)AuthorAgeFilesLines
* kernel: add Microchip ENC28J60 SPI Ethernet controller moduleAlbrecht Lohofener2025-06-121-0/+16
| | | | | | | | | | | | The ENC28J60 is a 10 Mbps half-duplex Ethernet controller interfaced via SPI. It achieves real-world bandwidth up to 5Mbit/s on devices like the RPi Zero due to SPI limits. Commonly used with Raspberry Pi Zero boards for wired network connectivity. Signed-off-by: Albrecht Lohofener <albrechtloh@gmx.de> Link: https://github.com/openwrt/openwrt/pull/19048 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 4987239913794811b8ac71ff141129e276565d6b)
* kernel: netdevices: add driver for Broadcom NetXtreme-C/EJonas Jelonek2025-05-071-0/+22
| | | | | | | | | | | | Package bnxt_en kernel module for Broadcom NetXtreme-C/E based Ethernet network chips like BCM573xx and BCM574xx. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17301 (cherry picked from commit a7f4155f54ac72c388a8b515865e496bfd6ec437) Signed-off-by: Josh Bendavid <joshbendavid@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18483 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: add HiNIC supportCoia Prant2025-05-071-0/+17
| | | | | | | | | | Add support for the Huawei Intelligent PCIE Network Interface Card (HiNIC) Signed-off-by: Coia Prant <coiaprant@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18534 (cherry picked from commit 5fcc57cca6497712e53c5b8366155dd92359469e) Link: https://github.com/openwrt/openwrt/pull/18571 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: ixgbe,ixgbevf,i40e: remove unused settings and dependsMieczyslaw Nalewaj2025-04-101-5/+1
| | | | | | | | | | Remove settings and depends that are not used anywhere. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: #18291 (cherry picked from commit b6ff3d9afa0ff8e9ae68812ac7aa6f9be168db95) Link: https://github.com/openwrt/openwrt/pull/18431 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: load r8169 network module at boot timeMichel Lespinasse2025-04-011-1/+1
| | | | | | | | | | | | | | | | This allows the network interface naming to be stable, free from any possible interaction from external USB network devices that might claim usb* interface names. (This was a real problem I encountered with a nanopi R6S device and an external rtl8152 usb3 network controller - the USB controller would claim the eth1 name, causing much confusion). Signed-off-by: Michel Lespinasse <michel@lespinasse.org> Link: https://github.com/openwrt/openwrt/pull/17638 (cherry picked from commit effcb6e4c3f6638ad4dde7a7e9218c4f7189019b) Link: https://github.com/openwrt/openwrt/pull/18347 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: backport Realtek PHY patches from upstreamÁlvaro Fernández Rojas2025-01-171-3/+4
| | | | | | | Adds patches for the temperature sensor on RTL822x. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit d7e82c78d7a2a84404198dab8faf8e142939eb05)
* generic: r8169: remove reverted temperature sensor patchÁlvaro Fernández Rojas2025-01-171-1/+1
| | | | | | | | | The patch adding temperature sensor support for r8169 has been removed upstream and the functionality will be added to Realtek PHY instead: https://github.com/torvalds/linux/commit/1f691a1fc4bef1c5cf5f503e14e1a22fc37c97e3 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 0de9999a7819acf74f6adeaa27be363cf72409ab)
* ixp4xx: Break out mv88e6060 DSA switch to packageLinus Walleij2025-01-041-0/+17
| | | | | | | | | | | | | | Just one of the devices uses the Marvell MV88E6060 DSA switch so break this out from the generic kernel config and into a package selected only by that single device and probed at boot instead. The big win is from being able to drop the dsa_core (~600KB) kernel module out of the common kernel on devices with no DSA switch. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> (cherry picked from commit 2456a2fd7f72d6afcee4ac9c2eccb312d0b1d36d)
* generic: 6.6: backport upstream r8169 patchesÁlvaro Fernández Rojas2025-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7a3bcd39ae1f r8169: use helper r8169_mod_reg8_cond to simplify rtl_jumbo_config e3e9e9039fa6 r8169: align WAKE_PHY handling with r8125/r8126 vendor drivers 330dc2297c82 r8169: improve rtl_set_d3_pll_down c507e96b5763 r8169: improve __rtl8169_set_wol 83cb4b470c66 r8169: remove leftover locks after reverted change 2cd02f2fdd8a r8169: improve initialization of RSS registers on RTL8125/RTL8126 a3d8520e6a19 r8169: align RTL8126 EEE config with vendor driver 4af2f60bf737 r8169: align RTL8125/RTL8126 PHY config with vendor driver eb90f876b796 r8169: align RTL8125 EEE config with vendor driver b8bd8c44a266 r8169: fix inconsistent indenting in rtl8169_get_eth_mac_stats f75d1fbe7809 r8169: add support for RTL8125D c4e64095c00c r8169: enable EEE at 2.5G per default on RTL8125B d64113c6bb5e r8169: remove rtl_dash_loop_wait_high/low 1c105bacb160 r8169: avoid duplicated messages if loading firmware fails and switch to warn level ac48430368c1 r8169: don't take RTNL lock in rtl_task() e3fc5139bd8f r8169: implement additional ethtool stats ops b8bf38440ba9 r8169: enable SG/TSO on selected chip versions per default 854d71c555df r8169: remove original workaround for RTL8125 broken rx issue 1ffcc8d41306 r8169: add support for the temperature sensor being available from RTL8125B The following patches require backporting additional linux patches: e2015942e90a r8169: replace custom flag with disable_work() et al e340bff27e63 r8169: copy vendor driver 2.5G/5G EEE advertisement constraints Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 0eeba04a16fb72b13d90973ef8ba95f0549f973e)
* armsr: don't limit kmods to armsr armv8 subtargetChristian Marangi2024-10-291-3/+3
| | | | | | | | | Drop limitation on depending on only armv8 for armsr target as those module should support both 32 and 64 bits systems. Only thunderx-net actually require 64 bit systems. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: modules: add boot flag to igc, mlx4, and mlx5 driversTil Kaiser2024-10-191-3/+3
| | | | | | | | | | | | | | Set the boot flag for the igc, mlx4-core, and mlx5-core network device drivers to load them at a more early stage of the boot process. This is required for network drivers whose network interface PCI paths are set via ucidef_set_network_device_path inside the 02_network script since it is called after kernel modules are loaded from modules-boot.d but before they are loaded from the modules.d directory. Signed-off-by: Til Kaiser <mail@tk154.de> Link: https://github.com/openwrt/openwrt/pull/16560 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ath79: Upstream b53 DSA driver for Ubiquiti EdgeSwitch 8XPRoger Pueyo Centelles2024-10-191-30/+38
| | | | | | | | | | | | | | | | | | | | | | | | | The swconfig-based b53 driver for the BCM53128 switch stopped working after commits b2cfed48f6 (Revert "swconfig: fix Broadcom b53 support") and e4e410733f (kernel: export switch_generic_set_link() symbol). This rendered the 8 LAN ports of the EdgeSwitch 8XP non-functional, so the image compilation for the device was disabled (5a1d7d8c1b). This commit adds the kmod-dsa-b53-mdio and kmod-dsa-b53 packages with the upstream B53 DSA driver, replacing the swconfig-based kmod and kmod-switch-bcm53xx-mdio downstream ones that are not used by any other device. The 8 LAN ports of the EdgeSwitch 8XP are usable again. The 02_network init script has been updated with the new DSA interfaces lan1 .. lan8. Image building has been reenabled for the device, adding the usual DSA incompatibility notice. Tested on a Ubiquiti EdgeSwitch 8XP. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> Link: https://github.com/openwrt/openwrt/pull/11680 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* linux: generic: net: dsa: mv88e6xxx LED supportLinus Walleij2024-10-121-0/+1
| | | | | | | | | | | | | | | This solution that is needed for some routers to provide proper LED activity when controlled directly by the MV88E6xxx switch, has just been merged in upstream Linux. Make this patch 901 as other backports from earlier kernels are in patch 896 and this is the first free number after that. Patch offsets in pending patches are augmented as part of the refresh. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* kernel: netdevices: add RmNet MAP supportRobert Marko2024-10-091-0/+17
| | | | | | | | | | | RmNet driver provides a transport agnostic MAP (multiplexing and aggregation protocol) support in embedded module. Module provides virtual network devices which can be attached to any IP-mode physical device. This is commonly used on Qualcomm based modems for data aggregation. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
* kernel: netdevices: add leds supportOskari Lemmela2024-09-221-3/+6
| | | | | | | | Compile LED support to swconfig and phy modules Signed-off-by: Oskari Lemmela <oskari@lemmela.net> Link: https://github.com/openwrt/openwrt/pull/15926 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: netdevices: add dsa supportOskari Lemmela2024-09-221-5/+37
| | | | | | | | Add support for building DSA switch drivers as kernel modules. Signed-off-by: Oskari Lemmela <oskari@lemmela.net> Link: https://github.com/openwrt/openwrt/pull/15926 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: netdevices: add phy modulesOskari Lemmela2024-09-221-0/+89
| | | | | | | | Add support for building multiple phy drivers as kernel modules Signed-off-by: Oskari Lemmela <oskari@lemmela.net> Link: https://github.com/openwrt/openwrt/pull/15926 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: netdevices: add ag71xx modulesOskari Lemmela2024-09-221-0/+27
| | | | | | | | | Add support for building both upstream and downstream ag71xx drivers as modules. Signed-off-by: Oskari Lemmela <oskari@lemmela.net> Link: https://github.com/openwrt/openwrt/pull/15926 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* packages: remove remnants of kernels below 6.6Mieczyslaw Nalewaj2024-09-211-5/+5
| | | | | | | | Remove remnants of kernels below 6.6. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16432 Signed-off-by: Robert Marko <robimarko@gmail.com>
* packages: remove kernel 5.15 remnantsMieczyslaw Nalewaj2024-09-201-2/+2
| | | | | | | | Remove kernel 5.15 remnants. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16417 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: netdevices: adjust mlxsw network driversTil Kaiser2024-08-291-11/+5
| | | | | | | | | | | | | | * Adds the x86_64 dependency for mlxsw_core * Removes the redundant mlxsw_core dependency from mlxsw-minimal and mlxsw-spectrum * Removes the DCB configuration symbols because they were moved into the generic configuration Signed-off-by: Til Kaiser <mail@tk154.de> Link: https://github.com/openwrt/openwrt/pull/15362 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: 6.6: backport upstream r8169 patchesÁlvaro Fernández Rojas2024-06-241-2/+1
| | | | | | | | | | Backport a bunch of upstream r8169 patches: - RTL8168/RTL8101 LEDs support. - RTL8126A support. - RTL8125/RTL8126 LEDs support. - RTL8168M support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: modules: netdevice: remove kmod-of-mdio dependency for kmod-stmmac-coreFlorian Eckert2024-06-101-1/+1
| | | | | | | | | | | | | | | | | The 'kmod-stmmac-core' package is referenced by the following packages: * kmod-dwmac-intel * kmod-dwmac-imx * kmod-dwmac-sun8i The problem is that 'kmod-of-mdio' is not selectable for 'TARGET_x86'. That means the package 'kmod-dwmac-intel' is not available on this architecture and so the package 'kmod-dwmac-intel' could not be enabled. To fix this remove the dependencies 'kmod-of-mdio' from 'kmod-stmmac-core'. This is not needed on this level, because the modules 'kmod-of-mdio' is already selected by the packages 'kmod-dwmac-imx' and 'kmod-dwmac-sun8i'. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* kernel: modules: netdevices: add depedency required for loongarch64Weijie Gao2024-05-041-3/+3
| | | | | | | Add TARGET_loongarch64 as dependency for kmod-mdio-devres, kmod-mdio-gpio and kmod-switch-rtl8366-smi Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* modules: Add kernel module for MV88E6xxx DSA switchLinus Walleij2024-04-241-0/+34
| | | | | | | | | | | | | | | | | | This adds a kernel module package for the Marvell MV88E6XXX DSA switch and a separate module package for the DSA tagger since it can in theory be used by multiple DSA switches. Enable both DSA and EDSA tags in the tagger. We can't just compile this in because just a few devices has this DSA, and it depends on e.g. the I2C and SFP to be loaded as modules first. We have no examples of DSA switches being packaged as modules before, all seem to be compiled in, but it actually works just fine to do this. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* kernel: 6.6: modules: netdevices: lan743x: add missing dependencyMieczyslaw Nalewaj2024-04-041-1/+1
| | | | | | | Fix error: Package kmod-lan743x is missing dependencies for the following libraries: fixed_phy.ko Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
* kernel: kmod-phy-smsc: add dependency on crc16Tomasz Maciej Nowak2024-03-291-1/+1
| | | | | | Introduced WoL feature needs CRC16 support. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* kernel: modules: package driver for MediaTek T7xx PCIe 5G modemDaniel Golle2024-03-171-0/+17
| | | | | | | Build and package driver for MediaTek PCIe 5G WWAN modem T7xx device available in Linux 6.1 and 6.6 as kmod-mtk-t7xx. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: modules: netdevices: adapt for kernel 6.6Daniel Golle2024-03-111-3/+3
| | | | | | | | | | | | Adapt netdevices kmods for building under kernel 6.6: * Add missing module dependency for kmod-stmmac-core on kmod-of-mdio. * Invert criteria to allow Airoha EN8811H PHY driver to build with Linux 6.1 as well as Linux 6.6. * Mellanox mlx5 driver started exposing thermal sensors and now it requires hwmon Signed-off-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add driver for Airoha EN8811H PHY as moduleDaniel Golle2024-02-151-0/+17
| | | | | | | | Add PHY driver for Airoha EN8811H PHY and package it as kernel module. The PHY needs to load firmware from rootfs, so there is no point in having the driver built-into the kernel. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 5.15: backport upstream Aquantia PHY firmware loader patchesChristian Marangi2024-01-261-3/+1
| | | | | | | | | | | | | | Backport merged upstream patch that adds support for firmware loader from NVMEM or attached filesystem for Aquantia PHYs. Refresh all kernel patches affected by this change. Also update the path for aquantia .ko that got moved to dedicated directory upstream. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> [rmilecki: port to 5.15] Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* package: kernel: detach of-mdio dependency from stmmac-coreChristian Marangi2023-12-131-2/+1
| | | | | | | | | | | | | Detach of-mdio dependency from stmmac-core kmod to fix support for x86_64 target. This target doesn't use OpenFirmware infrastructure and stmmac-core for the dwmac-intel driver doesn't depends on it. Add kmod-of-mdio to any other user of stmmac-core as it's not inherit from stmmac-core anymore. Fixes: #14209 Fixes: 4b4c940fbc8f ("x86: Add kmod-dwmac-intel") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* package: kernel: move pcs-xpcs from armsr to genericChristian Marangi2023-12-131-0/+12
| | | | | | | | | | Move pcs-xpcs kmod from armsr modules.mk to generic modules package. Also add additional dependency to x86_64 as stmmac-core it's now used by x86_64 target and depends on this package. Fixes: 4b4c940fbc8f ("x86: Add kmod-dwmac-intel") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* x86: Add kmod-dwmac-intelHauke Mehrtens2023-12-021-1/+1
| | | | | | | This adds the Intel Ethernet driver for the Intel Quark/EHL/TGL chips. Fixes: #13994 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* armsr: Move kmod-stmmac-core to common placeHauke Mehrtens2023-12-021-0/+20
| | | | | | | Move the kmod-stmmac-core package to the common place to share it with x86 later. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: 6.1: backport upstream Aquantia PHY firmware loader patchesChristian Marangi2023-11-241-2/+4
| | | | | | | | | | | | Backport merged upstream patch that adds support for firmware loader from NVMEM or attached filesystem for Aquantia PHYs. Refresh all kernel patches affected by this change. Also update the path for aquantia .ko that got moved to dedicated directory upstream. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* packages: add needed packages for Mellanox Spectrum SwitchesTil Kaiser2023-10-311-1/+114
| | | | | | | Add needed kernel and firmware packages for Mellanox Spectrum SN2000 Series Switches. Signed-off-by: Til Kaiser <til.kaiser@gmx.de>
* kernel: netdevices: Package AMD PHYLinus Walleij2023-10-251-0/+16
| | | | | | | This adds a package for the AMD and Altima PHY, found in some odd devices. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* kernel: modules: netdevices: adapt mlx5-core for kernel 6.1Pascal Coudurier2023-09-191-1/+2
| | | | | | Set CONFIG_MLX5_VFIO_PCI=n for kernel greater than 5.18 Signed-off-by: Pascal Coudurier <coudu@gmx.com>
* kernel: netdevices: add driver for Marvell 10G Ethernet PHYsDaniel Golle2023-08-031-0/+18
| | | | | | | Package kernel module for Marvell 10G Ethernet PHYs found also in many 10G/1G/100M/10M RJ-45 SFP+ modules. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: netdevices: change armvirt references to armsrMathew McBride2023-06-101-4/+4
| | | | | | armvirt target has been renamed to armsr (Arm SystemReady) Signed-off-by: Mathew McBride <matt@traverse.com.au>
* kernel: kmod-amazon-ena: move to top level netdevicesMathew McBride2023-06-021-0/+15
| | | | | | | | The Amazon ENA network devices are also used on the AWS Arm (Graviton) instance types, so move it from the x86-only module file to the top level netdevices. Signed-off-by: Mathew McBride <matt@traverse.com.au>
* kernel: Make kmod-phylink depend on kmod-libphyHauke Mehrtens2023-05-311-0/+1
| | | | | | | | | | | | | The CONFIG_PHYLINK Kconfig option in the kernel selects CONFIG_LIBPHY. Add this dependency to fix the all kernel modules build on MIPS malta and armvirt with kernel 6.1. With kernel 5.15 mod-phylink and kmod-sfp are empty packages because no OpenWrt kmod is selecting a module which needs sfp or phylink support. Fixes: #12758 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: wwan: adapt for kernel 6.1Robert Marko2023-05-221-2/+4
| | | | | | | | | Update the WWAN kmods for compilation under kernel 6.1: * Depend on kernel not being 5.10 rather than only 5.15 * Enable CONFIG_WWAN_DEBUGFS as its now optional from 5.17 * Add missing symbols for new WWAN drivers to generic config Signed-off-by: Robert Marko <robimarko@gmail.com>
* treewide: cleanup kernel symbol referencesNick Hainke2023-05-121-4/+3
| | | | | | | | | | | | | | | We only use 5.15 kernel. So remove all those unnecessary symbols referencing 5.10 or 5.15 kernel. Can be found with: git grep -E 'LINUX_5_1(0|5)' Note that we remove the dependency from "sound-soc-chipdip-dac" instead of removing the complete kernel package. The 5.15 version bump forgot to delete the "@LINUX_5_10" dependency. The kernel package is still needed in 5.15 kernel. Signed-off-by: Nick Hainke <vincent@systemli.org>
* treewide: remove all @{lt,gt,ge,le} appearances affecting 5.10 kernelNick Hainke2023-05-121-1/+1
| | | | | | We only use 5.15 kernel. So remove all those unnecessary appearances. Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: modules: tg3: limit to devices with pci supportAleksander Jan Bajkowski2023-04-011-1/+1
| | | | | | | | Kmod-tg3 supports Ethernet adapters over PCIe bus. On targets without PCI support, this package is empty. Symbol CONFIG_TIGON3 depends on CONFIG_PCI. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
* kernel: modules: hfcpci: limit to devices with pci supportAleksander Jan Bajkowski2023-04-011-2/+2
| | | | | | | | Kmod-hfcpci and kmod-hfcmulti supports ISDN adapters over PCI. On targets without PCI support, this package is empty. Symbol CONFIG_MISDN_HFCMULTI and CONFIG_MISDN_HFCPCI depends on CONFIG_PCI. Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
* kernel: modules: add missing kmod-mdio-devres for lan743xHauke Mehrtens2023-03-101-1/+1
| | | | | | | This fixes a build problem on some targets. Fixes: 3e9005546a ("kernel: modules: package Microchip LAN743x PCIe gigE driver") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: modules: add missing kmod-ptp for lan743xChuanhong Guo2023-03-091-1/+1
| | | | | Fixes: 3e9005546a ("kernel: modules: package Microchip LAN743x PCIe gigE driver") Signed-off-by: Chuanhong Guo <gch981213@gmail.com>