aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-12 12:09:15 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-12 12:09:15 +0000
commit7ea8f5dbd4d734e37a1a8c907227074ee22ea944 (patch)
treee9c6e49a5c19e438d0fa07754e64e04eb25a299f /package
parent42ddac5a1b502285b4ac9741271d6e1010a3fca5 (diff)
downloadupstream-7ea8f5dbd4d734e37a1a8c907227074ee22ea944.tar.gz
upstream-7ea8f5dbd4d734e37a1a8c907227074ee22ea944.tar.bz2
upstream-7ea8f5dbd4d734e37a1a8c907227074ee22ea944.zip
[package] fix isdn4linux kernel modules with the 2.4.37 update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16799 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/netsupport.mk21
1 files changed, 16 insertions, 5 deletions
diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk
index 04cdb061fc..789c655e14 100644
--- a/package/kernel/modules/netsupport.mk
+++ b/package/kernel/modules/netsupport.mk
@@ -118,7 +118,6 @@ define KernelPackage/isdn4linux
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Old ISDN4Linux (deprecated)
KCONFIG:= \
- CONFIG_ISDN=y \
CONFIG_ISDN_I4L \
CONFIG_ISDN_PPP=y \
CONFIG_ISDN_PPP_VJ=y \
@@ -137,14 +136,26 @@ define KernelPackage/isdn4linux
CONFIG_ISDN_DRV_LOOP=n \
CONFIG_ISDN_DRV_PCBIT=n \
CONFIG_ISDN_DRV_SC=n \
- CONFIG_HYSDN=n
+ CONFIG_HYSDN=n \
FILES:= \
- $(LINUX_DIR)/drivers/isdn/i4l/isdn.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.$(LINUX_KMOD_SUFFIX)
+ $(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