Split out pcmcia core support from the socket drivers

SVN-Revision: 13214
lede-17.01
Florian Fainelli 2008-11-15 12:28:36 +00:00
parent 0d4286b0b3
commit 4cacc7208c
1 changed files with 25 additions and 14 deletions

View File

@ -106,8 +106,7 @@ define KernelPackage/pcmcia-core/2.4
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/ds.$(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 ds)
AUTOLOAD:=$(call AutoLoad,40,pcmcia_core yenta_socket ds)
endef endef
define KernelPackage/pcmcia-core/2.6 define KernelPackage/pcmcia-core/2.6
@ -120,18 +119,8 @@ define KernelPackage/pcmcia-core/2.6
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(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)
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)
endef endef
define KernelPackage/pcmcia-core/description define KernelPackage/pcmcia-core/description
@ -140,6 +129,28 @@ endef
$(eval $(call KernelPackage,pcmcia-core)) $(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 define KernelPackage/pcmcia-bcm63xx
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=Broadcom BCM63xx PCMCIA support TITLE:=Broadcom BCM63xx PCMCIA support