summaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/pcmcia/Config.in')
-rw-r--r--drivers/char/pcmcia/Config.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/char/pcmcia/Config.in b/drivers/char/pcmcia/Config.in
new file mode 100644
index 000000000..88545b788
--- /dev/null
+++ b/drivers/char/pcmcia/Config.in
@@ -0,0 +1,31 @@
+#
+# PCMCIA character device configuration
+#
+
+mainmenu_option next_comment
+comment 'PCMCIA character device support'
+
+if [ "$CONFIG_SERIAL" = "y" ]; then
+ dep_tristate ' PCMCIA serial device support' \
+ CONFIG_PCMCIA_SERIAL_CS $CONFIG_PCMCIA
+ if [ "$CONFIG_CARDBUS" = "y" ]; then
+ dep_tristate ' CardBus serial device support' \
+ CONFIG_PCMCIA_SERIAL_CB $CONFIG_PCMCIA
+ fi
+fi
+
+if [ "$CONFIG_SERIAL" = "m" ]; then
+ dep_tristate ' PCMCIA serial device support' \
+ CONFIG_PCMCIA_SERIAL_CS m
+ if [ "$CONFIG_CARDBUS" = "y" ]; then
+ dep_tristate ' CardBus serial device support' \
+ CONFIG_PCMCIA_SERIAL_CB m
+ fi
+fi
+
+if [ "$CONFIG_PCMCIA_SERIAL_CS" = "y" -o \
+ "$CONFIG_PCMCIA_SERIAL_CB" = "y" ]; then
+ define_bool CONFIG_PCMCIA_CHRDEV y
+fi
+
+endmenu