summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-11-15 12:28:36 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-11-15 12:28:36 +0000
commit4cacc7208ce77118aca13669fdffa1b8a5766b22 (patch)
treed50efa85c580b2a7735be7c48e9ce8b89bc6faa9
parent0d4286b0b3a6ea201346bee09a2fe0cf35844333 (diff)
downloadmtk-20170518-4cacc7208ce77118aca13669fdffa1b8a5766b22.zip
mtk-20170518-4cacc7208ce77118aca13669fdffa1b8a5766b22.tar.gz
mtk-20170518-4cacc7208ce77118aca13669fdffa1b8a5766b22.tar.bz2
Split out pcmcia core support from the socket drivers
SVN-Revision: 13214
-rw-r--r--package/kernel/modules/other.mk39
1 files changed, 25 insertions, 14 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index eacf970..bcfb448 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -106,8 +106,7 @@ define KernelPackage/pcmcia-core/2.4
FILES:= \
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,40,pcmcia_core yenta_socket ds)
+ AUTOLOAD:=$(call AutoLoad,40,pcmcia_core ds)
endef
define KernelPackage/pcmcia-core/2.6
@@ -120,18 +119,8 @@ define KernelPackage/pcmcia-core/2.6
FILES:= \
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket)
-endef
-
-define KernelPackage/pcmcia-core/au1000-2.6
- FILES:= \
- $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic au1x00_ss)
+ $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic)
endef
define KernelPackage/pcmcia-core/description
@@ -140,6 +129,28 @@ endef
$(eval $(call KernelPackage,pcmcia-core))
+
+define KernelPackage/pcmcia-yenta
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=yenta socket driver
+ DEPENDS:=kmod-pcmcia-core
+ KCONFIG:=CONFIG_YENTA
+ FILES:=$(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,41,yenta_socket)
+endef
+
+$(eval $(call KernelPackage,pcmcia-yenta))
+
+define KernelPackage/pcmcia-au1000
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=RMI/AMD Au1000 PCMCIA support
+ DEPENDS:=kmod-pcmcia-core @TARGET_au1000
+ FILES:=$(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,41,au1x00_ss)
+endef
+
+$(eval $(call KernelPackage,pcmcia-au1000))
+
define KernelPackage/pcmcia-bcm63xx
SUBMENU:=$(OTHER_MENU)
TITLE:=Broadcom BCM63xx PCMCIA support