145 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# HISILICON device configuration4#5 6config NET_VENDOR_HISILICON7 bool "Hisilicon devices"8 default y9 depends on OF || ACPI10 depends on ARM || ARM64 || COMPILE_TEST11 help12 If you have a network (Ethernet) card belonging to this class, say Y.13 14 Note that the answer to this question doesn't directly affect the15 kernel: saying N will just cause the configurator to skip all16 the questions about Hisilicon devices. If you say Y, you will be asked17 for your specific card in the following questions.18 19if NET_VENDOR_HISILICON20 21config HIX5HD2_GMAC22 tristate "Hisilicon HIX5HD2 Family Network Device Support"23 select PHYLIB24 help25 This selects the hix5hd2 mac family network device.26 27config HISI_FEMAC28 tristate "Hisilicon Fast Ethernet MAC device support"29 depends on HAS_IOMEM30 select PHYLIB31 select RESET_CONTROLLER32 help33 This selects the Hisilicon Fast Ethernet MAC device(FEMAC).34 The FEMAC receives and transmits data over Ethernet35 ports at 10/100 Mbps in full-duplex or half-duplex mode.36 The FEMAC exchanges data with the CPU, and supports37 the energy efficient Ethernet (EEE).38 39config HIP04_ETH40 tristate "HISILICON P04 Ethernet support"41 depends on HAS_IOMEM # For MFD_SYSCON42 select MARVELL_PHY43 select MFD_SYSCON44 select HNS_MDIO45 help46 If you wish to compile a kernel for a hardware with hisilicon p04 SoC and47 want to use the internal ethernet then you should answer Y to this.48 49config HI13X1_GMAC50 bool "Hisilicon HI13X1 Network Device Support"51 depends on HIP04_ETH52 help53 If you wish to compile a kernel for a hardware with hisilicon hi13x1_gamc54 then you should answer Y to this. This makes this driver suitable for use55 on certain boards such as the HI13X1.56 57 If you are unsure, say N.58 59config HNS_MDIO60 tristate61 select PHYLIB62 help63 This selects the HNS MDIO support. It is needed by HNS_DSAF to access64 the PHY65 66config HNS67 tristate68 help69 This selects the framework support for Hisilicon Network Subsystem. It70 is needed by any driver which provides HNS acceleration engine or make71 use of the engine72 73config HNS_DSAF74 tristate "Hisilicon HNS DSAF device Support"75 select HNS76 select HNS_MDIO77 help78 This selects the DSAF (Distributed System Area Frabric) network79 acceleration engine support. The engine is used in Hisilicon hip05,80 Hi1610 and further ICT SoC81 82config HNS_ENET83 tristate "Hisilicon HNS Ethernet Device Support"84 select PHYLIB85 select HNS86 help87 This selects the general ethernet driver for HNS. This module make88 use of any HNS AE driver, such as HNS_DSAF89 90config HNS391 tristate "Hisilicon Network Subsystem Support HNS3 (Framework)"92 depends on PCI93 select NET_DEVLINK94 select PAGE_POOL95 help96 This selects the framework support for Hisilicon Network Subsystem 3.97 This layer facilitates clients like ENET, RoCE and user-space ethernet98 drivers(like ODP)to register with HNAE devices and their associated99 operations.100 101if HNS3102 103config HNS3_HCLGE104 tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support"105 default m106 depends on PCI_MSI107 depends on PTP_1588_CLOCK_OPTIONAL108 help109 This selects the HNS3_HCLGE network acceleration engine & its hardware110 compatibility layer. The engine would be used in Hisilicon hip08 family of111 SoCs and further upcoming SoCs.112 113config HNS3_DCB114 bool "Hisilicon HNS3 Data Center Bridge Support"115 default n116 depends on HNS3_HCLGE && DCB117 help118 Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver.119 120 If unsure, say N.121 122config HNS3_HCLGEVF123 tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support"124 depends on PCI_MSI125 depends on HNS3_HCLGE126 help127 This selects the HNS3 VF drivers network acceleration engine & its hardware128 compatibility layer. The engine would be used in Hisilicon hip08 family of129 SoCs and further upcoming SoCs.130 131config HNS3_ENET132 tristate "Hisilicon HNS3 Ethernet Device Support"133 default m134 depends on 64BIT && PCI135 depends on INET136 select DIMLIB137 help138 This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08139 family of SoCs. This module depends upon HNAE3 driver to access the HNAE3140 devices and their associated operations.141 142endif #HNS3143 144endif # NET_VENDOR_HISILICON145