blob: 83a9bc892a3be4ded43532bad2b51bad3760d785 [file] [log] [blame]
Ben Hutchings3b1588592011-11-27 17:08:33 +00001menu "Distributed Switch Architecture drivers"
Ben Hutchingsb3422a32012-11-26 09:16:10 +00002 depends on HAVE_NET_DSA
Ben Hutchings3b1588592011-11-27 17:08:33 +00003
Andrew Lunnec34e932017-05-16 22:40:08 +02004source "drivers/net/dsa/b53/Kconfig"
Ben Hutchings3b1588592011-11-27 17:08:33 +00005
Florian Fainelli246d7f72014-08-27 17:04:56 -07006config NET_DSA_BCM_SF2
7 tristate "Broadcom Starfighter 2 Ethernet switch support"
Florian Fainelli68e49852017-03-24 14:57:22 -07008 depends on HAS_IOMEM && NET_DSA && OF_MDIO
Florian Fainelli246d7f72014-08-27 17:04:56 -07009 select NET_DSA_TAG_BRCM
Florian Fainelli9f9f2642014-12-15 09:57:15 -080010 select FIXED_PHY
Florian Fainelli246d7f72014-08-27 17:04:56 -070011 select BCM7XXX_PHY
12 select MDIO_BCM_UNIMAC
Florian Fainellif4589952016-08-26 12:18:33 -070013 select B53
Florian Fainelli246d7f72014-08-27 17:04:56 -070014 ---help---
15 This enables support for the Broadcom Starfighter 2 Ethernet
16 switch chips.
17
Florian Fainelli98cd1552017-03-30 18:43:21 -070018config NET_DSA_LOOP
19 tristate "DSA mock-up Ethernet switch chip support"
20 depends on NET_DSA
21 select FIXED_PHY
22 ---help---
23 This enables support for a fake mock-up switch chip which
24 exercises the DSA APIs.
25
Sean Wangb8f126a2017-04-07 16:45:09 +080026config NET_DSA_MT7530
27 tristate "Mediatek MT7530 Ethernet switch support"
28 depends on NET_DSA
29 select NET_DSA_TAG_MTK
30 ---help---
31 This enables support for the Mediatek MT7530 Ethernet switch
32 chip.
33
Andrew Lunnec34e932017-05-16 22:40:08 +020034config NET_DSA_MV88E6060
35 tristate "Marvell 88E6060 ethernet switch chip support"
36 depends on NET_DSA
37 select NET_DSA_TAG_TRAILER
38 ---help---
39 This enables support for the Marvell 88E6060 ethernet switch
40 chip.
41
Woojung Huhb987e982017-05-31 20:19:19 +000042source "drivers/net/dsa/microchip/Kconfig"
43
Andrew Lunnec34e932017-05-16 22:40:08 +020044source "drivers/net/dsa/mv88e6xxx/Kconfig"
45
46config NET_DSA_QCA8K
47 tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
48 depends on NET_DSA
49 select NET_DSA_TAG_QCA
50 select REGMAP
51 ---help---
52 This enables support for the Qualcomm Atheros QCA8K Ethernet
53 switch chips.
54
Juergen Beisertbe4e1192017-04-18 10:48:26 +020055config NET_DSA_SMSC_LAN9303
56 tristate
57 select NET_DSA_TAG_LAN9303
58 ---help---
59 This enables support for the SMSC/Microchip LAN9303 3 port ethernet
60 switch chips.
61
62config NET_DSA_SMSC_LAN9303_I2C
63 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
Arnd Bergmann239c5992017-04-21 18:22:40 +020064 depends on NET_DSA && I2C
Juergen Beisertbe4e1192017-04-18 10:48:26 +020065 select NET_DSA_SMSC_LAN9303
66 select REGMAP_I2C
67 ---help---
68 Enable access functions if the SMSC/Microchip LAN9303 is configured
69 for I2C managed mode.
70
Juergen Beisertdc700582017-04-18 10:48:27 +020071config NET_DSA_SMSC_LAN9303_MDIO
72 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
73 depends on NET_DSA
74 select NET_DSA_SMSC_LAN9303
75 ---help---
76 Enable access functions if the SMSC/Microchip LAN9303 is configured
77 for MDIO managed mode.
78
Ben Hutchings3b1588592011-11-27 17:08:33 +000079endmenu