hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/net/ethernet/marvell/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Marvell device configuration
34 #
....@@ -6,7 +7,7 @@
67 bool "Marvell devices"
78 default y
89 depends on PCI || CPU_PXA168 || MV64X60 || PPC32 || PLAT_ORION || INET || COMPILE_TEST
9
- ---help---
10
+ help
1011 If you have a network (Ethernet) card belonging to this class, say Y.
1112
1213 Note that the answer to this question doesn't directly affect the
....@@ -22,7 +23,7 @@
2223 depends on INET
2324 select PHYLIB
2425 select MVMDIO
25
- ---help---
26
+ help
2627 This driver supports the gigabit ethernet MACs in the
2728 Marvell Discovery PPC/MIPS chipset family (MV643XX) and
2829 in the Marvell Orion ARM SoC family.
....@@ -34,7 +35,7 @@
3435 tristate "Marvell MDIO interface support"
3536 depends on HAS_IOMEM
3637 select PHYLIB
37
- ---help---
38
+ help
3839 This driver supports the MDIO interface found in the network
3940 interface units of the Marvell EBU SoCs (Kirkwood, Orion5x,
4041 Dove, Armada 370 and Armada XP).
....@@ -45,7 +46,7 @@
4546 tristate "Marvell Armada 38x/XP network interface BM support"
4647 depends on MVNETA
4748 depends on !64BIT
48
- ---help---
49
+ help
4950 This driver supports auxiliary block of the network
5051 interface units in the Marvell ARMADA XP and ARMADA 38x SoC
5152 family, which is called buffer manager.
....@@ -60,7 +61,8 @@
6061 depends on ARCH_MVEBU || COMPILE_TEST
6162 select MVMDIO
6263 select PHYLINK
63
- ---help---
64
+ select PAGE_POOL
65
+ help
6466 This driver supports the network interface units in the
6567 Marvell ARMADA XP, ARMADA 370, ARMADA 38x and
6668 ARMADA 37xx SoC family.
....@@ -85,16 +87,23 @@
8587 depends on ARCH_MVEBU || COMPILE_TEST
8688 select MVMDIO
8789 select PHYLINK
88
- ---help---
90
+ select PAGE_POOL
91
+ help
8992 This driver supports the network interface units in the
9093 Marvell ARMADA 375, 7K and 8K SoCs.
94
+
95
+config MVPP2_PTP
96
+ bool "Marvell Armada 8K Enable PTP support"
97
+ depends on NETWORK_PHY_TIMESTAMPING
98
+ depends on (PTP_1588_CLOCK = y && MVPP2 = y) || \
99
+ (PTP_1588_CLOCK && MVPP2 = m)
91100
92101 config PXA168_ETH
93102 tristate "Marvell pxa168 ethernet support"
94103 depends on HAS_IOMEM
95104 depends on CPU_PXA168 || ARCH_BERLIN || COMPILE_TEST
96105 select PHYLIB
97
- ---help---
106
+ help
98107 This driver supports the pxa168 Ethernet ports.
99108
100109 To compile this driver as a module, choose M here. The module
....@@ -104,7 +113,7 @@
104113 tristate "Marvell Yukon Gigabit Ethernet support"
105114 depends on PCI
106115 select CRC32
107
- ---help---
116
+ help
108117 This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
109118 and related Gigabit Ethernet adapters. It is a new smaller driver
110119 with better performance and more complete ethtool support.
....@@ -125,7 +134,7 @@
125134 config SKGE_DEBUG
126135 bool "Debugging interface"
127136 depends on SKGE && DEBUG_FS
128
- ---help---
137
+ help
129138 This option adds the ability to dump driver state for debugging.
130139 The file /sys/kernel/debug/skge/ethX displays the state of the internal
131140 transmit and receive rings.
....@@ -135,7 +144,7 @@
135144 config SKGE_GENESIS
136145 bool "Support for older SysKonnect Genesis boards"
137146 depends on SKGE
138
- ---help---
147
+ help
139148 This enables support for the older and uncommon SysKonnect Genesis
140149 chips, which support MII via an external transceiver, instead of
141150 an internal one. Disabling this option will save some memory
....@@ -145,7 +154,7 @@
145154 tristate "Marvell Yukon 2 support"
146155 depends on PCI
147156 select CRC32
148
- ---help---
157
+ help
149158 This driver supports Gigabit Ethernet adapters based on the
150159 Marvell Yukon 2 chipset:
151160 Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
....@@ -160,11 +169,15 @@
160169 config SKY2_DEBUG
161170 bool "Debugging interface"
162171 depends on SKY2 && DEBUG_FS
163
- ---help---
172
+ help
164173 This option adds the ability to dump driver state for debugging.
165174 The file /sys/kernel/debug/sky2/ethX displays the state of the internal
166175 transmit and receive rings.
167176
168177 If unsure, say N.
169178
179
+
180
+source "drivers/net/ethernet/marvell/octeontx2/Kconfig"
181
+source "drivers/net/ethernet/marvell/prestera/Kconfig"
182
+
170183 endif # NET_VENDOR_MARVELL