[package] kernel: fix kmod-pcmcia-yenta on 2.4
authorNicolas Thill <nico@openwrt.org>
Thu, 11 Mar 2010 16:37:11 +0000 (16:37 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 11 Mar 2010 16:37:11 +0000 (16:37 +0000)
SVN-Revision: 20147

package/kernel/modules/other.mk

index d3f1df8..6c7f42c 100644 (file)
@@ -170,7 +170,19 @@ define KernelPackage/pcmcia-yenta
   SUBMENU:=$(OTHER_MENU)
   TITLE:=yenta socket driver
   DEPENDS:=kmod-pcmcia-core
-  KCONFIG:=CONFIG_YENTA
+  KCONFIG:= \
+       CONFIG_PCMCIA \
+       CONFIG_CARDBUS \
+       CONFIG_YENTA
+endef
+
+define KernelPackage/pcmcia-yenta/2.4
+  FILES:= \
+       $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,41,yenta_socket)
+endef
+
+define KernelPackage/pcmcia-yenta/2.6
   FILES:= \
        $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
        $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
@@ -179,6 +191,7 @@ endef
 
 $(eval $(call KernelPackage,pcmcia-yenta))
 
+
 define KernelPackage/pcmcia-au1000
   SUBMENU:=$(OTHER_MENU)
   TITLE:=RMI/AMD Au1000 PCMCIA support