aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ibm_newemac/Kconfig
blob: a2490452a80698fb2cdd1b5eb16ec7ede844ddfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
config IBM_NEW_EMAC
	tristate "IBM EMAC Ethernet support"
	depends on PPC_DCR
	select CRC32
	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.

config IBM_NEW_EMAC_RXB
	int "Number of receive buffers"
	depends on IBM_NEW_EMAC
	default "128"

config IBM_NEW_EMAC_TXB
	int "Number of transmit buffers"
	depends on IBM_NEW_EMAC
	default "64"

config IBM_NEW_EMAC_POLL_WEIGHT
	int "MAL NAPI polling weight"
	depends on IBM_NEW_EMAC
	default "32"

config IBM_NEW_EMAC_RX_COPY_THRESHOLD
	int "RX skb copy threshold (bytes)"
	depends on IBM_NEW_EMAC
	default "256"

config IBM_EMAC_MAL_QOS_V404
	bool "VLAN QOS support"
	depends on IBM_NEW_EMAC && 460SX
	select VLAN_8021Q
	help
	  When selected the VLAN QOS support will be enabled.	

config IBM_NEW_EMAC_RX_SKB_HEADROOM
	int "Additional RX skb headroom (bytes)"
	depends on IBM_NEW_EMAC
	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.

config IBM_NEW_EMAC_MASK_CEXT
	bool "Mask Carrier Extension signals"
	depends on IBM_NEW_EMAC && APM82181
	default n
	help
	  During normal idle TX, continously send dummy packets to mask 
	  the Carrier Extension signals. This creates a separate BD 
	  specifically for this purpose.

	  If unsure, set to N.

config IBM_NEW_EMAC_DEBUG
	bool "Debugging"
	depends on IBM_NEW_EMAC
	default n

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

config IBM_NEW_EMAC_ZMII
	bool
	default n

config IBM_NEW_EMAC_RGMII
	bool
	default n

config IBM_NEW_EMAC_TAH
	bool
	default n

config IBM_NEW_EMAC_EMAC4
	bool
	default n

config IBM_NEW_EMAC_INTR_COALESCE
	bool "Hardware Interrupt coalescing"
	depends on IBM_NEW_EMAC && (460EX || 460GT || 405EX || 460SX || APM82181)
	default y
	help
	  When selected the Ethernet interrupt coalescing is selected.

config IBM_NEW_EMAC_TX_COAL_COUNT
	int "TX Coalescence frame count (packets)"
	depends on IBM_NEW_EMAC_INTR_COALESCE
	default "16"

config IBM_NEW_EMAC_TX_COAL_TIMER
	int "TX Coalescence timer (clock ticks)"
	depends on IBM_NEW_EMAC_INTR_COALESCE
	default "1000000"

config IBM_NEW_EMAC_RX_COAL_COUNT
	int "RX Coalescence frame count (packets)"
	depends on IBM_NEW_EMAC_INTR_COALESCE
	default "1"

config IBM_NEW_EMAC_RX_COAL_TIMER
	int "RX Coalescence timer (clock ticks)"
	depends on IBM_NEW_EMAC_INTR_COALESCE
	default "1000000"

config IBM_NEW_EMAC_NO_FLOW_CTRL
	bool
	default n

config IBM_NEW_EMAC_MAL_CLR_ICINTSTAT
	bool
	default n

config IBM_NEW_EMAC_MAL_COMMON_ERR
	bool
	default n

config IBM_NEW_EMAC_SYSFS
	bool "sysfs support for IBM NEW EMAC"
        depends on IBM_NEW_EMAC
        default y
        help
          When selected, IBM NEW EMAC parameters are exported 
	  via /sys interface