1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# HISILICON device configuration 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun 6*4882a593Smuzhiyunconfig NET_VENDOR_HISILICON 7*4882a593Smuzhiyun bool "Hisilicon devices" 8*4882a593Smuzhiyun default y 9*4882a593Smuzhiyun depends on OF || ACPI 10*4882a593Smuzhiyun depends on ARM || ARM64 || COMPILE_TEST 11*4882a593Smuzhiyun help 12*4882a593Smuzhiyun If you have a network (Ethernet) card belonging to this class, say Y. 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun Note that the answer to this question doesn't directly affect the 15*4882a593Smuzhiyun kernel: saying N will just cause the configurator to skip all 16*4882a593Smuzhiyun the questions about Hisilicon devices. If you say Y, you will be asked 17*4882a593Smuzhiyun for your specific card in the following questions. 18*4882a593Smuzhiyun 19*4882a593Smuzhiyunif NET_VENDOR_HISILICON 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunconfig HIX5HD2_GMAC 22*4882a593Smuzhiyun tristate "Hisilicon HIX5HD2 Family Network Device Support" 23*4882a593Smuzhiyun select PHYLIB 24*4882a593Smuzhiyun help 25*4882a593Smuzhiyun This selects the hix5hd2 mac family network device. 26*4882a593Smuzhiyun 27*4882a593Smuzhiyunconfig HISI_FEMAC 28*4882a593Smuzhiyun tristate "Hisilicon Fast Ethernet MAC device support" 29*4882a593Smuzhiyun depends on HAS_IOMEM 30*4882a593Smuzhiyun select PHYLIB 31*4882a593Smuzhiyun select RESET_CONTROLLER 32*4882a593Smuzhiyun help 33*4882a593Smuzhiyun This selects the Hisilicon Fast Ethernet MAC device(FEMAC). 34*4882a593Smuzhiyun The FEMAC receives and transmits data over Ethernet 35*4882a593Smuzhiyun ports at 10/100 Mbps in full-duplex or half-duplex mode. 36*4882a593Smuzhiyun The FEMAC exchanges data with the CPU, and supports 37*4882a593Smuzhiyun the energy efficient Ethernet (EEE). 38*4882a593Smuzhiyun 39*4882a593Smuzhiyunconfig HIP04_ETH 40*4882a593Smuzhiyun tristate "HISILICON P04 Ethernet support" 41*4882a593Smuzhiyun depends on HAS_IOMEM # For MFD_SYSCON 42*4882a593Smuzhiyun select MARVELL_PHY 43*4882a593Smuzhiyun select MFD_SYSCON 44*4882a593Smuzhiyun select HNS_MDIO 45*4882a593Smuzhiyun help 46*4882a593Smuzhiyun If you wish to compile a kernel for a hardware with hisilicon p04 SoC and 47*4882a593Smuzhiyun want to use the internal ethernet then you should answer Y to this. 48*4882a593Smuzhiyun 49*4882a593Smuzhiyunconfig HI13X1_GMAC 50*4882a593Smuzhiyun bool "Hisilicon HI13X1 Network Device Support" 51*4882a593Smuzhiyun depends on HIP04_ETH 52*4882a593Smuzhiyun help 53*4882a593Smuzhiyun If you wish to compile a kernel for a hardware with hisilicon hi13x1_gamc 54*4882a593Smuzhiyun then you should answer Y to this. This makes this driver suitable for use 55*4882a593Smuzhiyun on certain boards such as the HI13X1. 56*4882a593Smuzhiyun 57*4882a593Smuzhiyun If you are unsure, say N. 58*4882a593Smuzhiyun 59*4882a593Smuzhiyunconfig HNS_MDIO 60*4882a593Smuzhiyun tristate 61*4882a593Smuzhiyun select PHYLIB 62*4882a593Smuzhiyun help 63*4882a593Smuzhiyun This selects the HNS MDIO support. It is needed by HNS_DSAF to access 64*4882a593Smuzhiyun the PHY 65*4882a593Smuzhiyun 66*4882a593Smuzhiyunconfig HNS 67*4882a593Smuzhiyun tristate 68*4882a593Smuzhiyun help 69*4882a593Smuzhiyun This selects the framework support for Hisilicon Network Subsystem. It 70*4882a593Smuzhiyun is needed by any driver which provides HNS acceleration engine or make 71*4882a593Smuzhiyun use of the engine 72*4882a593Smuzhiyun 73*4882a593Smuzhiyunconfig HNS_DSAF 74*4882a593Smuzhiyun tristate "Hisilicon HNS DSAF device Support" 75*4882a593Smuzhiyun select HNS 76*4882a593Smuzhiyun select HNS_MDIO 77*4882a593Smuzhiyun help 78*4882a593Smuzhiyun This selects the DSAF (Distributed System Area Frabric) network 79*4882a593Smuzhiyun acceleration engine support. The engine is used in Hisilicon hip05, 80*4882a593Smuzhiyun Hi1610 and further ICT SoC 81*4882a593Smuzhiyun 82*4882a593Smuzhiyunconfig HNS_ENET 83*4882a593Smuzhiyun tristate "Hisilicon HNS Ethernet Device Support" 84*4882a593Smuzhiyun select PHYLIB 85*4882a593Smuzhiyun select HNS 86*4882a593Smuzhiyun help 87*4882a593Smuzhiyun This selects the general ethernet driver for HNS. This module make 88*4882a593Smuzhiyun use of any HNS AE driver, such as HNS_DSAF 89*4882a593Smuzhiyun 90*4882a593Smuzhiyunconfig HNS3 91*4882a593Smuzhiyun tristate "Hisilicon Network Subsystem Support HNS3 (Framework)" 92*4882a593Smuzhiyun depends on PCI 93*4882a593Smuzhiyun help 94*4882a593Smuzhiyun This selects the framework support for Hisilicon Network Subsystem 3. 95*4882a593Smuzhiyun This layer facilitates clients like ENET, RoCE and user-space ethernet 96*4882a593Smuzhiyun drivers(like ODP)to register with HNAE devices and their associated 97*4882a593Smuzhiyun operations. 98*4882a593Smuzhiyun 99*4882a593Smuzhiyunif HNS3 100*4882a593Smuzhiyun 101*4882a593Smuzhiyunconfig HNS3_HCLGE 102*4882a593Smuzhiyun tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support" 103*4882a593Smuzhiyun default m 104*4882a593Smuzhiyun depends on PCI_MSI 105*4882a593Smuzhiyun help 106*4882a593Smuzhiyun This selects the HNS3_HCLGE network acceleration engine & its hardware 107*4882a593Smuzhiyun compatibility layer. The engine would be used in Hisilicon hip08 family of 108*4882a593Smuzhiyun SoCs and further upcoming SoCs. 109*4882a593Smuzhiyun 110*4882a593Smuzhiyunconfig HNS3_DCB 111*4882a593Smuzhiyun bool "Hisilicon HNS3 Data Center Bridge Support" 112*4882a593Smuzhiyun default n 113*4882a593Smuzhiyun depends on HNS3_HCLGE && DCB 114*4882a593Smuzhiyun help 115*4882a593Smuzhiyun Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver. 116*4882a593Smuzhiyun 117*4882a593Smuzhiyun If unsure, say N. 118*4882a593Smuzhiyun 119*4882a593Smuzhiyunconfig HNS3_HCLGEVF 120*4882a593Smuzhiyun tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support" 121*4882a593Smuzhiyun depends on PCI_MSI 122*4882a593Smuzhiyun depends on HNS3_HCLGE 123*4882a593Smuzhiyun help 124*4882a593Smuzhiyun This selects the HNS3 VF drivers network acceleration engine & its hardware 125*4882a593Smuzhiyun compatibility layer. The engine would be used in Hisilicon hip08 family of 126*4882a593Smuzhiyun SoCs and further upcoming SoCs. 127*4882a593Smuzhiyun 128*4882a593Smuzhiyunconfig HNS3_ENET 129*4882a593Smuzhiyun tristate "Hisilicon HNS3 Ethernet Device Support" 130*4882a593Smuzhiyun default m 131*4882a593Smuzhiyun depends on 64BIT && PCI 132*4882a593Smuzhiyun depends on INET 133*4882a593Smuzhiyun help 134*4882a593Smuzhiyun This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08 135*4882a593Smuzhiyun family of SoCs. This module depends upon HNAE3 driver to access the HNAE3 136*4882a593Smuzhiyun devices and their associated operations. 137*4882a593Smuzhiyun 138*4882a593Smuzhiyunendif #HNS3 139*4882a593Smuzhiyun 140*4882a593Smuzhiyunendif # NET_VENDOR_HISILICON 141