Kconfig 2.0 KB

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