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 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 <[EMAIL PROTECTED]>
Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]>
---

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

--- linux-2.6.16-rc2/MAINTAINERS        2006-02-04 18:14:05.000000000 +0100
+++ linux-2.6.16-rc2-gig/MAINTAINERS    2006-02-04 18:37:17.000000000 +0100
@@ -1019,6 +1019,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-rc2/drivers/isdn/Makefile      2005-07-16 20:04:00.000000000 
+0200
+++ linux-2.6.16-rc2-gig/drivers/isdn/Makefile  2006-02-04 18:37:51.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-rc2/drivers/isdn/i4l/Kconfig   2005-07-16 20:04:00.000000000 
+0200
+++ linux-2.6.16-rc2-gig/drivers/isdn/i4l/Kconfig       2006-02-04 
18:38:22.000000000 +0100
@@ -139,3 +139,4 @@
 
 endmenu
 
+source "drivers/isdn/gigaset/Kconfig"
--- linux-2.6.16-rc2/drivers/isdn/gigaset/Kconfig       1970-01-01 
01:00:00.000000000 +0100
+++ linux-2.6.16-rc2-gig/drivers/isdn/gigaset/Kconfig   2005-12-11 
13:20:50.000000000 +0100
@@ -0,0 +1,42 @@
+menu "Siemens Gigaset"
+       depends on ISDN_I4L
+
+config ISDN_DRV_GIGASET
+       tristate "Siemens Gigaset support (isdn)"
+       depends on ISDN_I4L && m
+#      depends on ISDN_I4L && MODULES
+       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-rc2/drivers/isdn/gigaset/Makefile      1970-01-01 
01:00:00.000000000 +0100
+++ linux-2.6.16-rc2-gig/drivers/isdn/gigaset/Makefile  2005-12-11 
13:20:54.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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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