ipq40xx: add ipqess ethernet driver
[openwrt/staging/chunkeey.git] / target / linux / ipq40xx / patches-4.19 / 720-ipqess.patch
1 --- a/drivers/net/ethernet/qualcomm/Kconfig
2 +++ b/drivers/net/ethernet/qualcomm/Kconfig
3 @@ -15,6 +15,15 @@ config NET_VENDOR_QUALCOMM
4
5 if NET_VENDOR_QUALCOMM
6
7 +config IPQ_ESS
8 + tristate "Qualcomm Atheros IPQ ESS support"
9 + depends on OF
10 + ---help---
11 + This SPI protocol driver supports the Qualcomm Atheros QCA7000.
12 +
13 + To compile this driver as a module, choose M here. The module
14 + will be called qcaspi.
15 +
16 config QCA7000
17 tristate
18 help
19 --- a/drivers/net/ethernet/qualcomm/Makefile
20 +++ b/drivers/net/ethernet/qualcomm/Makefile
21 @@ -3,6 +3,9 @@
22 # Makefile for the Qualcomm network device drivers.
23 #
24
25 +obj-$(CONFIG_IPQ_ESS) += ipq_ess.o
26 +ipq_ess-objs := ipqess.o ipqess_ethtool.o
27 +
28 obj-$(CONFIG_QCA7000) += qca_7k_common.o
29 obj-$(CONFIG_QCA7000_SPI) += qcaspi.o
30 qcaspi-objs := qca_7k.o qca_debug.o qca_spi.o