+define KernelPackage/misdn
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=mISDN (ISDN) Support
+ KCONFIG:= \
+ CONFIG_ISDN=y \
+ CONFIG_MISDN \
+ CONFIG_MISDN_DSP \
+ CONFIG_MISDN_L1OIP \
+ CONFIG_ISDN_PPP=n \
+ CONFIG_ISDN_AUDIO=n \
+ CONFIG_ISDN_WITH_ABC=n \
+ CONFIG_ISDN_DRV_LOOP=n \
+ CONFIG_ISDN_DIVERSION=n \
+ CONFIG_ISDN_DRV_HISAX=n \
+ CONFIG_ISDN_DRV_ICN=n \
+ CONFIG_ISDN_DRV_PCBIT=n \
+ CONFIG_ISDN_DRV_SC=n \
+ CONFIG_ISDN_DRV_ACT2000=n \
+ CONFIG_ISDN_DRV_EICON=n \
+ CONFIG_ISDN_DRV_TPAM=n \
+ CONFIG_HYSDN=n
+ FILES:= \
+ $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_core.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/isdn/mISDN/mISDN_dsp.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/isdn/mISDN/l1oip.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,30,mISDN_core mISDN_dsp l1oip)
+endef
+
+define KernelPackage/misdn/description
+ Modular ISDN driver support
+endef
+
+$(eval $(call KernelPackage,misdn))
+
+
+define KernelPackage/isdn4linux
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ TITLE:=Old ISDN4Linux (deprecated)
+ KCONFIG:= \
+ CONFIG_ISDN_I4L \
+ CONFIG_ISDN_PPP=y \
+ CONFIG_ISDN_PPP_VJ=y \
+ CONFIG_ISDN_MPP=y \
+ CONFIG_IPPP_FILTER=y \
+ CONFIG_ISDN_PPP_BSDCOMP \
+ CONFIG_ISDN_AUDIO=y \
+ CONFIG_ISDN_TTY_FAX=y \
+ CONFIG_ISDN_X25=y \
+ CONFIG_ISDN_DIVERSION \
+ CONFIG_ISDN_CAPI_CAPIDRV=n \
+ CONFIG_ISDN_DRV_ACT2000=n \
+ CONFIG_ISDN_DRV_GIGASET=n \
+ CONFIG_ISDN_DRV_HISAX=n \
+ CONFIG_ISDN_DRV_ICN=n \
+ CONFIG_ISDN_DRV_LOOP=n \
+ CONFIG_ISDN_DRV_PCBIT=n \
+ CONFIG_ISDN_DRV_SC=n \
+ CONFIG_HYSDN=n
+ FILES:= \
+ $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert)
+endef
+
+define KernelPackage/isdn4linux/2.4
+ KCONFIG+= \
+ CONFIG_ISDN
+ FILES+= \
+ $(LINUX_DIR)/drivers/isdn/isdn.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/isdn/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX)
+endef
+
+define KernelPackage/isdn4linux/2.6
+ KCONFIG+= \
+ CONFIG_ISDN=y
+ FILES+= \
+ $(LINUX_DIR)/drivers/isdn/i4l/isdn.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX)
+endef
+
+define KernelPackage/isdn4linux/description
+ This driver allows you to use an ISDN adapter for networking
+endef
+
+$(eval $(call KernelPackage,isdn4linux))
+