18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Cavium ethernet device configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig NET_VENDOR_CAVIUM
78c2ecf20Sopenharmony_ci	bool "Cavium ethernet drivers"
88c2ecf20Sopenharmony_ci	default y
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  Select this option if you want enable Cavium network support.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  If you have a Cavium SoC or network adapter, say Y.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciif NET_VENDOR_CAVIUM
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig THUNDER_NIC_PF
178c2ecf20Sopenharmony_ci	tristate "Thunder Physical function driver"
188c2ecf20Sopenharmony_ci	depends on 64BIT && PCI
198c2ecf20Sopenharmony_ci	select THUNDER_NIC_BGX
208c2ecf20Sopenharmony_ci	help
218c2ecf20Sopenharmony_ci	  This driver supports Thunder's NIC physical function.
228c2ecf20Sopenharmony_ci	  The NIC provides the controller and DMA engines to
238c2ecf20Sopenharmony_ci	  move network traffic to/from the memory. The NIC
248c2ecf20Sopenharmony_ci	  works closely with TNS, BGX and SerDes to implement the
258c2ecf20Sopenharmony_ci	  functions replacing and virtualizing those of a typical
268c2ecf20Sopenharmony_ci	  standalone PCIe NIC chip.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig THUNDER_NIC_VF
298c2ecf20Sopenharmony_ci	tristate "Thunder Virtual function driver"
308c2ecf20Sopenharmony_ci	imply CAVIUM_PTP
318c2ecf20Sopenharmony_ci	depends on 64BIT && PCI
328c2ecf20Sopenharmony_ci	help
338c2ecf20Sopenharmony_ci	  This driver supports Thunder's NIC virtual function
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig	THUNDER_NIC_BGX
368c2ecf20Sopenharmony_ci	tristate "Thunder MAC interface driver (BGX)"
378c2ecf20Sopenharmony_ci	depends on 64BIT && PCI
388c2ecf20Sopenharmony_ci	select PHYLIB
398c2ecf20Sopenharmony_ci	select MDIO_THUNDER if PCI
408c2ecf20Sopenharmony_ci	select THUNDER_NIC_RGX
418c2ecf20Sopenharmony_ci	help
428c2ecf20Sopenharmony_ci	  This driver supports programming and controlling of MAC
438c2ecf20Sopenharmony_ci	  interface from NIC physical function driver.
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciconfig	THUNDER_NIC_RGX
468c2ecf20Sopenharmony_ci	tristate "Thunder MAC interface driver (RGX)"
478c2ecf20Sopenharmony_ci	depends on 64BIT && PCI
488c2ecf20Sopenharmony_ci	select PHYLIB
498c2ecf20Sopenharmony_ci	select MDIO_THUNDER if PCI
508c2ecf20Sopenharmony_ci	help
518c2ecf20Sopenharmony_ci	  This driver supports configuring XCV block of RGX interface
528c2ecf20Sopenharmony_ci	  present on CN81XX chip.
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ciconfig CAVIUM_PTP
558c2ecf20Sopenharmony_ci	tristate "Cavium PTP coprocessor as PTP clock"
568c2ecf20Sopenharmony_ci	depends on 64BIT && PCI
578c2ecf20Sopenharmony_ci	depends on PTP_1588_CLOCK
588c2ecf20Sopenharmony_ci	help
598c2ecf20Sopenharmony_ci	  This driver adds support for the Precision Time Protocol Clocks and
608c2ecf20Sopenharmony_ci	  Timestamping coprocessor (PTP) found on Cavium processors.
618c2ecf20Sopenharmony_ci	  PTP provides timestamping mechanism that is suitable for use in IEEE 1588
628c2ecf20Sopenharmony_ci	  Precision Time Protocol or other purposes.  Timestamps can be used in
638c2ecf20Sopenharmony_ci	  BGX, TNS, GTI, and NIC blocks.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciconfig LIQUIDIO
668c2ecf20Sopenharmony_ci	tristate "Cavium LiquidIO support"
678c2ecf20Sopenharmony_ci	depends on 64BIT && PCI
688c2ecf20Sopenharmony_ci	depends on PCI
698c2ecf20Sopenharmony_ci	imply PTP_1588_CLOCK
708c2ecf20Sopenharmony_ci	select FW_LOADER
718c2ecf20Sopenharmony_ci	select LIBCRC32C
728c2ecf20Sopenharmony_ci	select NET_DEVLINK
738c2ecf20Sopenharmony_ci	help
748c2ecf20Sopenharmony_ci	  This driver supports Cavium LiquidIO Intelligent Server Adapters
758c2ecf20Sopenharmony_ci	  based on CN66XX, CN68XX and CN23XX chips.
768c2ecf20Sopenharmony_ci
778c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
788c2ecf20Sopenharmony_ci	  will be called liquidio.  This is recommended.
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ciconfig OCTEON_MGMT_ETHERNET
818c2ecf20Sopenharmony_ci	tristate "Octeon Management port ethernet driver (CN5XXX, CN6XXX)"
828c2ecf20Sopenharmony_ci	depends on CAVIUM_OCTEON_SOC
838c2ecf20Sopenharmony_ci	select PHYLIB
848c2ecf20Sopenharmony_ci	select MDIO_OCTEON
858c2ecf20Sopenharmony_ci	default y
868c2ecf20Sopenharmony_ci	help
878c2ecf20Sopenharmony_ci	  Enable the ethernet driver for the management
888c2ecf20Sopenharmony_ci	  port on Cavium Networks' Octeon CN57XX, CN56XX, CN55XX,
898c2ecf20Sopenharmony_ci	  CN54XX, CN52XX, and CN6XXX chips.
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ciconfig LIQUIDIO_VF
928c2ecf20Sopenharmony_ci	tristate "Cavium LiquidIO VF support"
938c2ecf20Sopenharmony_ci	depends on 64BIT && PCI_MSI
948c2ecf20Sopenharmony_ci	imply PTP_1588_CLOCK
958c2ecf20Sopenharmony_ci	help
968c2ecf20Sopenharmony_ci	  This driver supports Cavium LiquidIO Intelligent Server Adapter
978c2ecf20Sopenharmony_ci	  based on CN23XX chips.
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: The module
1008c2ecf20Sopenharmony_ci	  will be called liquidio_vf. MSI-X interrupt support is required
1018c2ecf20Sopenharmony_ci	  for this driver to work correctly
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_ciendif # NET_VENDOR_CAVIUM
104