Browse Source

kernel: fix kmod-pcmcia-yenta on 2.4

SVN-Revision: 20147
Nicolas Thill 16 years ago
parent
commit
c3ddcedf4a
1 changed files with 14 additions and 1 deletions
  1. 14 1
      package/kernel/modules/other.mk

+ 14 - 1
package/kernel/modules/other.mk

@@ -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