ath79: Convert incorrect 5.10 and 5.15 patches
[openwrt/openwrt.git] / target / linux / ath79 / patches-5.15 / 420-net-use-downstream-ag71xx.patch
1 From: John Crispin <john@phrozen.org>
2 Subject: [PATCH] ath79: add new OF only target for QCA MIPS silicon
3
4 This target aims to replace ar71xx mid-term. The big part that is still
5 missing is making the MMIO/AHB wifi work using OF. NAND and mikrotik
6 subtargets will follow.
7
8 Submitted-by: John Crispin <john@phrozen.org>
9 ---
10 drivers/net/ethernet/atheros/Kconfig | 8 +-------
11 drivers/net/ethernet/atheros/Makefile | 2 +-
12 2 files changed, 2 insertions(+), 8 deletions(-)
13
14 --- a/drivers/net/ethernet/atheros/Kconfig
15 +++ b/drivers/net/ethernet/atheros/Kconfig
16 @@ -17,14 +17,7 @@ config NET_VENDOR_ATHEROS
17
18 if NET_VENDOR_ATHEROS
19
20 -config AG71XX
21 - tristate "Atheros AR7XXX/AR9XXX built-in ethernet mac support"
22 - depends on ATH79
23 - select PHYLINK
24 - imply NET_SELFTESTS
25 - help
26 - If you wish to compile a kernel for AR7XXX/91XXX and enable
27 - ethernet support, then you should always answer Y to this.
28 +source "drivers/net/ethernet/atheros/ag71xx/Kconfig"
29
30 config ATL2
31 tristate "Atheros L2 Fast Ethernet support"
32 --- a/drivers/net/ethernet/atheros/Makefile
33 +++ b/drivers/net/ethernet/atheros/Makefile
34 @@ -3,7 +3,7 @@
35 # Makefile for the Atheros network device drivers.
36 #
37
38 -obj-$(CONFIG_AG71XX) += ag71xx.o
39 +obj-$(CONFIG_AG71XX) += ag71xx/
40 obj-$(CONFIG_ATL1) += atlx/
41 obj-$(CONFIG_ATL2) += atlx/
42 obj-$(CONFIG_ATL1E) += atl1e/