diff options
-rw-r--r-- | lib/Kconfig | 28 | ||||
-rw-r--r-- | net/sched/Kconfig | 5 |
2 files changed, 9 insertions, 24 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 455833a9e31a..eeb429a52152 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
@@ -63,32 +63,16 @@ config REED_SOLOMON_ENC16 | |||
63 | config REED_SOLOMON_DEC16 | 63 | config REED_SOLOMON_DEC16 |
64 | boolean | 64 | boolean |
65 | 65 | ||
66 | # | ||
67 | # Textsearch support is select'ed if needed | ||
68 | # | ||
66 | config TEXTSEARCH | 69 | config TEXTSEARCH |
67 | boolean "Textsearch infrastructure" | 70 | boolean |
68 | default y | ||
69 | help | ||
70 | Say Y here if you want to provide a textsearch infrastructure | ||
71 | to other subsystems. | ||
72 | 71 | ||
73 | config TEXTSEARCH_KMP | 72 | config TEXTSEARCH_KMP |
74 | depends on TEXTSEARCH | 73 | tristate |
75 | tristate "Knuth-Morris-Pratt" | ||
76 | help | ||
77 | Say Y here if you want to be able to search text using the | ||
78 | Knuth-Morris-Pratt textsearch algorithm. | ||
79 | |||
80 | To compile this code as a module, choose M here: the | ||
81 | module will be called ts_kmp. | ||
82 | 74 | ||
83 | config TEXTSEARCH_FSM | 75 | config TEXTSEARCH_FSM |
84 | depends on TEXTSEARCH | 76 | tristate |
85 | tristate "Finite state machine" | ||
86 | help | ||
87 | Say Y here if you want to be able to search text using a | ||
88 | naive finite state machine approach implementing a subset | ||
89 | of regular expressions. | ||
90 | |||
91 | To compile this code as a module, choose M here: the | ||
92 | module will be called ts_fsm. | ||
93 | 77 | ||
94 | endmenu | 78 | endmenu |
diff --git a/net/sched/Kconfig b/net/sched/Kconfig index 447b89e556b1..7bac249258e3 100644 --- a/net/sched/Kconfig +++ b/net/sched/Kconfig | |||
@@ -453,10 +453,11 @@ config NET_EMATCH_TEXT | |||
453 | tristate "Textsearch" | 453 | tristate "Textsearch" |
454 | depends on NET_EMATCH | 454 | depends on NET_EMATCH |
455 | select TEXTSEARCH | 455 | select TEXTSEARCH |
456 | select TEXTSEARCH_KMP | ||
457 | select TEXTSEARCH_FSM | ||
456 | ---help--- | 458 | ---help--- |
457 | Say Y here if you want to be ablt to classify packets based on | 459 | Say Y here if you want to be ablt to classify packets based on |
458 | textsearch comparisons. Please select the appropriate textsearch | 460 | textsearch comparisons. |
459 | algorithms in the Library section. | ||
460 | 461 | ||
461 | To compile this code as a module, choose M here: the | 462 | To compile this code as a module, choose M here: the |
462 | module will be called em_text. | 463 | module will be called em_text. |