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