2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2014-06-03 13:49:37 +08:00
|
|
|
#
|
|
|
|
# HISILICON device configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
config NET_VENDOR_HISILICON
|
|
|
|
bool "Hisilicon devices"
|
|
|
|
default y
|
2018-06-22 19:08:43 +08:00
|
|
|
depends on OF || ACPI
|
2015-11-09 17:34:30 +08:00
|
|
|
depends on ARM || ARM64 || COMPILE_TEST
|
2014-06-03 13:49:37 +08:00
|
|
|
---help---
|
2015-06-22 04:28:02 +08:00
|
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
2014-06-03 13:49:37 +08:00
|
|
|
|
|
|
|
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 NET_VENDOR_HISILICON
|
|
|
|
|
|
|
|
config HIX5HD2_GMAC
|
|
|
|
tristate "Hisilicon HIX5HD2 Family Network Device Support"
|
|
|
|
select PHYLIB
|
|
|
|
help
|
|
|
|
This selects the hix5hd2 mac family network device.
|
|
|
|
|
2016-07-15 16:26:35 +08:00
|
|
|
config HISI_FEMAC
|
|
|
|
tristate "Hisilicon Fast Ethernet MAC device support"
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
select PHYLIB
|
|
|
|
select RESET_CONTROLLER
|
|
|
|
help
|
|
|
|
This selects the Hisilicon Fast Ethernet MAC 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).
|
|
|
|
|
2015-01-14 14:34:13 +08:00
|
|
|
config HIP04_ETH
|
|
|
|
tristate "HISILICON P04 Ethernet support"
|
2016-03-04 09:04:52 +08:00
|
|
|
depends on HAS_IOMEM # For MFD_SYSCON
|
2015-01-14 14:34:13 +08:00
|
|
|
select MARVELL_PHY
|
|
|
|
select MFD_SYSCON
|
2015-09-17 14:51:47 +08:00
|
|
|
select HNS_MDIO
|
2015-01-14 14:34:13 +08:00
|
|
|
---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.
|
|
|
|
|
2019-07-09 11:31:02 +08:00
|
|
|
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.
|
|
|
|
|
2015-09-17 14:51:47 +08:00
|
|
|
config HNS_MDIO
|
2015-10-09 20:53:54 +08:00
|
|
|
tristate
|
|
|
|
select PHYLIB
|
2015-09-17 14:51:47 +08:00
|
|
|
---help---
|
|
|
|
This selects the HNS MDIO support. It is needed by HNS_DSAF to access
|
|
|
|
the PHY
|
|
|
|
|
2015-09-17 14:51:48 +08:00
|
|
|
config HNS
|
|
|
|
tristate "Hisilicon Network Subsystem Support (Framework)"
|
|
|
|
---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
|
|
|
|
|
2015-09-17 14:51:49 +08:00
|
|
|
config HNS_DSAF
|
|
|
|
tristate "Hisilicon HNS DSAF device Support"
|
|
|
|
select HNS
|
|
|
|
select HNS_MDIO
|
|
|
|
---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
|
|
|
|
|
2015-09-17 14:51:50 +08:00
|
|
|
config HNS_ENET
|
|
|
|
tristate "Hisilicon HNS Ethernet Device Support"
|
|
|
|
select PHYLIB
|
|
|
|
select HNS
|
|
|
|
---help---
|
|
|
|
This selects the general ethernet driver for HNS. This module make
|
|
|
|
use of any HNS AE driver, such as HNS_DSAF
|
|
|
|
|
2017-08-02 23:59:52 +08:00
|
|
|
config HNS3
|
|
|
|
tristate "Hisilicon Network Subsystem Support HNS3 (Framework)"
|
2017-10-09 15:43:57 +08:00
|
|
|
depends on PCI
|
2017-08-02 23:59:52 +08:00
|
|
|
---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.
|
|
|
|
|
2018-07-02 15:50:24 +08:00
|
|
|
if HNS3
|
|
|
|
|
2017-08-02 23:59:52 +08:00
|
|
|
config HNS3_HCLGE
|
|
|
|
tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support"
|
2018-07-02 15:50:24 +08:00
|
|
|
default m
|
2017-10-09 15:43:57 +08:00
|
|
|
depends on PCI_MSI
|
2017-08-02 23:59:52 +08:00
|
|
|
---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.
|
|
|
|
|
2017-09-27 09:45:29 +08:00
|
|
|
config HNS3_DCB
|
|
|
|
bool "Hisilicon HNS3 Data Center Bridge Support"
|
|
|
|
default n
|
2018-07-02 15:50:24 +08:00
|
|
|
depends on HNS3_HCLGE && DCB
|
2017-09-27 09:45:29 +08:00
|
|
|
---help---
|
|
|
|
Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2017-12-15 02:03:05 +08:00
|
|
|
config HNS3_HCLGEVF
|
2018-07-02 15:50:24 +08:00
|
|
|
tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support"
|
|
|
|
depends on PCI_MSI
|
2017-12-15 02:03:05 +08:00
|
|
|
depends on HNS3_HCLGE
|
|
|
|
---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.
|
|
|
|
|
|
|
|
config HNS3_ENET
|
|
|
|
tristate "Hisilicon HNS3 Ethernet Device Support"
|
2018-07-02 15:50:24 +08:00
|
|
|
default m
|
2017-12-15 02:03:05 +08:00
|
|
|
depends on 64BIT && PCI
|
2018-12-11 04:44:34 +08:00
|
|
|
depends on INET
|
2017-12-15 02:03:05 +08:00
|
|
|
---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.
|
|
|
|
|
2018-07-02 15:50:24 +08:00
|
|
|
endif #HNS3
|
|
|
|
|
2014-06-03 13:49:37 +08:00
|
|
|
endif # NET_VENDOR_HISILICON
|