forked from Minki/linux
0a34eb8f55
And: Tilman Schmidt <tilman@imap.cc> The following patches add drivers for the Siemens Gigaset 3070 family of ISDN DECT PABXes connected via USB, either directly or over a DECT link using a Gigaset M105 or compatible DECT data adapter. The devices are integrated as ISDN adapters within the isdn4linux framework, supporting incoming and outgoing voice and data connections, and also as tty devices providing access to device specific AT commands. Supported devices include models 3070, 3075, 4170, 4175, SX205, SX255, and SX353 from the Siemens Gigaset product family, as well as the technically identical models 45isdn and 721X from the Deutsche Telekom Sinus series. Supported DECT adapters are the Gigaset M105 data and the technically identical Gigaset USB Adapter DECT, Sinus 45 data 2, and Sinus 721 data (but not the Gigaset M34 and Sinus 702 data which advertise themselves as CDC-ACM devices). These drivers have been developed over the last four years within the SourceForge project http://sourceforge.net/projects/gigaset307x/. They are being used successfully in several installations for dial-in Internet access and for voice call switching with Asterisk. This is our second attempt at submitting these drivers, taking into account the comments we received to our first submission on 2005-12-11. The patch set adds three kernel modules: - a common module "gigaset" encapsulating the common logic for controlling the PABX and the interfaces to userspace and the isdn4linux subsystem. - a connection-specific module "bas_gigaset" which handles communication with the PABX over a direct USB connection. - a connection-specific module "usb_gigaset" which does the same for a DECT connection using the Gigaset M105 USB DECT adapter. We also have a module "ser_gigaset" which supports the Gigaset M101 RS232 DECT adapter, but we didn't judge it fit for inclusion in the kernel, as it does direct programming of a i8250 serial port. It should probably be rewritten as a serial line discipline but so far we lack the neccessary knowledge about writing a line discipline for that. The drivers have been working with kernel releases 2.2 and 2.4 as well as 2.6, and although we took efforts to remove the compatibility code for this submission, it probably still shows in places. Please make allowances. This patch: Prepare the kernel build infrastructure for addition of the Gigaset ISDN drivers. It creates a Makefile and Kconfig file for the Gigaset driver and hooks them into those of the isdn4linux subsystem. It also adds a MAINTAINERS entry for the driver. This patch depends on patches 2 to 9 of the present set, as without the actual source files, activating the options added here will cause the kernel build to fail. Signed-off-by: Hansjoerg Lipp <hjlipp@web.de> Signed-off-by: Tilman Schmidt <tilman@imap.cc> Cc: Karsten Keil <kkeil@suse.de> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
143 lines
4.9 KiB
Plaintext
143 lines
4.9 KiB
Plaintext
#
|
|
# Old ISDN4Linux config
|
|
#
|
|
|
|
config ISDN_PPP
|
|
bool "Support synchronous PPP"
|
|
depends on INET
|
|
help
|
|
Over digital connections such as ISDN, there is no need to
|
|
synchronize sender and recipient's clocks with start and stop bits
|
|
as is done over analog telephone lines. Instead, one can use
|
|
"synchronous PPP". Saying Y here will include this protocol. This
|
|
protocol is used by Cisco and Sun for example. So you want to say Y
|
|
here if the other end of your ISDN connection supports it. You will
|
|
need a special version of pppd (called ipppd) for using this
|
|
feature. See <file:Documentation/isdn/README.syncppp> and
|
|
<file:Documentation/isdn/syncPPP.FAQ> for more information.
|
|
|
|
config ISDN_PPP_VJ
|
|
bool "Use VJ-compression with synchronous PPP"
|
|
depends on ISDN_PPP
|
|
help
|
|
This enables Van Jacobson header compression for synchronous PPP.
|
|
Say Y if the other end of the connection supports it.
|
|
|
|
config ISDN_MPP
|
|
bool "Support generic MP (RFC 1717)"
|
|
depends on ISDN_PPP
|
|
help
|
|
With synchronous PPP enabled, it is possible to increase throughput
|
|
by bundling several ISDN-connections, using this protocol. See
|
|
<file:Documentation/isdn/README.syncppp> for more information.
|
|
|
|
config IPPP_FILTER
|
|
bool "Filtering for synchronous PPP"
|
|
depends on ISDN_PPP
|
|
help
|
|
Say Y here if you want to be able to filter the packets passing over
|
|
IPPP interfaces. This allows you to control which packets count as
|
|
activity (i.e. which packets will reset the idle timer or bring up
|
|
a demand-dialled link) and which packets are to be dropped entirely.
|
|
You need to say Y here if you wish to use the pass-filter and
|
|
active-filter options to ipppd.
|
|
|
|
config ISDN_PPP_BSDCOMP
|
|
tristate "Support BSD compression"
|
|
depends on ISDN_PPP
|
|
help
|
|
Support for the BSD-Compress compression method for PPP, which uses
|
|
the LZW compression method to compress each PPP packet before it is
|
|
sent over the wire. The machine at the other end of the PPP link
|
|
(usually your ISP) has to support the BSD-Compress compression
|
|
method as well for this to be useful. Even if they don't support it,
|
|
it is safe to say Y here.
|
|
|
|
config ISDN_AUDIO
|
|
bool "Support audio via ISDN"
|
|
help
|
|
If you say Y here, the modem-emulator will support a subset of the
|
|
EIA Class 8 Voice commands. Using a getty with voice-support
|
|
(mgetty+sendfax by <gert@greenie.muc.de> with an extension, available
|
|
with the ISDN utility package for example), you will be able to use
|
|
your Linux box as an ISDN-answering machine. Of course, this must be
|
|
supported by the lowlevel driver also. Currently, the HiSax driver
|
|
is the only voice-supporting driver. See
|
|
<file:Documentation/isdn/README.audio> for more information.
|
|
|
|
config ISDN_TTY_FAX
|
|
bool "Support AT-Fax Class 1 and 2 commands"
|
|
depends on ISDN_AUDIO
|
|
help
|
|
If you say Y here, the modem-emulator will support a subset of the
|
|
Fax Class 1 and 2 commands. Using a getty with fax-support
|
|
(mgetty+sendfax, hylafax), you will be able to use your Linux box as
|
|
an ISDN-fax-machine. This must be supported by the lowlevel driver
|
|
also. See <file:Documentation/isdn/README.fax> for more information.
|
|
|
|
config ISDN_X25
|
|
bool "X.25 PLP on top of ISDN"
|
|
depends on X25
|
|
help
|
|
This feature provides the X.25 protocol over ISDN connections.
|
|
See <file:Documentation/isdn/README.x25> for more information
|
|
if you are thinking about using this.
|
|
|
|
|
|
menu "ISDN feature submodules"
|
|
depends on ISDN
|
|
|
|
config ISDN_DRV_LOOP
|
|
tristate "isdnloop support"
|
|
depends on BROKEN_ON_SMP
|
|
help
|
|
This driver provides a virtual ISDN card. Its primary purpose is
|
|
testing of linklevel features or configuration without getting
|
|
charged by your service-provider for lots of phone calls.
|
|
You need will need the loopctrl utility from the latest isdn4k-utils
|
|
package to set up this driver.
|
|
|
|
config ISDN_DIVERSION
|
|
tristate "Support isdn diversion services"
|
|
depends on ISDN && ISDN_I4L
|
|
help
|
|
This option allows you to use some supplementary diversion
|
|
services in conjunction with the HiSax driver on an EURO/DSS1
|
|
line.
|
|
|
|
Supported options are CD (call deflection), CFU (Call forward
|
|
unconditional), CFB (Call forward when busy) and CFNR (call forward
|
|
not reachable). Additionally the actual CFU, CFB and CFNR state may
|
|
be interrogated.
|
|
|
|
The use of CFU, CFB, CFNR and interrogation may be limited to some
|
|
countries. The keypad protocol is still not implemented. CD should
|
|
work in all countries if the service has been subscribed to.
|
|
|
|
Please read the file <file:Documentation/isdn/README.diversion>.
|
|
|
|
endmenu
|
|
|
|
comment "ISDN4Linux hardware drivers"
|
|
depends on NET && ISDN && ISDN_I4L
|
|
|
|
source "drivers/isdn/hisax/Kconfig"
|
|
|
|
|
|
menu "Active cards"
|
|
depends on NET && ISDN && ISDN_I4L!=n
|
|
|
|
source "drivers/isdn/icn/Kconfig"
|
|
|
|
source "drivers/isdn/pcbit/Kconfig"
|
|
|
|
source "drivers/isdn/sc/Kconfig"
|
|
|
|
source "drivers/isdn/act2000/Kconfig"
|
|
|
|
source "drivers/isdn/hysdn/Kconfig"
|
|
|
|
endmenu
|
|
|
|
source "drivers/isdn/gigaset/Kconfig"
|