提交 d1958f8c 编写于 作者: P Paul Bolle 提交者: David S. Miller

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: NPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: NTilman Schmidt <tilman@imap.cc>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 72c2dfde
...@@ -16,9 +16,17 @@ config CAPI_TRACE ...@@ -16,9 +16,17 @@ config CAPI_TRACE
This will increase the size of the kernelcapi module by 20 KB. This will increase the size of the kernelcapi module by 20 KB.
If unsure, say Y. If unsure, say Y.
config ISDN_CAPI_CAPI20
tristate "CAPI2.0 /dev/capi support"
help
This option will provide the CAPI 2.0 interface to userspace
applications via /dev/capi20. Applications should use the
standardized libcapi20 to access this functionality. You should say
Y/M here.
config ISDN_CAPI_MIDDLEWARE config ISDN_CAPI_MIDDLEWARE
bool "CAPI2.0 Middleware support" bool "CAPI2.0 Middleware support"
depends on TTY depends on ISDN_CAPI_CAPI20 && TTY
help help
This option will enhance the capabilities of the /dev/capi20 This option will enhance the capabilities of the /dev/capi20
interface. It will provide a means of moving a data connection, interface. It will provide a means of moving a data connection,
...@@ -26,14 +34,6 @@ config ISDN_CAPI_MIDDLEWARE ...@@ -26,14 +34,6 @@ config ISDN_CAPI_MIDDLEWARE
device. If you want to use pppd with pppdcapiplugin to dial up to device. If you want to use pppd with pppdcapiplugin to dial up to
your ISP, say Y here. your ISP, say Y here.
config ISDN_CAPI_CAPI20
tristate "CAPI2.0 /dev/capi support"
help
This option will provide the CAPI 2.0 interface to userspace
applications via /dev/capi20. Applications should use the
standardized libcapi20 to access this functionality. You should say
Y/M here.
config ISDN_CAPI_CAPIDRV config ISDN_CAPI_CAPIDRV
tristate "CAPI2.0 capidrv interface support" tristate "CAPI2.0 capidrv interface support"
depends on ISDN_I4L depends on ISDN_I4L
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册