Kconfig 1.8 KB

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