Files
openwrt/package/kernel/linux/modules/pcmcia.mk
T
Sander van Deijck 452b35cf4e kernel: drop stale KCONFIG symbols from kmod definitions
Remove KCONFIG symbols that no longer exist in kernel 6.18 from the kmod
definitions. Some were renamed and the new symbol is already listed in
the same package (e.g. CRYPTO_GF128MUL -> CRYPTO_LIB_GF128MUL,
USB_YEALINK -> INPUT_YEALINK, MEDIA_RC_SUPPORT -> RC_CORE). The others
belong to options and drivers that were removed upstream (e.g. CAN_LEDS,
E1000_NAPI, NF_FLOW_TABLE_HW, the Keyspan firmware options).

The generated package metadata is unchanged apart from the
Kernel-Config field of the affected packages.

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
Link: https://github.com/openwrt/openwrt/pull/25965
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-10-20 10:19:04 +02:00

113 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_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))