Root/target/linux/ar71xx/patches-2.6.32/123-dsa-add-ar7240-built-in-switch-support.patch

1--- a/net/dsa/Kconfig
2+++ b/net/dsa/Kconfig
3@@ -29,6 +29,15 @@ config NET_DSA_TAG_QINQ
4 
5 
6 # switch drivers
7+config NET_DSA_AR7240
8+ bool "Atheros AR7240 built-in ethernet switch support"
9+ depends on ATHEROS_AR71XX
10+ default n
11+ select NET_DSA_TAG_QINQ
12+ ---help---
13+ This enables support for the built-in ethernet switch of the
14+ Atheros AR7240 SoC.
15+
16 config NET_DSA_MV88E6XXX
17     bool
18     default n
19--- a/net/dsa/Makefile
20+++ b/net/dsa/Makefile
21@@ -5,6 +5,7 @@ obj-$(CONFIG_NET_DSA_TAG_QINQ) += tag_qi
22 obj-$(CONFIG_NET_DSA_TAG_TRAILER) += tag_trailer.o
23 
24 # switch drivers
25+obj-$(CONFIG_NET_DSA_AR7240) += ar7240.o
26 obj-$(CONFIG_NET_DSA_MV88E6XXX) += mv88e6xxx.o
27 obj-$(CONFIG_NET_DSA_MV88E6060) += mv88e6060.o
28 obj-$(CONFIG_NET_DSA_MV88E6063) += mv88e6063.o
29

Archive Download this file



interactive