# SPDX-License-Identifier: GPL-2.0-only
#
# HISILICON device configuration
#
config [31mCONFIG_NET_VENDOR_HISILICON[0m
bool "Hisilicon devices"
default y
depends on [31mCONFIG_OF[0m || [31mCONFIG_ACPI[0m
depends on [31mCONFIG_ARM[0m || [31mCONFIG_ARM64[0m || [31mCONFIG_COMPILE_TEST[0m
---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 Hisilicon devices. If you say Y, you will be asked
for your specific card in the following questions.
if [31mCONFIG_NET_VENDOR_HISILICON[0m
config [31mCONFIG_HIX5HD2_GMAC[0m
tristate "Hisilicon HIX5HD2 Family Network Device Support"
select [31mCONFIG_PHYLIB[0m
help
This selects the hix5hd2 mac family network device.
config [31mCONFIG_HISI_FEMAC[0m
tristate "Hisilicon Fast Ethernet MAC device support"
depends on [31mCONFIG_HAS_IOMEM[0m
select [31mCONFIG_PHYLIB[0m
select [31mCONFIG_RESET_CONTROLLER[0m
help
This selects the Hisilicon Fast Ethernet [31mCONFIG_MAC[0m device(FEMAC).
The FEMAC receives and transmits data over Ethernet
ports at 10/100 Mbps in full-duplex or half-duplex mode.
The FEMAC exchanges data with the CPU, and supports
the energy efficient Ethernet (EEE).
config [31mCONFIG_HIP04_ETH[0m
tristate "HISILICON P04 Ethernet support"
depends on [31mCONFIG_HAS_IOMEM[0m # For [31mCONFIG_MFD_SYSCON[0m
select [31mCONFIG_MARVELL_PHY[0m
select [31mCONFIG_MFD_SYSCON[0m
select [31mCONFIG_HNS_MDIO[0m
---help---
If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
want to use the internal ethernet then you should answer Y to this.
config [31mCONFIG_HI13X1_GMAC[0m
bool "Hisilicon HI13X1 Network Device Support"
depends on [31mCONFIG_HIP04_ETH[0m
help
If you wish to compile a kernel for a hardware with hisilicon hi13x1_gamc
then you should answer Y to this. This makes this driver suitable for use
on certain boards such as the HI13X1.
If you are unsure, say N.
config [31mCONFIG_HNS_MDIO[0m
tristate
select [31mCONFIG_PHYLIB[0m
---help---
This selects the [31mCONFIG_HNS[0m [31mCONFIG_MDIO[0m support. It is needed by [31mCONFIG_HNS_DSAF[0m to access
the PHY
config [31mCONFIG_HNS[0m
tristate "Hisilicon Network Subsystem Support (Framework)"
---help---
This selects the framework support for Hisilicon Network Subsystem. It
is needed by any driver which provides [31mCONFIG_HNS[0m acceleration engine or make
use of the engine
config [31mCONFIG_HNS_DSAF[0m
tristate "Hisilicon HNS DSAF device Support"
select [31mCONFIG_HNS[0m
select [31mCONFIG_HNS_MDIO[0m
---help---
This selects the DSAF (Distributed System Area Frabric) network
acceleration engine support. The engine is used in Hisilicon hip05,
Hi1610 and further ICT SoC
config [31mCONFIG_HNS_ENET[0m
tristate "Hisilicon HNS Ethernet Device Support"
select [31mCONFIG_PHYLIB[0m
select [31mCONFIG_HNS[0m
---help---
This selects the general ethernet driver for [31mCONFIG_HNS[0m. This module make
use of any [31mCONFIG_HNS[0m AE driver, such as [31mCONFIG_HNS_DSAF[0m
config [31mCONFIG_HNS3[0m
tristate "Hisilicon Network Subsystem Support HNS3 (Framework)"
depends on [31mCONFIG_PCI[0m
---help---
This selects the framework support for Hisilicon Network Subsystem 3.
This layer facilitates clients like ENET, RoCE and user-space ethernet
drivers(like ODP)to register with HNAE devices and their associated
operations.
if [31mCONFIG_HNS3[0m
config [31mCONFIG_HNS3_HCLGE[0m
tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support"
default m
depends on [31mCONFIG_PCI_MSI[0m
---help---
This selects the [31mCONFIG_HNS3_HCLGE[0m network acceleration engine & its hardware
compatibility layer. The engine would be used in Hisilicon hip08 family of
SoCs and further upcoming SoCs.
config [31mCONFIG_HNS3_DCB[0m
bool "Hisilicon HNS3 Data Center Bridge Support"
default n
depends on [31mCONFIG_HNS3_HCLGE[0m && [31mCONFIG_DCB[0m
---help---
Say Y here if you want to use Data Center Bridging ([31mCONFIG_DCB[0m) in the [31mCONFIG_HNS3[0m driver.
If unsure, say N.
config [31mCONFIG_HNS3_HCLGEVF[0m
tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support"
depends on [31mCONFIG_PCI_MSI[0m
depends on [31mCONFIG_HNS3_HCLGE[0m
---help---
This selects the [31mCONFIG_HNS3[0m VF drivers network acceleration engine & its hardware
compatibility layer. The engine would be used in Hisilicon hip08 family of
SoCs and further upcoming SoCs.
config [31mCONFIG_HNS3_ENET[0m
tristate "Hisilicon HNS3 Ethernet Device Support"
default m
depends on [31mCONFIG_64BIT[0m && [31mCONFIG_PCI[0m
depends on [31mCONFIG_INET[0m
---help---
This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08
family of SoCs. This module depends upon HNAE3 driver to access the HNAE3
devices and their associated operations.
endif #[31mCONFIG_HNS3[0m
endif # [31mCONFIG_NET_VENDOR_HISILICON[0m