Skip to content

Commit

Permalink
isdn: gigaset: remove i4l support
Browse files Browse the repository at this point in the history
isdn4linux is getting removed, and the gigaset driver can still
use the CAPI support, so this can all go away.

Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
arndb committed May 31, 2019
1 parent 7b3ed2a commit 8e6c8aa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 735 deletions.
36 changes: 8 additions & 28 deletions Documentation/isdn/README.gigaset
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ GigaSet 307x Device Driver

1.2. Software
--------
The driver works with the Kernel CAPI subsystem as well as the old
ISDN4Linux subsystem, so it can be used with any software which is able
to use CAPI 2.0 or ISDN4Linux for ISDN connections (voice or data).
The driver works with the Kernel CAPI subsystem and can be used with any
software which is able to use CAPI 2.0 for ISDN connections (voice or data).

There are some user space tools available at
https://sourceforge.net/projects/gigaset307x/
Expand Down Expand Up @@ -92,7 +91,7 @@ GigaSet 307x Device Driver
gigaset debug debug level (see section 3.2.)

startmode initial operation mode (see section 2.5.):
bas_gigaset ) 1=ISDN4linux/CAPI (default), 0=Unimodem
bas_gigaset ) 1=CAPI (default), 0=Unimodem
ser_gigaset )
usb_gigaset ) cidmode initial Call-ID mode setting (see section
2.5.): 1=on (default), 0=off
Expand Down Expand Up @@ -154,35 +153,17 @@ GigaSet 307x Device Driver

2.3. CAPI
----
If the driver is compiled with CAPI support (kernel configuration option
GIGASET_CAPI) the devices will show up as CAPI controllers as soon as the
corresponding driver module is loaded, and can then be used with CAPI 2.0
kernel and user space applications. For user space access, the module
capi.ko must be loaded.

Legacy ISDN4Linux applications are supported via the capidrv
compatibility driver. The kernel module capidrv.ko must be loaded
explicitly with the command
modprobe capidrv
if needed, and cannot be unloaded again without unloading the driver
first. (These are limitations of capidrv.)
The devices will show up as CAPI controllers as soon as the
corresponding driver module is loaded, and can then be used with
CAPI 2.0 kernel and user space applications. For user space access,
the module capi.ko must be loaded.

Most distributions handle loading and unloading of the various CAPI
modules automatically via the command capiinit(1) from the capi4k-utils
package or a similar mechanism. Note that capiinit(1) cannot unload the
Gigaset drivers because it doesn't support more than one module per
driver.

2.4. ISDN4Linux
----------
If the driver is compiled without CAPI support (native ISDN4Linux
variant), it registers the device with the legacy ISDN4Linux subsystem
after loading the module. It can then be used with ISDN4Linux
applications only. Most distributions provide some configuration utility
for setting up that subsystem. Otherwise you can use some HOWTOs like
http://www.linuxhaven.de/dlhp/HOWTO/DE-ISDN-HOWTO-5.html


2.5. Unimodem mode
-------------
In this mode the device works like a modem connected to a serial port
Expand Down Expand Up @@ -281,8 +262,7 @@ GigaSet 307x Device Driver
number. Dialing "***" (three asterisks) calls all extensions
simultaneously (global call).

This holds for both CAPI 2.0 and ISDN4Linux applications. Unimodem mode
does not support internal calls.
Unimodem mode does not support internal calls.

2.8. Unregistered Wireless Devices (M101/M105)
-----------------------------------------
Expand Down
9 changes: 0 additions & 9 deletions drivers/isdn/gigaset/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@ config GIGASET_CAPI
Say N to build the old native ISDN4Linux variant.
If unsure, say Y.

config GIGASET_I4L
bool
depends on ISDN_I4L='y'||(ISDN_I4L='m'&&ISDN_DRV_GIGASET='m')
default !GIGASET_CAPI

config GIGASET_DUMMYLL
bool
default !GIGASET_CAPI&&!GIGASET_I4L

config GIGASET_BASE
tristate "Gigaset base station support"
depends on USB
Expand Down
10 changes: 7 additions & 3 deletions drivers/isdn/gigaset/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# SPDX-License-Identifier: GPL-2.0
gigaset-y := common.o interface.o proc.o ev-layer.o asyncdata.o
gigaset-$(CONFIG_GIGASET_CAPI) += capi.o
gigaset-$(CONFIG_GIGASET_I4L) += i4l.o
gigaset-$(CONFIG_GIGASET_DUMMYLL) += dummyll.o

ifdef CONFIG_GIGASET_CAPI
gigaset-y += capi.o
else
gigaset-y += dummyll.o
endif

usb_gigaset-y := usb-gigaset.o
ser_gigaset-y := ser-gigaset.o
bas_gigaset-y := bas-gigaset.o isocdata.o
Expand Down
Loading

0 comments on commit 8e6c8aa

Please sign in to comment.