mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
6b08a47263
New package kmod-pcmcia-nozomi to suppot Option Fusion+ HSDPA PCMCIA modem. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
114 lines
2.6 KiB
Makefile
114 lines
2.6 KiB
Makefile
#
|
|
# 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 \
|
|
CONFIG_PCMCIA_LOAD_CIS=y \
|
|
CONFIG_CARDBUS \
|
|
CONFIG_PCCARD \
|
|
PCMCIA_DEBUG=n
|
|
FILES:= \
|
|
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
|
|
$(LINUX_DIR)/drivers/pcmcia/pcmcia.ko
|
|
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))
|
|
|
|
|
|
define AddDepends/pcmcia
|
|
SUBMENU:=$(PCMCIA_MENU)
|
|
DEPENDS+=kmod-pcmcia-core $(1)
|
|
endef
|
|
|
|
|
|
define KernelPackage/pcmcia-rsrc
|
|
TITLE:=PCMCIA resource support
|
|
KCONFIG:=CONFIG_PCCARD_NONSTATIC=y
|
|
FILES:=$(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko
|
|
AUTOLOAD:=$(call AutoLoad,26,pcmcia_rsrc)
|
|
$(call AddDepends/pcmcia)
|
|
endef
|
|
|
|
define KernelPackage/pcmcia-rsrc/description
|
|
Kernel support for PCMCIA resource allocation
|
|
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
|
|
AUTOLOAD:=$(call AutoLoad,41,yenta_socket)
|
|
DEPENDS:=+kmod-pcmcia-rsrc
|
|
$(call AddDepends/pcmcia)
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,pcmcia-yenta))
|
|
|
|
|
|
define KernelPackage/pcmcia-serial
|
|
TITLE:=Serial devices support
|
|
KCONFIG:= \
|
|
CONFIG_PCMCIA_SERIAL_CS \
|
|
CONFIG_SERIAL_8250_CS
|
|
FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/serial_cs.ko
|
|
AUTOLOAD:=$(call AutoLoad,45,serial_cs)
|
|
DEPENDS:=+kmod-serial-8250
|
|
$(call AddDepends/pcmcia)
|
|
endef
|
|
|
|
define KernelPackage/pcmcia-serial/description
|
|
Kernel support for PCMCIA/CardBus serial devices
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,pcmcia-serial))
|
|
|
|
|
|
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))
|
|
|
|
|
|
define KernelPackage/pcmcia-nozomi
|
|
TITLE:=Option Fusion+ card
|
|
KCONFIG:=CONFIG_NOZOMI
|
|
FILES:=$(LINUX_DIR)/drivers/tty/nozomi.ko
|
|
AUTOLOAD:=$(call AutoLoad,60,nozomi)
|
|
DEPENDS:=+kmod-pcmcia-rsrc
|
|
$(call AddDepends/pcmcia)
|
|
endef
|
|
|
|
define KernelPackage/pcmcia-nozomi/description
|
|
Kernel support for Option Fusion+ card
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,pcmcia-nozomi))
|