Kconfig 1.4 KB
Newer Older
J
Jeff Kirsher 已提交
1
config IBM_EMAC
D
David Gibson 已提交
2
	tristate "IBM EMAC Ethernet support"
3
	depends on PPC_DCR
4
	select CRC32
D
David Gibson 已提交
5 6 7 8 9
	help
	  This driver supports the IBM EMAC family of Ethernet controllers
	  typically found on 4xx embedded PowerPC chips, but also on the
	  Axon southbridge for Cell.

J
Jeff Kirsher 已提交
10
config IBM_EMAC_RXB
D
David Gibson 已提交
11
	int "Number of receive buffers"
J
Jeff Kirsher 已提交
12
	depends on IBM_EMAC
D
David Gibson 已提交
13 14
	default "128"

J
Jeff Kirsher 已提交
15
config IBM_EMAC_TXB
D
David Gibson 已提交
16
	int "Number of transmit buffers"
J
Jeff Kirsher 已提交
17
	depends on IBM_EMAC
D
David Gibson 已提交
18 19
	default "64"

J
Jeff Kirsher 已提交
20
config IBM_EMAC_POLL_WEIGHT
D
David Gibson 已提交
21
	int "MAL NAPI polling weight"
J
Jeff Kirsher 已提交
22
	depends on IBM_EMAC
D
David Gibson 已提交
23 24
	default "32"

J
Jeff Kirsher 已提交
25
config IBM_EMAC_RX_COPY_THRESHOLD
D
David Gibson 已提交
26
	int "RX skb copy threshold (bytes)"
J
Jeff Kirsher 已提交
27
	depends on IBM_EMAC
D
David Gibson 已提交
28 29
	default "256"

J
Jeff Kirsher 已提交
30
config IBM_EMAC_RX_SKB_HEADROOM
D
David Gibson 已提交
31
	int "Additional RX skb headroom (bytes)"
J
Jeff Kirsher 已提交
32
	depends on IBM_EMAC
D
David Gibson 已提交
33 34 35 36 37 38 39 40 41
	default "0"
	help
	  Additional receive skb headroom. Note, that driver
	  will always reserve at least 2 bytes to make IP header
	  aligned, so usually there is no need to add any additional
	  headroom.

	  If unsure, set to 0.

J
Jeff Kirsher 已提交
42
config IBM_EMAC_DEBUG
D
David Gibson 已提交
43
	bool "Debugging"
J
Jeff Kirsher 已提交
44
	depends on IBM_EMAC
D
David Gibson 已提交
45 46 47 48 49
	default n

# The options below has to be select'ed by the respective
# processor types or platforms

J
Jeff Kirsher 已提交
50
config IBM_EMAC_ZMII
D
David Gibson 已提交
51 52 53
	bool
	default n

J
Jeff Kirsher 已提交
54
config IBM_EMAC_RGMII
D
David Gibson 已提交
55 56 57
	bool
	default n

J
Jeff Kirsher 已提交
58
config IBM_EMAC_TAH
D
David Gibson 已提交
59 60 61
	bool
	default n

J
Jeff Kirsher 已提交
62
config IBM_EMAC_EMAC4
D
David Gibson 已提交
63 64
	bool
	default n
65

J
Jeff Kirsher 已提交
66
config IBM_EMAC_NO_FLOW_CTRL
67 68
	bool
	default n
69

J
Jeff Kirsher 已提交
70
config IBM_EMAC_MAL_CLR_ICINTSTAT
71 72 73
	bool
	default n

J
Jeff Kirsher 已提交
74
config IBM_EMAC_MAL_COMMON_ERR
75 76
	bool
	default n