bmips: improve kernel patches
[openwrt/openwrt.git] / target / linux / bmips / patches-5.15 / 501-net-broadcom-add-BCM6348-enet-controller-driver.patch
1 From 590b60fb08cb1e70fe02d3f407c6b3dbe9ad06ff Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Mon, 1 Mar 2021 07:34:39 +0100
4 Subject: [PATCH] net: broadcom: add BCM6348 enetsw controller driver
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This controller is present on BCM6338, BCM6348 and BCM6358 SoCs.
10
11 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
12 ---
13 drivers/net/ethernet/broadcom/Kconfig | 8 ++++++++
14 drivers/net/ethernet/broadcom/Makefile | 1 +
15 2 files changed, 9 insertions(+)
16
17 --- a/drivers/net/ethernet/broadcom/Kconfig
18 +++ b/drivers/net/ethernet/broadcom/Kconfig
19 @@ -68,6 +68,14 @@ config BCM63XX_ENET
20 This driver supports the ethernet MACs in the Broadcom 63xx
21 MIPS chipset family (BCM63XX).
22
23 +config BCM6348_ENET
24 + tristate "Broadcom BCM6348 internal mac support"
25 + depends on BMIPS_GENERIC || COMPILE_TEST
26 + default y
27 + help
28 + This driver supports Ethernet controller integrated into Broadcom
29 + BCM6348 family SoCs.
30 +
31 config BCM6368_ENETSW
32 tristate "Broadcom BCM6368 internal mac support"
33 depends on BMIPS_GENERIC || COMPILE_TEST
34 --- a/drivers/net/ethernet/broadcom/Makefile
35 +++ b/drivers/net/ethernet/broadcom/Makefile
36 @@ -6,6 +6,7 @@
37 obj-$(CONFIG_B44) += b44.o
38 obj-$(CONFIG_BCM4908_ENET) += bcm4908_enet.o
39 obj-$(CONFIG_BCM63XX_ENET) += bcm63xx_enet.o
40 +obj-$(CONFIG_BCM6348_ENET) += bcm6348-enet.o
41 obj-$(CONFIG_BCM6368_ENETSW) += bcm6368-enetsw.o
42 obj-$(CONFIG_BCMGENET) += genet/
43 obj-$(CONFIG_BNX2) += bnx2.o