Ticket #4268: 0002-Add-isdn4linux-and-Siemens-Gigaset-support.patch

File 0002-Add-isdn4linux-and-Siemens-Gigaset-support.patch, 11.2 KB (added by Hauke <hauke@…>, 7 years ago)

Add isdn4linux and Siemens Gigaset support.

  • package/kernel/modules/network.mk

    From e513dd5f5d68561a734ea7cd3993d8e8ebccd1b6 Mon Sep 17 00:00:00 2001
    From: Hauke Mehrtens <hauke@hauke-m.de>
    Date: Fri, 28 Nov 2008 18:38:45 +0100
    Subject: [PATCH] Add isdn4linux and Siemens Gigaset support.
    
    
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    ---
     package/kernel/modules/network.mk      |   89 ++++++++++++++++++++++++++++++++
     target/linux/generic-2.6/config-2.6.21 |   11 ++++
     target/linux/generic-2.6/config-2.6.23 |   11 ++++
     target/linux/generic-2.6/config-2.6.24 |   11 ++++
     target/linux/generic-2.6/config-2.6.25 |   11 ++++
     target/linux/generic-2.6/config-2.6.26 |   11 ++++
     target/linux/generic-2.6/config-2.6.27 |   11 ++++
     7 files changed, 155 insertions(+), 0 deletions(-)
    
    diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk
    index f2a0aa9..e84a64a 100644
    a b endef 
    8181$(eval $(call KernelPackage,capi)) 
    8282 
    8383 
     84define KernelPackage/isdn4linux 
     85  SUBMENU:=$(NETWORK_SUPPORT_MENU) 
     86  TITLE:=Old ISDN4Linux (deprecated) 
     87  URL:=http://www.isdn4linux.de 
     88  DEPENDS:=@LINUX_2_6 +kmod-ppp 
     89  KCONFIG:= \ 
     90    CONFIG_ISDN_I4L \ 
     91    CONFIG_ISDN_PPP=y \ 
     92    CONFIG_ISDN_PPP_VJ=y \ 
     93    CONFIG_ISDN_MPP=y \ 
     94    CONFIG_IPPP_FILTER=y \ 
     95    CONFIG_ISDN_PPP_BSDCOMP \ 
     96    CONFIG_ISDN_AUDIO=y \ 
     97    CONFIG_ISDN_TTY_FAX=y \ 
     98    CONFIG_ISDN_X25=y \ 
     99    CONFIG_ISDN_DIVERSION 
     100  FILES:= \ 
     101    $(LINUX_DIR)/drivers/isdn/i4l/isdn.$(LINUX_KMOD_SUFFIX) \ 
     102    $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX) \ 
     103    $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.$(LINUX_KMOD_SUFFIX) 
     104  AUTOLOAD:=$(call AutoLoad,45,isdn isdn_bsdcomp dss1_divert) 
     105endef 
     106 
     107define KernelPackage/isdn4linux/description 
     108 This driver allows you to use an ISDN adapter for networking 
     109endef 
     110 
     111$(eval $(call KernelPackage,isdn4linux)) 
     112 
     113 
    84114define KernelPackage/ipip 
    85115  SUBMENU:=$(NETWORK_SUPPORT_MENU) 
    86116  TITLE:=IP-in-IP encapsulation 
    define KernelPackage/ssb-gige/description 
    800830 Kernel modules for Broadcom SSB Gigabit Ethernet adapters. 
    801831endef 
    802832$(eval $(call KernelPackage,ssb-gige)) 
     833 
     834 
     835define KernelPackage/gigaset 
     836  SUBMENU:=$(NETWORK_DEVICES_MENU) 
     837  TITLE:=Siemens Gigaset support (isdn) 
     838  DEPENDS:=@LINUX_2_6 +kmod-isdn4linux +kmod-ppp +kmod-crc-ccitt 
     839  URL:=http://gigaset307x.sourceforge.net/ 
     840  KCONFIG:= \ 
     841    CONFIG_ISDN_DRV_GIGASET \ 
     842    CONFIG_GIGASET_UNDOCREQ=y 
     843  FILES:=$(LINUX_DIR)/drivers/isdn/gigaset/gigaset.$(LINUX_KMOD_SUFFIX) 
     844  AUTOLOAD:=$(call AutoLoad,70,gigaset) 
     845endef 
     846 
     847define KernelPackage/gigaset/description 
     848 This driver supports the Siemens Gigaset SX205/255 family of 
     849 ISDN DECT bases, including the predecessors Gigaset 3070/3075 
     850 and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus 
     851 721X. 
     852endef 
     853 
     854$(eval $(call KernelPackage,gigaset)) 
     855 
     856 
     857define KernelPackage/gigaset-base 
     858  $(call KernelPackage/gigaset) 
     859  TITLE:=Gigaset base station support 
     860  DEPENDS+= @USB_SUPPORT +kmod-gigaset +kmod-usb-core 
     861  KCONFIG:=CONFIG_GIGASET_BASE 
     862  FILES:=$(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.$(LINUX_KMOD_SUFFIX) 
     863  AUTOLOAD:=$(call AutoLoad,80,bas_gigaset) 
     864endef 
     865 
     866$(eval $(call KernelPackage,gigaset-base)) 
     867 
     868 
     869define KernelPackage/gigaset-ser 
     870  $(call KernelPackage/gigaset) 
     871  TITLE:=Gigaset M101 support 
     872  DEPENDS+= +kmod-gigaset 
     873  KCONFIG:=CONFIG_GIGASET_M101 
     874  FILES:=$(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.$(LINUX_KMOD_SUFFIX) 
     875  AUTOLOAD:=$(call AutoLoad,80,ser_gigaset) 
     876endef 
     877 
     878$(eval $(call KernelPackage,gigaset-ser)) 
     879 
     880 
     881define KernelPackage/gigaset-usb 
     882  $(call KernelPackage/gigaset) 
     883  TITLE:=Gigaset M105 support 
     884  DEPENDS+= @USB_SUPPORT +kmod-gigaset +kmod-usb-core 
     885  KCONFIG:=CONFIG_GIGASET_M105 
     886  FILES:=$(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.$(LINUX_KMOD_SUFFIX) 
     887  AUTOLOAD:=$(call AutoLoad,80,usb_gigaset) 
     888endef 
     889 
     890$(eval $(call KernelPackage,gigaset-usb)) 
     891 
  • target/linux/generic-2.6/config-2.6.21

    diff --git a/target/linux/generic-2.6/config-2.6.21 b/target/linux/generic-2.6/config-2.6.21
    index d2f8b03..753eb75 100644
    a b CONFIG_GENERIC_HARDIRQS=y 
    326326CONFIG_GENERIC_HWEIGHT=y 
    327327CONFIG_GENERIC_IRQ_PROBE=y 
    328328CONFIG_GENERIC_TIME=y 
     329# CONFIG_GIGASET_BASE is not set 
     330# CONFIG_GIGASET_DEBUG is not set 
     331# CONFIG_GIGASET_M101 is not set 
     332# CONFIG_GIGASET_M105 is not set 
    329333# CONFIG_GFS2_FS is not set 
    330334CONFIG_GPIO_DEVICE=m 
    331335# CONFIG_HAMACHI is not set 
    CONFIG_HOTPLUG=y 
    351355# CONFIG_HUGETLB_PAGE is not set 
    352356# CONFIG_HWMON is not set 
    353357# CONFIG_HWMON_VID is not set 
     358# CONFIG_HYSDN is not set 
    354359CONFIG_HZ=100 
    355360CONFIG_HZ_100=y 
    356361# CONFIG_HZ_1000 is not set 
    CONFIG_ISDN_CAPI_CAPI20=m 
    603608CONFIG_ISDN_CAPI_CAPIFS=m 
    604609CONFIG_ISDN_CAPI_CAPIFS_BOOL=y 
    605610CONFIG_ISDN_CAPI_MIDDLEWARE=y 
     611# CONFIG_ISDN_DRV_ACT2000 is not set 
    606612# CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON is not set 
     613# CONFIG_ISDN_DRV_GIGASET is not set 
     614# CONFIG_ISDN_DRV_HISAX is not set 
     615# CONFIG_ISDN_DRV_ICN is not set 
     616# CONFIG_ISDN_DRV_PCBIT is not set 
     617# CONFIG_ISDN_DRV_SC is not set 
    607618# CONFIG_ISDN_I4L is not set 
    608619CONFIG_ISO9660_FS=m 
    609620# CONFIG_IXGB is not set 
  • target/linux/generic-2.6/config-2.6.23

    diff --git a/target/linux/generic-2.6/config-2.6.23 b/target/linux/generic-2.6/config-2.6.23
    index 74d37d8..0d994b5 100644
    a b CONFIG_GENERIC_HARDIRQS=y 
    355355CONFIG_GENERIC_HWEIGHT=y 
    356356CONFIG_GENERIC_IRQ_PROBE=y 
    357357CONFIG_GENERIC_TIME=y 
     358# CONFIG_GIGASET_BASE is not set 
     359# CONFIG_GIGASET_DEBUG is not set 
     360# CONFIG_GIGASET_M101 is not set 
     361# CONFIG_GIGASET_M105 is not set 
    358362# CONFIG_GFS2_FS is not set 
    359363CONFIG_GPIO_DEVICE=m 
    360364# CONFIG_HAMACHI is not set 
    CONFIG_HOTPLUG=y 
    384388# CONFIG_HUGETLB_PAGE is not set 
    385389# CONFIG_HWMON is not set 
    386390# CONFIG_HWMON_VID is not set 
     391# CONFIG_HYSDN is not set 
    387392CONFIG_HZ=100 
    388393CONFIG_HZ_100=y 
    389394# CONFIG_HZ_1000 is not set 
    CONFIG_ISDN_CAPI_CAPI20=m 
    649654CONFIG_ISDN_CAPI_CAPIFS=m 
    650655CONFIG_ISDN_CAPI_CAPIFS_BOOL=y 
    651656CONFIG_ISDN_CAPI_MIDDLEWARE=y 
     657# CONFIG_ISDN_DRV_ACT2000 is not set 
    652658# CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON is not set 
     659# CONFIG_ISDN_DRV_GIGASET is not set 
     660# CONFIG_ISDN_DRV_HISAX is not set 
     661# CONFIG_ISDN_DRV_ICN is not set 
     662# CONFIG_ISDN_DRV_PCBIT is not set 
     663# CONFIG_ISDN_DRV_SC is not set 
    653664# CONFIG_ISDN_I4L is not set 
    654665CONFIG_ISO9660_FS=m 
    655666# CONFIG_IXGB is not set 
  • target/linux/generic-2.6/config-2.6.24

    diff --git a/target/linux/generic-2.6/config-2.6.24 b/target/linux/generic-2.6/config-2.6.24
    index 63ae4d5..34710e3 100644
    a b CONFIG_GENERIC_HARDIRQS=y 
    364364CONFIG_GENERIC_HWEIGHT=y 
    365365CONFIG_GENERIC_IRQ_PROBE=y 
    366366CONFIG_GENERIC_TIME=y 
     367# CONFIG_GIGASET_BASE is not set 
     368# CONFIG_GIGASET_DEBUG is not set 
     369# CONFIG_GIGASET_M101 is not set 
     370# CONFIG_GIGASET_M105 is not set 
    367371# CONFIG_GFS2_FS is not set 
    368372CONFIG_GPIO_DEVICE=m 
    369373# CONFIG_HAMACHI is not set 
    CONFIG_HOTPLUG=y 
    394398# CONFIG_HUGETLB_PAGE is not set 
    395399# CONFIG_HWMON is not set 
    396400# CONFIG_HWMON_VID is not set 
     401# CONFIG_HYSDN is not set 
    397402CONFIG_HZ=100 
    398403CONFIG_HZ_100=y 
    399404# CONFIG_HZ_1000 is not set 
    CONFIG_ISDN_CAPI_CAPI20=m 
    665670CONFIG_ISDN_CAPI_CAPIFS=m 
    666671CONFIG_ISDN_CAPI_CAPIFS_BOOL=y 
    667672CONFIG_ISDN_CAPI_MIDDLEWARE=y 
     673# CONFIG_ISDN_DRV_ACT2000 is not set 
    668674# CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON is not set 
     675# CONFIG_ISDN_DRV_GIGASET is not set 
     676# CONFIG_ISDN_DRV_HISAX is not set 
     677# CONFIG_ISDN_DRV_ICN is not set 
     678# CONFIG_ISDN_DRV_PCBIT is not set 
     679# CONFIG_ISDN_DRV_SC is not set 
    669680# CONFIG_ISDN_I4L is not set 
    670681CONFIG_ISO9660_FS=m 
    671682# CONFIG_IXGB is not set 
  • target/linux/generic-2.6/config-2.6.25

    diff --git a/target/linux/generic-2.6/config-2.6.25 b/target/linux/generic-2.6/config-2.6.25
    index 47c16a0..a7a3b19 100644
    a b CONFIG_GENERIC_HARDIRQS=y 
    374374CONFIG_GENERIC_HWEIGHT=y 
    375375CONFIG_GENERIC_IRQ_PROBE=y 
    376376CONFIG_GENERIC_TIME=y 
     377# CONFIG_GIGASET_BASE is not set 
     378# CONFIG_GIGASET_DEBUG is not set 
     379# CONFIG_GIGASET_M101 is not set 
     380# CONFIG_GIGASET_M105 is not set 
    377381# CONFIG_GFS2_FS is not set 
    378382CONFIG_GPIO_DEVICE=m 
    379383# CONFIG_GROUP_SCHED is not set 
    CONFIG_HOTPLUG=y 
    405409# CONFIG_HUGETLB_PAGE is not set 
    406410# CONFIG_HWMON is not set 
    407411# CONFIG_HWMON_VID is not set 
     412# CONFIG_HYSDN is not set 
    408413CONFIG_HZ=100 
    409414CONFIG_HZ_100=y 
    410415# CONFIG_HZ_1000 is not set 
    CONFIG_ISDN_CAPI_CAPI20=m 
    677682CONFIG_ISDN_CAPI_CAPIFS=m 
    678683CONFIG_ISDN_CAPI_CAPIFS_BOOL=y 
    679684CONFIG_ISDN_CAPI_MIDDLEWARE=y 
     685# CONFIG_ISDN_DRV_ACT2000 is not set 
    680686# CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON is not set 
     687# CONFIG_ISDN_DRV_GIGASET is not set 
     688# CONFIG_ISDN_DRV_HISAX is not set 
     689# CONFIG_ISDN_DRV_ICN is not set 
     690# CONFIG_ISDN_DRV_PCBIT is not set 
     691# CONFIG_ISDN_DRV_SC is not set 
    681692# CONFIG_ISDN_I4L is not set 
    682693CONFIG_ISO9660_FS=m 
    683694# CONFIG_IXGB is not set 
  • target/linux/generic-2.6/config-2.6.26

    diff --git a/target/linux/generic-2.6/config-2.6.26 b/target/linux/generic-2.6/config-2.6.26
    index 519975b..e8f5334 100644
    a b CONFIG_GENERIC_HARDIRQS=y 
    387387CONFIG_GENERIC_HWEIGHT=y 
    388388CONFIG_GENERIC_IRQ_PROBE=y 
    389389CONFIG_GENERIC_TIME=y 
     390# CONFIG_GIGASET_BASE is not set 
     391# CONFIG_GIGASET_DEBUG is not set 
     392# CONFIG_GIGASET_M101 is not set 
     393# CONFIG_GIGASET_M105 is not set 
    390394# CONFIG_GFS2_FS is not set 
    391395CONFIG_GPIO_DEVICE=m 
    392396# CONFIG_GPIO_MCP23S08 is not set 
    CONFIG_HOTPLUG=y 
    423427# CONFIG_HUGETLB_PAGE is not set 
    424428# CONFIG_HWMON is not set 
    425429# CONFIG_HWMON_VID is not set 
     430# CONFIG_HYSDN is not set 
    426431CONFIG_HZ=100 
    427432CONFIG_HZ_100=y 
    428433# CONFIG_HZ_1000 is not set 
    CONFIG_ISDN_CAPI_CAPI20=m 
    697702CONFIG_ISDN_CAPI_CAPIFS=m 
    698703CONFIG_ISDN_CAPI_CAPIFS_BOOL=y 
    699704CONFIG_ISDN_CAPI_MIDDLEWARE=y 
     705# CONFIG_ISDN_DRV_ACT2000 is not set 
    700706# CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON is not set 
     707# CONFIG_ISDN_DRV_GIGASET is not set 
     708# CONFIG_ISDN_DRV_HISAX is not set 
     709# CONFIG_ISDN_DRV_ICN is not set 
     710# CONFIG_ISDN_DRV_PCBIT is not set 
     711# CONFIG_ISDN_DRV_SC is not set 
    701712# CONFIG_ISDN_I4L is not set 
    702713CONFIG_ISO9660_FS=m 
    703714# CONFIG_IXGB is not set 
  • target/linux/generic-2.6/config-2.6.27

    diff --git a/target/linux/generic-2.6/config-2.6.27 b/target/linux/generic-2.6/config-2.6.27
    index 3ee5ddd..7a9912b 100644
    a b CONFIG_GENERIC_HARDIRQS=y 
    403403CONFIG_GENERIC_HWEIGHT=y 
    404404CONFIG_GENERIC_IRQ_PROBE=y 
    405405CONFIG_GENERIC_TIME=y 
     406# CONFIG_GIGASET_BASE is not set 
     407# CONFIG_GIGASET_DEBUG is not set 
     408# CONFIG_GIGASET_M101 is not set 
     409# CONFIG_GIGASET_M105 is not set 
    406410# CONFIG_GFS2_FS is not set 
    407411CONFIG_GPIO_DEVICE=m 
    408412# CONFIG_GPIO_MCP23S08 is not set 
    CONFIG_HOTPLUG=y 
    448452# CONFIG_HUGETLB_PAGE is not set 
    449453# CONFIG_HWMON is not set 
    450454# CONFIG_HWMON_VID is not set 
     455# CONFIG_HYSDN is not set 
    451456CONFIG_HZ=100 
    452457CONFIG_HZ_100=y 
    453458# CONFIG_HZ_1000 is not set 
    CONFIG_ISDN_CAPI_CAPI20=m 
    729734CONFIG_ISDN_CAPI_CAPIFS=m 
    730735CONFIG_ISDN_CAPI_CAPIFS_BOOL=y 
    731736CONFIG_ISDN_CAPI_MIDDLEWARE=y 
     737# CONFIG_ISDN_DRV_ACT2000 is not set 
    732738# CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON is not set 
     739# CONFIG_ISDN_DRV_GIGASET is not set 
     740# CONFIG_ISDN_DRV_HISAX is not set 
     741# CONFIG_ISDN_DRV_ICN is not set 
     742# CONFIG_ISDN_DRV_PCBIT is not set 
     743# CONFIG_ISDN_DRV_SC is not set 
    733744# CONFIG_ISDN_I4L is not set 
    734745CONFIG_ISO9660_FS=m 
    735746# CONFIG_IWLWIFI_LEDS is not set