Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[linux-2.6-block.git] / drivers / net / ethernet / hisilicon / Kconfig
CommitLineData
57c5bc9a
ZG
1#
2# HISILICON device configuration
3#
4
5config NET_VENDOR_HISILICON
6 bool "Hisilicon devices"
7 default y
3870502a
GU
8 depends on OF && HAS_DMA
9 depends on ARM || ARM64 || COMPILE_TEST
57c5bc9a 10 ---help---
138b15ed 11 If you have a network (Ethernet) card belonging to this class, say Y.
57c5bc9a
ZG
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
18if NET_VENDOR_HISILICON
19
20config 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
4a841ee9
ZG
26config HIP04_ETH
27 tristate "HISILICON P04 Ethernet support"
4a841ee9
ZG
28 select MARVELL_PHY
29 select MFD_SYSCON
5b904d39 30 select HNS_MDIO
4a841ee9
ZG
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
5b904d39 35config HNS_MDIO
0fa28877
AB
36 tristate
37 select PHYLIB
5b904d39 38 ---help---
39 This selects the HNS MDIO support. It is needed by HNS_DSAF to access
40 the PHY
41
6fe6611f 42config 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
511e6bc0 49config 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
b5996f11 58config 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
57c5bc9a 66endif # NET_VENDOR_HISILICON