ipq40xx: add IPQESS ethernet driver
[openwrt/staging/dedeckeh.git] / target / linux / ipq40xx / patches-5.10 / 702-net-ethernet-qualcomm-add-IPQESS-support.patch
1 From 4f488235f498db43f2412116dea6e02c7fb20216 Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robert.marko@sartura.hr>
3 Date: Mon, 1 Nov 2021 12:36:51 +0100
4 Subject: [PATCH] net: ethernet: qualcomm: add IPQESS support
5
6 Allow compiling the IPQESS driver that supports the
7 Qualcomm IPQ40xx SoC built-in ethernet controller.
8
9 Signed-off-by: Robert Marko <robert.marko@sartura.hr>
10 ---
11 drivers/net/ethernet/qualcomm/Kconfig | 11 +++++++++++
12 drivers/net/ethernet/qualcomm/Makefile | 1 +
13 2 files changed, 12 insertions(+)
14
15 --- a/drivers/net/ethernet/qualcomm/Kconfig
16 +++ b/drivers/net/ethernet/qualcomm/Kconfig
17 @@ -60,6 +60,17 @@ config QCOM_EMAC
18 low power, Receive-Side Scaling (RSS), and IEEE 1588-2008
19 Precision Clock Synchronization Protocol.
20
21 +config QCOM_IPQ4019_ESS_EDMA
22 + tristate "Qualcomm Atheros IPQ4019 ESS EDMA support"
23 + depends on OF
24 + select PHYLINK
25 + help
26 + This driver supports the Qualcomm Atheros IPQ40xx built-in
27 + ESS EDMA ethernet controller.
28 +
29 + To compile this driver as a module, choose M here: the
30 + module will be called ipqess.
31 +
32 source "drivers/net/ethernet/qualcomm/rmnet/Kconfig"
33
34 endif # NET_VENDOR_QUALCOMM
35 --- a/drivers/net/ethernet/qualcomm/Makefile
36 +++ b/drivers/net/ethernet/qualcomm/Makefile
37 @@ -10,5 +10,6 @@ obj-$(CONFIG_QCA7000_UART) += qcauart.o
38 qcauart-objs := qca_uart.o
39
40 obj-y += emac/
41 +obj-y += ipqess/
42
43 obj-$(CONFIG_RMNET) += rmnet/