Kconfig 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. #
  2. # HISILICON device configuration
  3. #
  4. config NET_VENDOR_HISILICON
  5. bool "Hisilicon devices"
  6. default y
  7. depends on (OF || ACPI) && 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 HISI_FEMAC
  22. tristate "Hisilicon Fast Ethernet MAC device support"
  23. depends on HAS_IOMEM
  24. select PHYLIB
  25. select RESET_CONTROLLER
  26. help
  27. This selects the Hisilicon Fast Ethernet MAC device(FEMAC).
  28. The FEMAC receives and transmits data over Ethernet
  29. ports at 10/100 Mbps in full-duplex or half-duplex mode.
  30. The FEMAC exchanges data with the CPU, and supports
  31. the energy efficient Ethernet (EEE).
  32. config HIP04_ETH
  33. tristate "HISILICON P04 Ethernet support"
  34. depends on HAS_IOMEM # For MFD_SYSCON
  35. select MARVELL_PHY
  36. select MFD_SYSCON
  37. select HNS_MDIO
  38. ---help---
  39. If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
  40. want to use the internal ethernet then you should answer Y to this.
  41. config HNS_MDIO
  42. tristate
  43. select PHYLIB
  44. ---help---
  45. This selects the HNS MDIO support. It is needed by HNS_DSAF to access
  46. the PHY
  47. config HNS
  48. tristate "Hisilicon Network Subsystem Support (Framework)"
  49. ---help---
  50. This selects the framework support for Hisilicon Network Subsystem. It
  51. is needed by any driver which provides HNS acceleration engine or make
  52. use of the engine
  53. config HNS_DSAF
  54. tristate "Hisilicon HNS DSAF device Support"
  55. select HNS
  56. select HNS_MDIO
  57. ---help---
  58. This selects the DSAF (Distributed System Area Frabric) network
  59. acceleration engine support. The engine is used in Hisilicon hip05,
  60. Hi1610 and further ICT SoC
  61. config HNS_ENET
  62. tristate "Hisilicon HNS Ethernet Device Support"
  63. select PHYLIB
  64. select HNS
  65. ---help---
  66. This selects the general ethernet driver for HNS. This module make
  67. use of any HNS AE driver, such as HNS_DSAF
  68. endif # NET_VENDOR_HISILICON