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