blob: e90cb13312264bad3d3c1d1cdc8fe41252bae656 (
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
|
menuconfig RTL_819X_SWCORE
bool "Options for Realtek SoC"
depends on NET && RTL_819X
default y
---help---
You can say N here if you don't intend to use Realtek 819X SoC at all.
You'll have to say Y if only 819X Soc is used for your router.
If unsure, say Y.
#config RTL865XC
# bool
# default y
if RTL_819X_SWCORE
config DEFAULTS_KERNEL_2_6
bool
default y
config NEW_PCI
bool
default y
depends on PCI
config RTL_IGMP_PROXY
bool
default y
config RTL_IGMP_SNOOPING
bool
default y
config RTL_MLD_SNOOPING
bool
default y
depends on RTL_IGMP_SNOOPING
config RTL_LINKCHG_PROCESS
bool
default y
menu "Config MIPS16-Inst Option for Kernel Modules"
config RTL865X_KERNEL_MIPS16
bool "Enable MIPS16 Encoding for Linux Kernel"
default n
depends on RTL_819X
comment "Config Optional MIPS16-Inst Option for Kernel Modules"
config RTL865X_KERNEL_MIPS16_CRYPTO
bool "Enable MIPS16 Encoding for crypto module(linux-2.x.x/crypto)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_FS
bool "Enable MIPS16 Encoding for fs module(linux-2.x.x/fs)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_IPC
bool "Enable MIPS16 Encoding for ipc module(linux-2.x.x/ipc)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_KERNEL
bool "Enable MIPS16 Encoding for core module(linux-2.x.x/kernel)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_LIB
bool "Enable MIPS16 Encoding for lib module(linux-2.x.x/lib)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_MM
bool "Enable MIPS16 Encoding for mm module(linux-2.x.x/mm)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_NET
bool "Enable MIPS16 Encoding for net module(linux-2.x.x/net)"
default n
depends on RTL865X_KERNEL_MIPS16
comment "Config Optional MIPS16-Inst Option for Device Drivers"
config RTL865X_KERNEL_MIPS16_MTD
bool "Enable MIPS16 Encoding for mtd module(linux-2.x.x/drivers/mtd)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_LAYERDRIVER
bool "Enable MIPS16 Encoding for lan module(linux-2.x.x/drivers/net/re865x)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_WLAN
bool "Enable MIPS16 Encoding for wlan module(linux-2.x.x/drivers/net/wirless/rtl8190)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_PCI
bool "Enable MIPS16 Encoding for pci module(linux-2.x.x/drivers/pci)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_CHAR
bool "Enable MIPS16 Encoding for char module(linux-2.x.x/drivers/char)"
default n
depends on RTL865X_KERNEL_MIPS16
config RTL865X_KERNEL_MIPS16_BLOCK
bool "Enable MIPS16 Encoding for block module(linux-2.x.x/drivers/block)"
default n
depends on RTL865X_KERNEL_MIPS16
endmenu
menu "Config for Layered Driver Features"
config RTL_LAYERED_DRIVER
bool
default y
depends on RTL_819X
config RTL_LAYERED_ASIC_DRIVER
bool
default n
depends on RTL_LAYERED_DRIVER
config RTL_LAYERED_ASIC_DRIVER_L3
bool
default n
depends on RTL_LAYERED_ASIC_DRIVER
config RTL_LAYERED_ASIC_DRIVER_L4
bool
default n
depends on RTL_LAYERED_ASIC_DRIVER
depends on RTL_8198 || RTL_8196CT || RTL_8198T
config RTL_LAYERED_DRIVER_ACL
bool
default n
depends on RTL_LAYERED_DRIVER
config RTL_LAYERED_DRIVER_L2
bool
default n
depends on RTL_LAYERED_DRIVER
config RTL_HW_QOS_SUPPORT
bool
default n
depends on RTL_LAYERED_DRIVER
depends on RTL_8196CT || RTL_8198T || RTL_8198
config RTL_LAYERED_DRIVER_L3
bool
default n
depends on RTL_LAYERED_DRIVER
config RTL_LAYERED_DRIVER_L4
bool
default n
depends on RTL_LAYERED_DRIVER
depends on RTL_8198 || RTL_8196CT || RTL_8198T
comment 'Choose basic features.'
config RTL_LINKCHG_PROCESS
bool
default n
depends on RTL_LAYERED_DRIVER
config RTL_EXTPORT_VLANID
int
default "9"
depends on RTL_LAYERED_DRIVER
comment 'Choose hardware features.'
choice
prompt "Hardware Features Selection"
default RTL_HW_MULTICAST_ONLY
depends on RTL_LAYERED_DRIVER
config RTL_HW_NAPT
bool "Enable RTL Hardware NAPT"
depends on RTL_8198 || RTL_8196CT || RTL_8198T
select RTL_LAYERED_ASIC_DRIVER
select RTL_LAYERED_ASIC_DRIVER_L3
select RTL_LAYERED_ASIC_DRIVER_L4
select RTL_LAYERED_DRIVER_ACL
#select RTL_HW_QOS_SUPPORT
select RTL_LAYERED_DRIVER_L2
select RTL_LAYERED_DRIVER_L3
select RTL_LAYERED_DRIVER_L4
select RTL_HARDWARE_MULTICAST if RTL_IGMP_SNOOPING
select RTL_HARDWARE_NAT
config RTL_HW_MULTICAST_ONLY
bool "Enable RTL Hardware Multicast Only"
select RTL_LAYERED_ASIC_DRIVER
select RTL_LAYERED_ASIC_DRIVER_L3
select RTL_LAYERED_DRIVER_ACL
select RTL_LAYERED_DRIVER_L2
select RTL_LAYERED_DRIVER_L3
select RTL_HARDWARE_MULTICAST
config RTL_HW_L2_ONLY
bool "Enable RTL Hardware switch Only"
select RTL_LAYERED_ASIC_DRIVER
select RTL_LAYERED_DRIVER_ACL #because mld snooping need add acl to trap ipv6 multicast packet to cpu
select RTL_LAYERED_DRIVER_L2
endchoice
comment 'Choose advance features.'
config RTL_NETIF_MAPPING
bool "enable linux ps vs rtl819x driver netif mapping"
default y
depends on RTL_LAYERED_DRIVER
config RTL_MULTIPLE_WAN
bool "Enable multiple wan in hw nat mode"
default n
depends on RTL_NETIF_MAPPING && RTL_HARDWARE_NAT
depends on RTL_8198T || RTL_8196CT
config RTL865X_LANPORT_RESTRICTION
bool "Rtl865x lan port restriction"
default n
depends on RTL_LAYERED_DRIVER
config RTL_QOS_8021P_SUPPORT
bool "HW Qos support vlan priority"
default n
depends on RTL_HW_QOS_SUPPORT
config RTL_IVL_SUPPORT
bool "Support multi-vlan in bridge/wisp mode"
default n
depends on RTL_LAYERED_DRIVER
config RTL_LOCAL_PUBLIC
bool "Enable RTL local public"
default n
depends on RTL_HW_NAPT
endmenu
#config RTK_KERNEL_MIPS16
# bool "Encode Kernel Code with MIPS16 Instruction Set"
# default y
# depends on RTL_819X
config RTL_IPTABLES_RULE_2_ACL
bool "Enable iptables rule to RTL ACL rule"
default y
depends on RTL_LAYERED_DRIVER_ACL
config RTL_FAST_FILTER
bool "Enable realtek fast filter"
default n
depends on RTL_819X
config RTL865X_MBUF_HEADROOM
int
range 0 256
default "128"
depends on RTL_819X
config RTL_ETH_PRIV_SKB
bool "Enable Ethernet Private Skb"
default n
depends on RTL_819X
config RTL_ETH_PRIV_SKB_DEBUG
bool
default n
depends on RTL_ETH_PRIV_SKB
#config RTL8190_PRIV_SKB
# bool "Enable 8190 Private Skb"
# default y
# depends on RTL_819X
#config RTL8214_SUPPORT
# bool
# default n
# depends on RTL_819X
config EXTRTL8212_PHYID_P1
int
default "18"
depends on RTL_819X
config EXTRTL8212_PHYID_P3
int
default "20"
depends on RTL_819X
config EXTRTL8212_PHYID_P5
int
default "22"
depends on RTL_819X
#config RTL865X_EXTPORT
# bool "Rtl865x extension port"
# default n
# depends on RTL865X_LAYERED_DRIVER
#config RTL865X_EXTPORT_VLANID
# int
# default "9"
# depends on RTL865X_EXTPORT
config RTL_HW_QOS_SUPPORT
bool "Support HW Qos"
default n
depends on RTL_LAYERED_DRIVER
depends on RTL_HARDWARE_NAT
depends on RTL_8196CT || RTL_8198T || RTL_8198
config RTL_QOS_PATCH
bool "HW QoS patch"
default n
depends on RTL_HW_QOS_SUPPORT
config RTL_HARDWARE_MULTICAST
bool
default n
depends on RTL_LAYERED_DRIVER
depends on RTL_IGMP_SNOOPING
config RTL_HARDWARE_NAT
bool
default n
depends on RTL_819X
depends on RTL_8196CT || RTL_8198 || RTL8198T
#config RTL865x_TCPFLOW_NONE_STATUS_CHECK
# bool "Create HW NAT Entry without checking tcp flow status (For SMB/IXIA tcp test)"
# default n
# depends on RTL865X_HARDWARE_NAT
config RTL_PPPOE_HWACC
bool
default y
depends on RTL_HARDWARE_NAT
config RTL865X_HW_PPTPL2TP
bool
default n
depends on RTL_HARDWARE_NAT
config RTL_PROC_DEBUG
bool "Enable proc filesystem for debug"
default n
depends on RTL_819X
config RTL865X_ROMEPERF
bool "Enable rome perf"
default n
depends on RTL_819X
config RTK_VLAN_SUPPORT
bool "Support rtk vlan feature"
default y
depends on RTL_819X
config RTK_VLAN_FOR_CABLE_MODEM
bool "rtk vlan for cable modem"
default n
depends on RTK_VLAN_SUPPORT
#config NMS
# bool "Enable NMS"
# default n
# depends on MESH_ENABLE
#config TEST_PKG
# bool "Test Package(test_traffic ...)"
# default n
# depends on MESH_ENABLE
#config 11S_TEST_MODE
# bool "Enable 11s Test Mode"
# default n
# depends on MESH_ENABLE
config RTL_UNKOWN_UNICAST_CONTROL
bool
default n
depends on RTL_819X
config RTL_ENABLE_RATELIMIT_TABLE
bool
default y
depends on RTL_UNKOWN_UNICAST_CONTROL
#config RTL_MULTI_LAN_DEV
# bool
# default y
# depends on RTL_819X
config RTL_EEE_DISABLED
bool "Disable 802.3az EEE feature"
default n
depends on RTL_819X
config RTL_REINIT_SWITCH_CORE
bool
default y
depends on RTL_8196C
endif #RTL_819X_SWCORE
#endmenu
#============================= End of Kconfig ===============================#
|