-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathKconfig
134 lines (101 loc) · 2.37 KB
/
Kconfig
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
130
131
132
133
134
mainmenu "Fejkon bitstream configuration"
config FEJKON
bool
# Always enabled features
select SFP_PORTS
default y
config HAVE_ETHERNET
bool
config SFP_PORTS
bool "SFP+ Ports"
# Port 0 is always enabled, and FC is the only supported option right now
choice PORT0
bool "Port 0"
default PORT0_FC
depends on SFP_PORTS
config PORT0_FC
bool "Fibre Channel"
endchoice
choice PORT1
bool "Port 1"
default PORT1_DISABLED
depends on SFP_PORTS
config PORT1_DISABLED
bool "Disabled"
config PORT1_FC
bool "Fibre Channel"
endchoice
# The two last ports can be configured as FC or Ethernet
choice PORT2
bool "Port 2"
default PORT2_DISABLED
depends on SFP_PORTS
config PORT2_DISABLED
bool "Disabled"
config PORT2_FC
bool "Fibre Channel"
depends on PORT1_FC
config PORT2_ETHERNET
bool "Ethernet"
depends on PORT0_FC
select HAVE_ETHERNET
help
Enable Ethernet TX/RX bridging of Fibre Channel frames.
This port will be connected to Port 0.
endchoice
choice PORT3
bool "Port 3"
default PORT3_DISABLED
depends on SFP_PORTS
config PORT3_DISABLED
bool "Disabled"
config PORT3_FC
bool "Fibre Channel"
depends on PORT2_FC
config PORT3_ETHERNET
bool "Ethernet"
depends on PORT1_FC
select HAVE_ETHERNET
help
Enable Ethernet TX/RX bridging of Fibre Channel frames.
This port will be connected to Port 1.
endchoice
config LOOPBACK_01
bool "Loopback port 0 and port 1"
depends on SFP_PORTS
depends on PORT0_FC
depends on PORT1_FC
config AGGRESSIVE_OPT
bool "Optimize aggressively for performance when building"
config STP
bool "Enable SignalTap analyzer"
config STP_PCIE_TLP_TX
depends on STP
bool "Enable PCIe TLP TX instance"
config STP_PCIE_TLP_RX
depends on STP
bool "Enable PCIe TLP RX instance"
config STP_PCIE_C2H
depends on STP
bool "Enable PCIe C2H DMA instance"
config STP_FC_STREAM
depends on STP
bool "Enable FC stream instance"
config STP_FC0_TX
depends on STP
bool "Enable FC port 0 TX instance"
config STP_FC0_RX
depends on STP
bool "Enable FC port 0 RX instance"
config STP_FC0_XCVR_RX
depends on STP
bool "Enable FC port 0 transceiver RX instance"
config STP_FC1_TX
depends on STP
bool "Enable FC port 1 TX instance"
config STP_FC1_RX
depends on STP
bool "Enable FC port 1 RX instance"
config STP_FC1_XCVR_RX
depends on STP
bool "Enable FC port 1 transceiver RX instance"