157c5bc9aSZhangfei Gao# 257c5bc9aSZhangfei Gao# HISILICON device configuration 357c5bc9aSZhangfei Gao# 457c5bc9aSZhangfei Gao 557c5bc9aSZhangfei Gaoconfig NET_VENDOR_HISILICON 657c5bc9aSZhangfei Gao bool "Hisilicon devices" 757c5bc9aSZhangfei Gao default y 84a63538eSKejian Yan depends on (OF || ACPI) && HAS_DMA 93870502aSGeert Uytterhoeven depends on ARM || ARM64 || COMPILE_TEST 1057c5bc9aSZhangfei Gao ---help--- 11138b15edSPaul Gortmaker If you have a network (Ethernet) card belonging to this class, say Y. 1257c5bc9aSZhangfei Gao 1357c5bc9aSZhangfei Gao Note that the answer to this question doesn't directly affect the 1457c5bc9aSZhangfei Gao kernel: saying N will just cause the configurator to skip all 1557c5bc9aSZhangfei Gao the questions about Hisilicon devices. If you say Y, you will be asked 1657c5bc9aSZhangfei Gao for your specific card in the following questions. 1757c5bc9aSZhangfei Gao 1857c5bc9aSZhangfei Gaoif NET_VENDOR_HISILICON 1957c5bc9aSZhangfei Gao 2057c5bc9aSZhangfei Gaoconfig HIX5HD2_GMAC 2157c5bc9aSZhangfei Gao tristate "Hisilicon HIX5HD2 Family Network Device Support" 2257c5bc9aSZhangfei Gao select PHYLIB 2357c5bc9aSZhangfei Gao help 2457c5bc9aSZhangfei Gao This selects the hix5hd2 mac family network device. 2557c5bc9aSZhangfei Gao 26542ae60aSDongpo Liconfig HISI_FEMAC 27542ae60aSDongpo Li tristate "Hisilicon Fast Ethernet MAC device support" 28542ae60aSDongpo Li depends on HAS_IOMEM 29542ae60aSDongpo Li select PHYLIB 30542ae60aSDongpo Li select RESET_CONTROLLER 31542ae60aSDongpo Li help 32542ae60aSDongpo Li This selects the Hisilicon Fast Ethernet MAC device(FEMAC). 33542ae60aSDongpo Li The FEMAC receives and transmits data over Ethernet 34542ae60aSDongpo Li ports at 10/100 Mbps in full-duplex or half-duplex mode. 35542ae60aSDongpo Li The FEMAC exchanges data with the CPU, and supports 36542ae60aSDongpo Li the energy efficient Ethernet (EEE). 37542ae60aSDongpo Li 384a841ee9SZhangfei Gaoconfig HIP04_ETH 394a841ee9SZhangfei Gao tristate "HISILICON P04 Ethernet support" 40979d804eSKrzysztof Kozlowski depends on HAS_IOMEM # For MFD_SYSCON 414a841ee9SZhangfei Gao select MARVELL_PHY 424a841ee9SZhangfei Gao select MFD_SYSCON 435b904d39Shuangdaode select HNS_MDIO 444a841ee9SZhangfei Gao ---help--- 454a841ee9SZhangfei Gao If you wish to compile a kernel for a hardware with hisilicon p04 SoC and 464a841ee9SZhangfei Gao want to use the internal ethernet then you should answer Y to this. 474a841ee9SZhangfei Gao 485b904d39Shuangdaodeconfig HNS_MDIO 490fa28877SArnd Bergmann tristate 500fa28877SArnd Bergmann select PHYLIB 515b904d39Shuangdaode ---help--- 525b904d39Shuangdaode This selects the HNS MDIO support. It is needed by HNS_DSAF to access 535b904d39Shuangdaode the PHY 545b904d39Shuangdaode 556fe6611fShuangdaodeconfig HNS 566fe6611fShuangdaode tristate "Hisilicon Network Subsystem Support (Framework)" 576fe6611fShuangdaode ---help--- 586fe6611fShuangdaode This selects the framework support for Hisilicon Network Subsystem. It 596fe6611fShuangdaode is needed by any driver which provides HNS acceleration engine or make 606fe6611fShuangdaode use of the engine 616fe6611fShuangdaode 62511e6bc0Shuangdaodeconfig HNS_DSAF 63511e6bc0Shuangdaode tristate "Hisilicon HNS DSAF device Support" 64511e6bc0Shuangdaode select HNS 65511e6bc0Shuangdaode select HNS_MDIO 66511e6bc0Shuangdaode ---help--- 67511e6bc0Shuangdaode This selects the DSAF (Distributed System Area Frabric) network 68511e6bc0Shuangdaode acceleration engine support. The engine is used in Hisilicon hip05, 69511e6bc0Shuangdaode Hi1610 and further ICT SoC 70511e6bc0Shuangdaode 71b5996f11Shuangdaodeconfig HNS_ENET 72b5996f11Shuangdaode tristate "Hisilicon HNS Ethernet Device Support" 73b5996f11Shuangdaode select PHYLIB 74b5996f11Shuangdaode select HNS 75b5996f11Shuangdaode ---help--- 76b5996f11Shuangdaode This selects the general ethernet driver for HNS. This module make 77b5996f11Shuangdaode use of any HNS AE driver, such as HNS_DSAF 78b5996f11Shuangdaode 7915e8e5ffSSalilconfig HNS3 8015e8e5ffSSalil tristate "Hisilicon Network Subsystem Support HNS3 (Framework)" 8115e8e5ffSSalil depends on PCI 8215e8e5ffSSalil ---help--- 8315e8e5ffSSalil This selects the framework support for Hisilicon Network Subsystem 3. 8415e8e5ffSSalil This layer facilitates clients like ENET, RoCE and user-space ethernet 8515e8e5ffSSalil drivers(like ODP)to register with HNAE devices and their associated 8615e8e5ffSSalil operations. 8715e8e5ffSSalil 8815e8e5ffSSalilconfig HNS3_HCLGE 8915e8e5ffSSalil tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support" 9015e8e5ffSSalil depends on PCI_MSI 9115e8e5ffSSalil depends on HNS3 9215e8e5ffSSalil ---help--- 9315e8e5ffSSalil This selects the HNS3_HCLGE network acceleration engine & its hardware 9415e8e5ffSSalil compatibility layer. The engine would be used in Hisilicon hip08 family of 9515e8e5ffSSalil SoCs and further upcoming SoCs. 9615e8e5ffSSalil 9715e8e5ffSSalilconfig HNS3_ENET 9815e8e5ffSSalil tristate "Hisilicon HNS3 Ethernet Device Support" 9915e8e5ffSSalil depends on 64BIT && PCI 10015e8e5ffSSalil depends on HNS3 && HNS3_HCLGE 10115e8e5ffSSalil ---help--- 10215e8e5ffSSalil This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08 10315e8e5ffSSalil family of SoCs. This module depends upon HNAE3 driver to access the HNAE3 10415e8e5ffSSalil devices and their associated operations. 10515e8e5ffSSalil 106cacde272SYunsheng Linconfig HNS3_DCB 107cacde272SYunsheng Lin bool "Hisilicon HNS3 Data Center Bridge Support" 108cacde272SYunsheng Lin default n 109cacde272SYunsheng Lin depends on HNS3 && HNS3_HCLGE && DCB 110cacde272SYunsheng Lin ---help--- 111cacde272SYunsheng Lin Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver. 112cacde272SYunsheng Lin 113cacde272SYunsheng Lin If unsure, say N. 114cacde272SYunsheng Lin 11557c5bc9aSZhangfei Gaoendif # NET_VENDOR_HISILICON 116