Skip to contentSkip to conversation

Add mISDN driver

PATCH In review Karsten Keil 4 participants 6 messages Jul 27, 2008 – Aug 4, 2008 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 Add mISDN driver

Please pull this and the following patches from
git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6.git master

mISDN is a new modular ISDN driver, in the long term it should replace the old I4L driver architecture for passiv ISDN cards.

---
 Documentation/isdn/README.mISDN |    6 ++++++
 drivers/isdn/Kconfig            |    4 +++-
 drivers/isdn/Makefile           |    1 +
 drivers/isdn/hardware/Makefile  |    1 +
 4 files changed, 11 insertions(+), 1 deletions(-)
 create mode 100644 Documentation/isdn/README.mISDN
Documentation/isdn/README.mISDN new file +6 -0
new file mode 100644
index 0000000..cd8bf92
@@ -0,0 +1,6 @@
+mISDN is a new modular ISDN driver, in the long term it should replace
+the old I4L driver architecture for passiv ISDN cards.
+It was designed to allow a broad range of applications and interfaces
+but only have the basic function in kernel, the interface to the user
+space is based on sockets with a own address family AF_ISDN.
+
drivers/isdn/Kconfig +3 -1
index 66f946a..3d113c6 100644
@@ -3,7 +3,7 @@
 #
 
 menuconfig ISDN
-	tristate "ISDN support"
+	bool "ISDN support"
 	depends on NET
 	depends on !S390
 	---help---
@@ -21,6 +21,8 @@ menuconfig ISDN
 
 if ISDN
 
+source "drivers/isdn/mISDN/Kconfig"
+
 menuconfig ISDN_I4L
 	tristate "Old ISDN4Linux (deprecated)"
 	---help---
drivers/isdn/Makefile +1 -0
index 988142c..8380a45 100644
@@ -4,6 +4,7 @@
 
 obj-$(CONFIG_ISDN_I4L)			+= i4l/
 obj-$(CONFIG_ISDN_CAPI)			+= capi/
+obj-$(CONFIG_MISDN)			+= mISDN/
 obj-$(CONFIG_ISDN_CAPI)			+= hardware/
 obj-$(CONFIG_ISDN_DIVERSION)		+= divert/
 obj-$(CONFIG_ISDN_DRV_HISAX)		+= hisax/
drivers/isdn/hardware/Makefile +1 -0
index 11c8a18..a5d8fce 100644
@@ -4,3 +4,4 @@
 
 obj-$(CONFIG_CAPI_AVM)		+= avm/
 obj-$(CONFIG_CAPI_EICON)	+= eicon/
+obj-$(CONFIG_MISDN)		+= mISDN/
Signature · 8 lines
1.5.6.4


-- 
Karsten Keil
SuSE Labs
ISDN and VOIP development
SUSE LINUX Products GmbH, Maxfeldstr.5 90409 Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)
#1 lore raw
Quoted 5 lines · Karsten Keil

Please pull this and the following patches from
git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6.git master

mISDN is a new modular ISDN driver, in the long term it should replace the old I4L driver architecture for passiv ISDN cards.

-tip testing found that the build broke due to these changes:

drivers/isdn/hisax/built-in.o: In function `release_tei':
(.text+0x29da): multiple definition of `release_tei' drivers/isdn/mISDN/built-in.o:(.text+0x8e80): first defined here

with this config:

http://redhat.com/~mingo/misc/config-Sun_Jul_27_08_30_16_CEST_2008.bad

Ingo

#2 lore raw

( Please dont use Mail-Followup-To! It messed up replies _big_
time. Mail repeated below.)

Quoted 20 lines · Ingo Molnar
Quoted 5 lines · Karsten Keil

Please pull this and the following patches from
git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6.git master

mISDN is a new modular ISDN driver, in the long term it should replace the old I4L driver architecture for passiv ISDN cards.

-tip testing found that the build broke due to these changes:

drivers/isdn/hisax/built-in.o: In function `release_tei':
(.text+0x29da): multiple definition of `release_tei' drivers/isdn/mISDN/built-in.o:(.text+0x8e80): first defined here

with this config:

http://redhat.com/~mingo/misc/config-Sun_Jul_27_08_30_16_CEST_2008.bad

Ingo

#3 lore raw
Quoted 3 lines · Ingo Molnar

( Please dont use Mail-Followup-To! It messed up replies _big_
time. Mail repeated below.)

OK, hopefully it is disabled now.

Quoted 12 lines · Ingo Molnar
Quoted 10 lines · Karsten Keil
Quoted 6 lines

Please pull this and the following patches from
git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6.git master

mISDN is a new modular ISDN driver, in the long term it should replace the old I4L driver architecture for passiv ISDN cards.

Quoted 6 lines
Quoted 6 lines

-tip testing found that the build broke due to these changes:

drivers/isdn/hisax/built-in.o: In function `release_tei':
(.text+0x29da): multiple definition of `release_tei' drivers/isdn/mISDN/built-in.o:(.text+0x8e80): first defined here

Grumble, I thought I already catched this some days ago, but seems I forgot to commit it. Will have a patch soon.

Signature · 4 lines
Karsten Keil
SuSE Labs
ISDN and VOIP development
SUSE LINUX Products GmbH, Maxfeldstr.5 90409 Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)
#4 lore raw
In reply to Karsten Keil
Quoted 4 lines · Karsten Keil

Please pull this and the following patches from git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6.git master

mISDN is a new modular ISDN driver, in the long term it should replace the old I4L driver architecture for passiv ISDN cards.

At last. Thanks a lot for that effort!

Quoted 5 lines
 Documentation/isdn/README.mISDN |    6 ++++++
 drivers/isdn/Kconfig            |    4 +++-
 drivers/isdn/Makefile           |    1 +
 drivers/isdn/hardware/Makefile  |    1 +
 4 files changed, 11 insertions(+), 1 deletions(-)

As the maintainer of an old I4L driver which I would like to convert to mISDN as soon as possible, I would be very grateful if you could, in time, also add a file Documentation/isdn/INTERFACE.mISDN describing the in-kernel interface between the mISDN core and hardware specific modules. (Like Documentation/isdn/INTERFACE does for I4L.)

Thanks again,
Tilman

Signature · 4 lines
Tilman Schmidt                    E-Mail: [email protected]
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
#5 lore raw
In reply to Karsten Keil
Quoted 13 lines · On Sun, 27 Jul 2008 03:08:37 +0200 Karsten Keil wrote:

Please pull this and the following patches from
git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6.git master

mISDN is a new modular ISDN driver, in the long term it should replace the old I4L driver architecture for passiv ISDN cards.

Documentation/isdn/README.mISDN new file +0 -0
new file mode 100644
index 0000000..cd8bf92

Documentation/isdn/README.mISDN line 1

Quoted 1 line
Documentation/isdn/README.mISDN new file +1 -0
@@ -0,0 +1,6 @@
+mISDN is a new modular ISDN driver, in the long term it should replace

mISDN is a new modular ISDN driver. In the long term, it should replace

Documentation/isdn/README.mISDN line 2

Quoted 1 line
Documentation/isdn/README.mISDN new file +1 -0
+the old I4L driver architecture for passiv ISDN cards.

passive

Documentation/isdn/README.mISDN line 4

Quoted 2 lines
Documentation/isdn/README.mISDN new file +2 -0
+It was designed to allow a broad range of applications and interfaces
+but only have the basic function in kernel, the interface to the user

in kernel. The interface

Documentation/isdn/README.mISDN line 5

Quoted 1 line
Documentation/isdn/README.mISDN new file +1 -0
+space is based on sockets with a own address family AF_ISDN.

its own address family AF_ISDN.

Sorry about the delayed response.

---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/