mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 11:06:48 +07:00
2fa8d3af4b
This patch adds basic support for exposing the 32-bit timestamp counter inside the mv88e6xxx switch as a ptp_clock. Adjfine implemented by Richard Cochran. Andrew Lunn: fix return value of PTP stub function. Signed-off-by: Brandon Streiff <brandon.streiff@ni.com> Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
31 lines
965 B
Plaintext
31 lines
965 B
Plaintext
config NET_DSA_MV88E6XXX
|
|
tristate "Marvell 88E6xxx Ethernet switch fabric support"
|
|
depends on NET_DSA
|
|
select IRQ_DOMAIN
|
|
select NET_DSA_TAG_EDSA
|
|
select NET_DSA_TAG_DSA
|
|
help
|
|
This driver adds support for most of the Marvell 88E6xxx models of
|
|
Ethernet switch chips, except 88E6060.
|
|
|
|
config NET_DSA_MV88E6XXX_GLOBAL2
|
|
bool "Switch Global 2 Registers support"
|
|
default y
|
|
depends on NET_DSA_MV88E6XXX
|
|
help
|
|
This registers set at internal SMI address 0x1C provides extended
|
|
features like EEPROM interface, trunking, cross-chip setup, etc.
|
|
|
|
It is required on most chips. If the chip you compile the support for
|
|
doesn't have such registers set, say N here. In doubt, say Y.
|
|
|
|
config NET_DSA_MV88E6XXX_PTP
|
|
bool "PTP support for Marvell 88E6xxx"
|
|
default n
|
|
depends on NET_DSA_MV88E6XXX_GLOBAL2
|
|
imply NETWORK_PHY_TIMESTAMPING
|
|
imply PTP_1588_CLOCK
|
|
help
|
|
Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
|
|
chips that support it.
|