Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #
  2. # Blackfin device configuration
  3. #
  4. config NET_BFIN
  5. bool "Blackfin devices"
  6. depends on BF516 || BF518 || BF526 || BF527 || BF536 || BF537
  7. ---help---
  8. If you have a network (Ethernet) card belonging to this class, say Y.
  9. If unsure, say Y.
  10. Note that the answer to this question doesn't directly affect the
  11. kernel: saying N will just cause the configurator to skip all
  12. the remaining Blackfin card questions. If you say Y, you will be
  13. asked for your specific card in the following questions.
  14. if NET_BFIN
  15. config BFIN_MAC
  16. tristate "Blackfin on-chip MAC support"
  17. depends on (BF516 || BF518 || BF526 || BF527 || BF536 || BF537)
  18. select CRC32
  19. select MII
  20. select PHYLIB
  21. select BFIN_MAC_USE_L1 if DMA_UNCACHED_NONE
  22. ---help---
  23. This is the driver for Blackfin on-chip mac device. Say Y if you want
  24. it compiled into the kernel. This driver is also available as a
  25. module ( = code which can be inserted in and removed from the running
  26. kernel whenever you want). The module will be called bfin_mac.
  27. config BFIN_MAC_USE_L1
  28. bool "Use L1 memory for rx/tx packets"
  29. depends on BFIN_MAC && (BF527 || BF537)
  30. default y
  31. ---help---
  32. To get maximum network performance, you should use L1 memory as rx/tx
  33. buffers. Say N here if you want to reserve L1 memory for other uses.
  34. config BFIN_TX_DESC_NUM
  35. int "Number of transmit buffer packets"
  36. depends on BFIN_MAC
  37. range 6 10 if BFIN_MAC_USE_L1
  38. range 10 100
  39. default "10"
  40. ---help---
  41. Set the number of buffer packets used in driver.
  42. config BFIN_RX_DESC_NUM
  43. int "Number of receive buffer packets"
  44. depends on BFIN_MAC
  45. range 20 64
  46. default "20"
  47. ---help---
  48. Set the number of buffer packets used in driver.
  49. config BFIN_MAC_USE_HWSTAMP
  50. bool "Use IEEE 1588 hwstamp"
  51. depends on BFIN_MAC && BF518
  52. select PTP_1588_CLOCK
  53. default y
  54. ---help---
  55. To support the IEEE 1588 Precision Time Protocol (PTP), select y here
  56. endif # NET_BFIN