diff options
| author | Paul Bolle <pebolle@tiscali.nl> | 2014-03-16 13:44:21 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-03-18 15:02:57 -0400 |
| commit | d1958f8c2f0d6bfaa115f4dce1d5d19be5c6b090 (patch) | |
| tree | 19e4117ccb113cca8d7a60d5dfecad737a5ecda6 | |
| parent | 72c2dfdefa42c747c8e61f3d3ebfafc8e8d5762f (diff) | |
isdn/capi: Make Middleware depend on CAPI2.0
The Kconfig symbol ISDN_CAPI_MIDDLEWARE is only used in capi.c. Setting
it without setting ISDN_CAPI_CAPI20 is therefor useless. Make it depend
on ISDN_CAPI_CAPI20 and put its entry after ISDN_CAPI_CAPI20's entry.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | drivers/isdn/capi/Kconfig | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/isdn/capi/Kconfig b/drivers/isdn/capi/Kconfig index f04686580040..9816c51eb5c2 100644 --- a/drivers/isdn/capi/Kconfig +++ b/drivers/isdn/capi/Kconfig | |||
| @@ -16,9 +16,17 @@ config CAPI_TRACE | |||
| 16 | This will increase the size of the kernelcapi module by 20 KB. | 16 | This will increase the size of the kernelcapi module by 20 KB. |
| 17 | If unsure, say Y. | 17 | If unsure, say Y. |
| 18 | 18 | ||
| 19 | config ISDN_CAPI_CAPI20 | ||
| 20 | tristate "CAPI2.0 /dev/capi support" | ||
| 21 | help | ||
| 22 | This option will provide the CAPI 2.0 interface to userspace | ||
| 23 | applications via /dev/capi20. Applications should use the | ||
| 24 | standardized libcapi20 to access this functionality. You should say | ||
| 25 | Y/M here. | ||
| 26 | |||
| 19 | config ISDN_CAPI_MIDDLEWARE | 27 | config ISDN_CAPI_MIDDLEWARE |
| 20 | bool "CAPI2.0 Middleware support" | 28 | bool "CAPI2.0 Middleware support" |
| 21 | depends on TTY | 29 | depends on ISDN_CAPI_CAPI20 && TTY |
| 22 | help | 30 | help |
| 23 | This option will enhance the capabilities of the /dev/capi20 | 31 | This option will enhance the capabilities of the /dev/capi20 |
| 24 | interface. It will provide a means of moving a data connection, | 32 | interface. It will provide a means of moving a data connection, |
| @@ -26,14 +34,6 @@ config ISDN_CAPI_MIDDLEWARE | |||
| 26 | device. If you want to use pppd with pppdcapiplugin to dial up to | 34 | device. If you want to use pppd with pppdcapiplugin to dial up to |
| 27 | your ISP, say Y here. | 35 | your ISP, say Y here. |
| 28 | 36 | ||
| 29 | config ISDN_CAPI_CAPI20 | ||
| 30 | tristate "CAPI2.0 /dev/capi support" | ||
| 31 | help | ||
| 32 | This option will provide the CAPI 2.0 interface to userspace | ||
| 33 | applications via /dev/capi20. Applications should use the | ||
| 34 | standardized libcapi20 to access this functionality. You should say | ||
| 35 | Y/M here. | ||
| 36 | |||
| 37 | config ISDN_CAPI_CAPIDRV | 37 | config ISDN_CAPI_CAPIDRV |
| 38 | tristate "CAPI2.0 capidrv interface support" | 38 | tristate "CAPI2.0 capidrv interface support" |
| 39 | depends on ISDN_I4L | 39 | depends on ISDN_I4L |
