aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commit27b24d3694e4e8d508960c6cffe8a9d9e51cc6f1 (patch)
tree6e8f8888c6a6a9f5216ac6a2e3598d9048f626f6 /package
parent1064d5a460c7caac3c422f1132ca874b9e6ea613 (diff)
downloadmaster-187ad058-27b24d3694e4e8d508960c6cffe8a9d9e51cc6f1.tar.gz
master-187ad058-27b24d3694e4e8d508960c6cffe8a9d9e51cc6f1.tar.bz2
master-187ad058-27b24d3694e4e8d508960c6cffe8a9d9e51cc6f1.zip
Split out pcmcia core support from the socket drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13214 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 eacf970df3..bcfb448544 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