# SPDX-License-Identifier: GPL-2.0-only
#
# ZTE DingHai Ethernet driver configuration
#

config DINGHAI
    bool "ZTE DingHai Ethernet driver"
    depends on PCI
    select NET_DEVLINK
    help
      This driver supports ZTE DingHai Ethernet devices.

      DingHai is a high-performance Ethernet controller that supports
      multiple features including hardware offloading, SR-IOV, and
      advanced virtualization capabilities.

      If you say Y here, you can select specific driver variants below.

      If unsure, say N.

if DINGHAI

config DINGHAI_PF
    tristate "ZTE DingHai PF (Physical Function) driver"
    help
      This driver supports ZTE DingHai PCI Express Ethernet
      adapters (PF).

      To compile this driver as a module, choose M here. The module
      will be named dinghai10e.

      If unsure, say N.

endif # DINGHAI
