2010-04-24 13:53:31 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
PCMCIA_MENU:=PCMCIA support
|
|
|
|
|
|
|
|
define KernelPackage/pcmcia-core
|
|
|
|
SUBMENU:=$(PCMCIA_MENU)
|
|
|
|
TITLE:=PCMCIA/CardBus support
|
|
|
|
DEPENDS:=@PCMCIA_SUPPORT
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_PCMCIA \
|
2016-12-17 20:43:53 +00:00
|
|
|
CONFIG_PCMCIA_LOAD_CIS=y \
|
2010-04-24 13:53:31 +00:00
|
|
|
CONFIG_CARDBUS \
|
|
|
|
CONFIG_PCCARD \
|
|
|
|
PCMCIA_DEBUG=n
|
|
|
|
FILES:= \
|
2010-07-12 14:06:13 +00:00
|
|
|
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
|
|
|
|
$(LINUX_DIR)/drivers/pcmcia/pcmcia.ko
|
2010-04-24 13:53:31 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/pcmcia-core/description
|
|
|
|
Kernel support for PCMCIA/CardBus controllers
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,pcmcia-core))
|
|
|
|
|
2016-12-17 20:37:51 +00:00
|
|
|
|
|
|
|
define AddDepends/pcmcia
|
2010-04-24 13:53:31 +00:00
|
|
|
SUBMENU:=$(PCMCIA_MENU)
|
2016-12-17 20:37:51 +00:00
|
|
|
DEPENDS+=kmod-pcmcia-core $(1)
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/pcmcia-rsrc
|
2011-06-21 20:52:53 +00:00
|
|
|
TITLE:=PCMCIA resource support
|
|
|
|
KCONFIG:=CONFIG_PCCARD_NONSTATIC=y
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,26,pcmcia_rsrc)
|
2016-12-17 20:37:51 +00:00
|
|
|
$(call AddDepends/pcmcia)
|
2010-04-24 13:53:31 +00:00
|
|
|
endef
|
|
|
|
|
2011-06-21 20:52:53 +00:00
|
|
|
define KernelPackage/pcmcia-rsrc/description
|
2013-07-26 01:09:50 +00:00
|
|
|
Kernel support for PCMCIA resource allocation
|
2011-06-21 20:52:53 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,pcmcia-rsrc))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/pcmcia-yenta
|
|
|
|
TITLE:=yenta socket driver
|
|
|
|
KCONFIG:=CONFIG_YENTA
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/pcmcia/yenta_socket.ko
|
2016-12-17 20:30:42 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,41,yenta_socket)
|
2016-12-17 20:37:51 +00:00
|
|
|
DEPENDS:=+kmod-pcmcia-rsrc
|
|
|
|
$(call AddDepends/pcmcia)
|
2011-06-21 20:52:53 +00:00
|
|
|
endef
|
|
|
|
|
2010-04-24 13:53:31 +00:00
|
|
|
$(eval $(call KernelPackage,pcmcia-yenta))
|
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/pcmcia-serial
|
|
|
|
TITLE:=Serial devices support
|
|
|
|
KCONFIG:= \
|
|
|
|
CONFIG_PCMCIA_SERIAL_CS \
|
|
|
|
CONFIG_SERIAL_8250_CS
|
2016-12-17 20:37:51 +00:00
|
|
|
FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/serial_cs.ko
|
2010-04-24 13:53:31 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,45,serial_cs)
|
2016-12-17 20:37:51 +00:00
|
|
|
DEPENDS:=+kmod-serial-8250
|
|
|
|
$(call AddDepends/pcmcia)
|
2010-04-24 13:53:31 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/pcmcia-serial/description
|
|
|
|
Kernel support for PCMCIA/CardBus serial devices
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,pcmcia-serial))
|
2016-12-17 21:00:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
define KernelPackage/pcmcia-pd6729
|
|
|
|
TITLE:=Cirrus PD6729 compatible bridge support
|
|
|
|
KCONFIG:=CONFIG_PD6729
|
|
|
|
FILES:=$(LINUX_DIR)/drivers/pcmcia/pd6729.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,41,pd6729)
|
|
|
|
DEPENDS:=+kmod-pcmcia-rsrc
|
|
|
|
$(call AddDepends/pcmcia)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define KernelPackage/pcmcia-pd6729/description
|
|
|
|
Kernel support for the Cirrus PD6729 PCI-to-PCMCIA bridge
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,pcmcia-pd6729))
|