From: Tilman Schmidt <[EMAIL PROTECTED]>, Hansjoerg Lipp <[EMAIL PROTECTED]>

This patch prepares 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 1 to 6 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 <[EMAIL PROTECTED]>
Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]>
---

 MAINTAINERS                   |    9 +++++++++
 drivers/isdn/Makefile         |    1 +
 drivers/isdn/gigaset/Kconfig  |   41 +++++++++++++++++++++++++++++++++++++++++
 drivers/isdn/gigaset/Makefile |    6 ++++++
 drivers/isdn/i4l/Kconfig      |    1 +
 5 files changed, 58 insertions(+)

--- linux-2.6.16-rc4.orig/MAINTAINERS   2006-02-20 17:18:00.000000000 +0100
+++ linux-2.6.16-rc4-mm2/MAINTAINERS    2006-02-26 17:25:16.000000000 +0100
@@ -1028,6 +1028,15 @@
 W:     http://www.kernel.org/pub/linux/utils/net/hdlc/
 S:     Maintained
 
+GIGASET ISDN DRIVERS
+P:     Hansjoerg Lipp
+M:     [EMAIL PROTECTED]
+P:     Tilman Schmidt
+M:     [EMAIL PROTECTED]
+L:     [EMAIL PROTECTED]
+W:     http://gigaset307x.sourceforge.net/
+S:     Maintained
+
 HARDWARE MONITORING
 P:     Jean Delvare
 M:     [EMAIL PROTECTED]
--- linux-2.6.16-rc4.orig/drivers/isdn/Makefile 2005-07-16 20:04:00.000000000 
+0200
+++ linux-2.6.16-rc4-mm2/drivers/isdn/Makefile  2006-02-26 14:36:44.000000000 
+0100
@@ -13,3 +13,4 @@
 obj-$(CONFIG_ISDN_DRV_LOOP)            += isdnloop/
 obj-$(CONFIG_ISDN_DRV_ACT2000)         += act2000/
 obj-$(CONFIG_HYSDN)                    += hysdn/
+obj-$(CONFIG_ISDN_DRV_GIGASET)         += gigaset/
--- linux-2.6.16-rc4.orig/drivers/isdn/i4l/Kconfig      2005-07-16 
20:04:00.000000000 +0200
+++ linux-2.6.16-rc4-mm2/drivers/isdn/i4l/Kconfig       2006-02-26 
14:36:44.000000000 +0100
@@ -139,3 +139,4 @@
 
 endmenu
 
+source "drivers/isdn/gigaset/Kconfig"
--- linux-2.6.16-rc4.orig/drivers/isdn/gigaset/Kconfig  1970-01-01 
01:00:00.000000000 +0100
+++ linux-2.6.16-rc4-mm2/drivers/isdn/gigaset/Kconfig   2006-02-20 
18:39:08.000000000 +0100
@@ -0,0 +1,41 @@
+menu "Siemens Gigaset"
+       depends on ISDN_I4L
+
+config ISDN_DRV_GIGASET
+       tristate "Siemens Gigaset support (isdn)"
+       depends on ISDN_I4L && CRC_CCITT
+       help
+         Say m here if you have a Gigaset or Sinus isdn device.
+
+if ISDN_DRV_GIGASET!=n
+
+config GIGASET_BASE
+       tristate "Gigaset base station support"
+       depends on ISDN_DRV_GIGASET && USB
+       help
+         Say m here if you need to communicate with the base
+         directly via USB.
+
+config GIGASET_M105
+       tristate "Gigaset M105 support"
+       depends on ISDN_DRV_GIGASET && USB
+       help
+         Say m here if you need the driver for the Gigaset M105 device.
+
+config GIGASET_DEBUG
+       bool "Gigaset debugging"
+       help
+         This enables debugging code in the Gigaset drivers.
+         If in doubt, say yes.
+
+config GIGASET_UNDOCREQ
+       bool "Support for undocumented USB requests"
+       help
+         This enables support for USB requests we only know from
+         reverse engineering (currently M105 only). If you need
+         features like configuration mode of M105, say yes. If you
+         care about your device, say no.
+
+endif
+
+endmenu
--- linux-2.6.16-rc4.orig/drivers/isdn/gigaset/Makefile 1970-01-01 
01:00:00.000000000 +0100
+++ linux-2.6.16-rc4-mm2/drivers/isdn/gigaset/Makefile  2005-12-10 
17:40:47.000000000 +0100
@@ -0,0 +1,6 @@
+gigaset-y := common.o interface.o proc.o ev-layer.o i4l.o
+usb_gigaset-y := usb-gigaset.o asyncdata.o
+bas_gigaset-y := bas-gigaset.o isocdata.o
+
+obj-$(CONFIG_GIGASET_M105) += usb_gigaset.o gigaset.o
+obj-$(CONFIG_GIGASET_BASE) += bas_gigaset.o gigaset.o


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to