From 3a163a35e98b03760dbda1e48c7fba2ba481e738 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Tue, 15 Nov 2005 01:57:38 +0000 Subject: add pcmcia support for 2.4/brcm and serial_cs kernel module git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2490 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/Config.in | 6 +++++ target/linux/control/kmod-pcmcia-serial.control | 4 ++++ target/linux/linux-2.4/Makefile | 4 ++++ target/linux/linux-2.4/config/brcm | 29 ++++++++++++++++++++++++- 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 target/linux/control/kmod-pcmcia-serial.control diff --git a/target/linux/Config.in b/target/linux/Config.in index 9d402130a5..0c8d38a368 100644 --- a/target/linux/Config.in +++ b/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/target/linux/control/kmod-pcmcia-serial.control b/target/linux/control/kmod-pcmcia-serial.control new file mode 100644 index 0000000000..7e8a03c957 --- /dev/null +++ b/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/target/linux/linux-2.4/Makefile b/target/linux/linux-2.4/Makefile index 5a16a7ed6a..a42ba73d65 100644 --- a/target/linux/linux-2.4/Makefile +++ b/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/target/linux/linux-2.4/config/brcm b/target/linux/linux-2.4/config/brcm index 5e7626523e..3ddadba06e 100644 --- a/target/linux/linux-2.4/config/brcm +++ b/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 # -- cgit v1.2.3