bfin_mac: convert bfin Ethernet driver to NAPI framework
[deliverable/linux.git] / drivers / net / ethernet / adi / Kconfig
CommitLineData
7b35f033
JK
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 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
20if NET_BFIN
21
22config BFIN_MAC
23 tristate "Blackfin on-chip MAC support"
24 depends on (BF516 || BF518 || BF526 || BF527 || BF536 || BF537)
25 select CRC32
26 select MII
27 select PHYLIB
28 select BFIN_MAC_USE_L1 if DMA_UNCACHED_NONE
29 ---help---
30 This is the driver for Blackfin on-chip mac device. Say Y if you want
31 it compiled into the kernel. This driver is also available as a
32 module ( = code which can be inserted in and removed from the running
33 kernel whenever you want). The module will be called bfin_mac.
34
35config BFIN_MAC_USE_L1
36 bool "Use L1 memory for rx/tx packets"
37 depends on BFIN_MAC && (BF527 || BF537)
38 default y
39 ---help---
40 To get maximum network performance, you should use L1 memory as rx/tx
41 buffers. Say N here if you want to reserve L1 memory for other uses.
42
43config BFIN_TX_DESC_NUM
44 int "Number of transmit buffer packets"
45 depends on BFIN_MAC
46 range 6 10 if BFIN_MAC_USE_L1
47 range 10 100
48 default "10"
49 ---help---
50 Set the number of buffer packets used in driver.
51
52config BFIN_RX_DESC_NUM
53 int "Number of receive buffer packets"
54 depends on BFIN_MAC
159945af 55 range 20 64
7b35f033
JK
56 default "20"
57 ---help---
58 Set the number of buffer packets used in driver.
59
60config BFIN_MAC_USE_HWSTAMP
61 bool "Use IEEE 1588 hwstamp"
ec82f94c 62 depends on BFIN_MAC && BF518
70ac618c 63 select PTP_1588_CLOCK
7b35f033
JK
64 default y
65 ---help---
66 To support the IEEE 1588 Precision Time Protocol (PTP), select y here
67
68endif # NET_BFIN
This page took 0.351029 seconds and 5 git commands to generate.