From f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 31 Jan 2024 01:04:47 +0000 Subject: [PATCH] add driver 5G --- kernel/drivers/net/ethernet/hisilicon/Kconfig | 36 ++++++++++++++++++++++++------------ 1 files changed, 24 insertions(+), 12 deletions(-) diff --git a/kernel/drivers/net/ethernet/hisilicon/Kconfig b/kernel/drivers/net/ethernet/hisilicon/Kconfig index 2515271..44f9279 100644 --- a/kernel/drivers/net/ethernet/hisilicon/Kconfig +++ b/kernel/drivers/net/ethernet/hisilicon/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only # # HISILICON device configuration # @@ -7,7 +8,7 @@ default y depends on OF || ACPI depends on ARM || ARM64 || COMPILE_TEST - ---help--- + 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 @@ -41,20 +42,30 @@ select MARVELL_PHY select MFD_SYSCON select HNS_MDIO - ---help--- + 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 HI13X1_GMAC + bool "Hisilicon HI13X1 Network Device Support" + depends on HIP04_ETH + 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 HNS_MDIO tristate select PHYLIB - ---help--- + help This selects the HNS MDIO support. It is needed by HNS_DSAF to access the PHY config HNS - tristate "Hisilicon Network Subsystem Support (Framework)" - ---help--- + tristate + help This selects the framework support for Hisilicon Network Subsystem. It is needed by any driver which provides HNS acceleration engine or make use of the engine @@ -63,7 +74,7 @@ tristate "Hisilicon HNS DSAF device Support" select HNS select HNS_MDIO - ---help--- + 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 @@ -72,14 +83,14 @@ tristate "Hisilicon HNS Ethernet Device Support" select PHYLIB select HNS - ---help--- + help This selects the general ethernet driver for HNS. This module make use of any HNS AE driver, such as HNS_DSAF config HNS3 tristate "Hisilicon Network Subsystem Support HNS3 (Framework)" depends on PCI - ---help--- + 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 @@ -91,7 +102,7 @@ tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support" default m depends on PCI_MSI - ---help--- + help This selects the HNS3_HCLGE network acceleration engine & its hardware compatibility layer. The engine would be used in Hisilicon hip08 family of SoCs and further upcoming SoCs. @@ -100,7 +111,7 @@ bool "Hisilicon HNS3 Data Center Bridge Support" default n depends on HNS3_HCLGE && DCB - ---help--- + help Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver. If unsure, say N. @@ -109,7 +120,7 @@ tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support" depends on PCI_MSI depends on HNS3_HCLGE - ---help--- + help This selects the HNS3 VF drivers network acceleration engine & its hardware compatibility layer. The engine would be used in Hisilicon hip08 family of SoCs and further upcoming SoCs. @@ -118,7 +129,8 @@ tristate "Hisilicon HNS3 Ethernet Device Support" default m depends on 64BIT && PCI - ---help--- + depends on INET + 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. -- Gitblit v1.6.2