Kconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 NET_CORE
  22. select MII
  23. select PHYLIB
  24. select BFIN_MAC_USE_L1 if DMA_UNCACHED_NONE
  25. ---help---
  26. This is the driver for Blackfin on-chip mac device. Say Y if you want
  27. it compiled into the kernel. This driver is also available as a
  28. module ( = code which can be inserted in and removed from the running
  29. kernel whenever you want). The module will be called bfin_mac.
  30. config BFIN_MAC_USE_L1
  31. bool "Use L1 memory for rx/tx packets"
  32. depends on BFIN_MAC && (BF527 || BF537)
  33. default y
  34. ---help---
  35. To get maximum network performance, you should use L1 memory as rx/tx
  36. buffers. Say N here if you want to reserve L1 memory for other uses.
  37. config BFIN_TX_DESC_NUM
  38. int "Number of transmit buffer packets"
  39. depends on BFIN_MAC
  40. range 6 10 if BFIN_MAC_USE_L1
  41. range 10 100
  42. default "10"
  43. ---help---
  44. Set the number of buffer packets used in driver.
  45. config BFIN_RX_DESC_NUM
  46. int "Number of receive buffer packets"
  47. depends on BFIN_MAC
  48. range 20 100 if BFIN_MAC_USE_L1
  49. range 20 800
  50. default "20"
  51. ---help---
  52. Set the number of buffer packets used in driver.
  53. config BFIN_MAC_USE_HWSTAMP
  54. bool "Use IEEE 1588 hwstamp"
  55. depends on BFIN_MAC && BF518
  56. default y
  57. ---help---
  58. To support the IEEE 1588 Precision Time Protocol (PTP), select y here
  59. endif # NET_BFIN