blob: 68131a45ac5e75a0d3f1274997bca200733a6118 [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
42source "drivers/net/dsa/mv88e6xxx/Kconfig"
43
44config NET_DSA_QCA8K
45 tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
46 depends on NET_DSA
47 select NET_DSA_TAG_QCA
48 select REGMAP
49 ---help---
50 This enables support for the Qualcomm Atheros QCA8K Ethernet
51 switch chips.
52
Juergen Beisertbe4e1192017-04-18 10:48:26 +020053config NET_DSA_SMSC_LAN9303
54 tristate
55 select NET_DSA_TAG_LAN9303
56 ---help---
57 This enables support for the SMSC/Microchip LAN9303 3 port ethernet
58 switch chips.
59
60config NET_DSA_SMSC_LAN9303_I2C
61 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
Arnd Bergmann239c5992017-04-21 18:22:40 +020062 depends on NET_DSA && I2C
Juergen Beisertbe4e1192017-04-18 10:48:26 +020063 select NET_DSA_SMSC_LAN9303
64 select REGMAP_I2C
65 ---help---
66 Enable access functions if the SMSC/Microchip LAN9303 is configured
67 for I2C managed mode.
68
Juergen Beisertdc700582017-04-18 10:48:27 +020069config NET_DSA_SMSC_LAN9303_MDIO
70 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
71 depends on NET_DSA
72 select NET_DSA_SMSC_LAN9303
73 ---help---
74 Enable access functions if the SMSC/Microchip LAN9303 is configured
75 for MDIO managed mode.
76
Ben Hutchings3b1588592011-11-27 17:08:33 +000077endmenu