Zhangfei Gao | 57c5bc9 | 2014-06-03 13:49:37 +0800 | [diff] [blame] | 1 | # |
| 2 | # HISILICON device configuration |
| 3 | # |
| 4 | |
| 5 | config NET_VENDOR_HISILICON |
| 6 | bool "Hisilicon devices" |
| 7 | default y |
Geert Uytterhoeven | 3870502 | 2015-11-09 10:34:30 +0100 | [diff] [blame] | 8 | depends on OF && HAS_DMA |
| 9 | depends on ARM || ARM64 || COMPILE_TEST |
Zhangfei Gao | 57c5bc9 | 2014-06-03 13:49:37 +0800 | [diff] [blame] | 10 | ---help--- |
Paul Gortmaker | 138b15e | 2015-06-21 16:28:02 -0400 | [diff] [blame] | 11 | If you have a network (Ethernet) card belonging to this class, say Y. |
Zhangfei Gao | 57c5bc9 | 2014-06-03 13:49:37 +0800 | [diff] [blame] | 12 | |
| 13 | Note that the answer to this question doesn't directly affect the |
| 14 | kernel: saying N will just cause the configurator to skip all |
| 15 | the questions about Hisilicon devices. If you say Y, you will be asked |
| 16 | for your specific card in the following questions. |
| 17 | |
| 18 | if NET_VENDOR_HISILICON |
| 19 | |
| 20 | config HIX5HD2_GMAC |
| 21 | tristate "Hisilicon HIX5HD2 Family Network Device Support" |
| 22 | select PHYLIB |
| 23 | help |
| 24 | This selects the hix5hd2 mac family network device. |
| 25 | |
Zhangfei Gao | 4a841ee | 2015-01-14 14:34:13 +0800 | [diff] [blame] | 26 | config HIP04_ETH |
| 27 | tristate "HISILICON P04 Ethernet support" |
Zhangfei Gao | 4a841ee | 2015-01-14 14:34:13 +0800 | [diff] [blame] | 28 | select MARVELL_PHY |
| 29 | select MFD_SYSCON |
huangdaode | 5b904d3 | 2015-09-17 14:51:47 +0800 | [diff] [blame] | 30 | select HNS_MDIO |
Zhangfei Gao | 4a841ee | 2015-01-14 14:34:13 +0800 | [diff] [blame] | 31 | ---help--- |
| 32 | If you wish to compile a kernel for a hardware with hisilicon p04 SoC and |
| 33 | want to use the internal ethernet then you should answer Y to this. |
| 34 | |
huangdaode | 5b904d3 | 2015-09-17 14:51:47 +0800 | [diff] [blame] | 35 | config HNS_MDIO |
Arnd Bergmann | 0fa2887 | 2015-10-09 14:53:54 +0200 | [diff] [blame] | 36 | tristate |
| 37 | select PHYLIB |
huangdaode | 5b904d3 | 2015-09-17 14:51:47 +0800 | [diff] [blame] | 38 | ---help--- |
| 39 | This selects the HNS MDIO support. It is needed by HNS_DSAF to access |
| 40 | the PHY |
| 41 | |
huangdaode | 6fe6611 | 2015-09-17 14:51:48 +0800 | [diff] [blame] | 42 | config HNS |
| 43 | tristate "Hisilicon Network Subsystem Support (Framework)" |
| 44 | ---help--- |
| 45 | This selects the framework support for Hisilicon Network Subsystem. It |
| 46 | is needed by any driver which provides HNS acceleration engine or make |
| 47 | use of the engine |
| 48 | |
huangdaode | 511e6bc | 2015-09-17 14:51:49 +0800 | [diff] [blame] | 49 | config HNS_DSAF |
| 50 | tristate "Hisilicon HNS DSAF device Support" |
| 51 | select HNS |
| 52 | select HNS_MDIO |
| 53 | ---help--- |
| 54 | This selects the DSAF (Distributed System Area Frabric) network |
| 55 | acceleration engine support. The engine is used in Hisilicon hip05, |
| 56 | Hi1610 and further ICT SoC |
| 57 | |
huangdaode | b5996f1 | 2015-09-17 14:51:50 +0800 | [diff] [blame] | 58 | config HNS_ENET |
| 59 | tristate "Hisilicon HNS Ethernet Device Support" |
| 60 | select PHYLIB |
| 61 | select HNS |
| 62 | ---help--- |
| 63 | This selects the general ethernet driver for HNS. This module make |
| 64 | use of any HNS AE driver, such as HNS_DSAF |
| 65 | |
Zhangfei Gao | 57c5bc9 | 2014-06-03 13:49:37 +0800 | [diff] [blame] | 66 | endif # NET_VENDOR_HISILICON |