From: Nicolas Thill Date: Tue, 15 Nov 2005 01:57:38 +0000 (+0000) Subject: add pcmcia support for 2.4/brcm and serial_cs kernel module X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2b46821a9ac8ad7da9601073b96ad3a627fe9515;p=librecmc%2Flibrecmc.git add pcmcia support for 2.4/brcm and serial_cs kernel module SVN-Revision: 2490 --- diff --git a/openwrt/target/linux/Config.in b/openwrt/target/linux/Config.in index 9d402130a5..0c8d38a368 100644 --- a/openwrt/target/linux/Config.in +++ b/openwrt/target/linux/Config.in @@ -634,6 +634,12 @@ config BR2_PACKAGE_KMOD_PCMCIA_CORE tristate default m +config BR2_PACKAGE_KMOD_PCMCIA_SERIAL + prompt "kmod-pcmcia-serial.............. PCMCIA/CardBus serial device support" + tristate + default m + depends BR2_PACKAGE_KMOD_PCMCIA_CORE + comment "USB support" config BR2_PACKAGE_KMOD_USB diff --git a/openwrt/target/linux/control/kmod-pcmcia-serial.control b/openwrt/target/linux/control/kmod-pcmcia-serial.control new file mode 100644 index 0000000000..7e8a03c957 --- /dev/null +++ b/openwrt/target/linux/control/kmod-pcmcia-serial.control @@ -0,0 +1,4 @@ +Package: kmod-pcmcia-serial +Priority: optional +Section: sys +Description: PCMCIA/CardBus serial device support diff --git a/openwrt/target/linux/linux-2.4/Makefile b/openwrt/target/linux/linux-2.4/Makefile index 5a16a7ed6a..a42ba73d65 100644 --- a/openwrt/target/linux/linux-2.4/Makefile +++ b/openwrt/target/linux/linux-2.4/Makefile @@ -287,6 +287,10 @@ $(eval $(call KMOD_template,PCMCIA_CORE,pcmcia-core,\ $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.o \ ,CONFIG_PCMCIA,,50,pcmcia_core)) +$(eval $(call KMOD_template,PCMCIA_SERIAL,pcmcia-serial,\ + $(MODULES_DIR)/kernel/drivers/char/pcmcia/serial_cs.o \ +,CONFIG_PCMCIA_SERIAL_CS,kmod-pcmcia-core,51,serial_cs)) + # USB diff --git a/openwrt/target/linux/linux-2.4/config/brcm b/openwrt/target/linux/linux-2.4/config/brcm index 5e7626523e..3ddadba06e 100644 --- a/openwrt/target/linux/linux-2.4/config/brcm +++ b/openwrt/target/linux/linux-2.4/config/brcm @@ -145,7 +145,11 @@ CONFIG_HOTPLUG=y # # PCMCIA/CardBus support # -# CONFIG_PCMCIA is not set +CONFIG_PCMCIA=m +CONFIG_CARDBUS=y +# CONFIG_TCIC is not set +# CONFIG_I82092 is not set +# CONFIG_I82365 is not set # # PCI Hotplug Support @@ -695,6 +699,11 @@ CONFIG_SCSI_MULTI_LUN=y # CONFIG_SCSI_NSP32 is not set # CONFIG_SCSI_DEBUG is not set +# +# PCMCIA SCSI adapter support +# +# CONFIG_SCSI_PCMCIA is not set + # # Fusion MPT device support # @@ -834,6 +843,13 @@ CONFIG_WL=m # CONFIG_TMD_HERMES is not set # CONFIG_PCI_HERMES is not set +# +# Wireless Pcmcia cards support +# +# CONFIG_PCMCIA_HERMES is not set +# CONFIG_AIRO_CS is not set +# CONFIG_PCMCIA_ATMEL is not set + # # Prism54 PCI/PCMCIA GT/Duette Driver - 802.11(a/b/g) # @@ -853,6 +869,11 @@ CONFIG_SHAPER=m # # CONFIG_WAN is not set +# +# PCMCIA network device support +# +# CONFIG_NET_PCMCIA is not set + # # Amateur Radio support # @@ -994,6 +1015,12 @@ CONFIG_SOFT_WATCHDOG=y # # CONFIG_DRM is not set +# +# PCMCIA character devices +# +CONFIG_PCMCIA_SERIAL_CS=m +# CONFIG_SYNCLINK_CS is not set + # # File systems #