[openwrt/openwrt] bcm27xx: bcm2711: add kmod-r8169

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 15 06:46:47 PST 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/708ea56fb9e2b4ab77e726085d572bf80a4cc76a

commit 708ea56fb9e2b4ab77e726085d572bf80a4cc76a
Author: Johannes Heimansberg <git at jhe.dedyn.io>
AuthorDate: Mon Dec 12 15:39:58 2022 +0100

    bcm27xx: bcm2711: add kmod-r8169
    
    Some carrier boards [1][2] for the Raspberry Pi CM4 that are specifically
    designed to be used as routers come with secondary NICs using a Realtek
    RTL8111 Gigabit Ethernet chip.
    
    When using such a board as a router with OpenWrt, it is very helpful
    when both NICs are working by default. Since the Raspberry Pi 4 and the
    CM4 have plenty of disk space, it should cause no harm to include the
    kmod-r8169.
    
    [1] https://wiki.dfrobot.com/Compute_Module_4_IoT_Router_Board_Mini_SKU_DFR0767
    [2] https://www.waveshare.com/wiki/CM4-DUAL-ETH-MINI
    
    Signed-off-by: Johannes Heimansberg <git at jhe.dedyn.io>
    (r8169 should pull in the necessary dependencies.)
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 target/linux/bcm27xx/image/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/bcm27xx/image/Makefile b/target/linux/bcm27xx/image/Makefile
index 1334386c57..999361e8cd 100644
--- a/target/linux/bcm27xx/image/Makefile
+++ b/target/linux/bcm27xx/image/Makefile
@@ -163,7 +163,8 @@ define Device/rpi-4
 	cypress-firmware-43455-sdio \
 	brcmfmac-nvram-43455-sdio \
 	kmod-brcmfmac wpad-basic-wolfssl \
-	kmod-usb-net-lan78xx
+	kmod-usb-net-lan78xx \
+	kmod-r8169
   IMAGE/sysupgrade.img.gz := boot-common | boot-2711 | sdcard-img | gzip | append-metadata
   IMAGE/factory.img.gz := boot-common | boot-2711 | sdcard-img | gzip
 endef




More information about the lede-commits mailing list