# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2019 Pensando Systems, Inc
#
# Pensando device configuration
#

config NET_VENDOR_PENSANDO
	bool "Pensando devices"
	default y
	help
	  If you have a network (Ethernet) card belonging to this class, say Y.

	  Note that the answer to this question doesn't directly affect the
	  kernel: saying N will just cause the configurator to skip all
	  the questions about Pensando cards. If you say Y, you will be asked
	  for your specific card in the following questions.

if NET_VENDOR_PENSANDO

config IONIC
	tristate "Pensando Ethernet IONIC Support"
	depends on 64BIT && PCI
	depends on PTP_1588_CLOCK_OPTIONAL
	select NET_DEVLINK
	select DIMLIB
	select PAGE_POOL
	select AUXILIARY_BUS
	help
	  This enables the support for the Pensando family of Ethernet
	  adapters.  More specific information on this driver can be
	  found in
	  <file:Documentation/networking/device_drivers/ethernet/pensando/ionic.rst>.

	  To compile this driver as a module, choose M here. The module
	  will be called ionic.

config IONIC_MNIC
       tristate "Pensando MNIC Ethernet Support"
       select MDEV
       select MNET_UIO_PDRV_GENIRQ
       help
         This enables Pensando IONIC MNIC driver.

config MDEV
       tristate "Pensando MDEV Ethernet Support"
       help
         This enables Pensando  MDEV driver.

config MNET_UIO_PDRV_GENIRQ
       tristate "Pensando MNET UIO driver Support"
       help
         This enables Pensando MNET UIO driver.

endif # NET_VENDOR_PENSANDO
