summaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia/Config.in
blob: 7a32e5d553b93e41ad8342d61ad221485bee3692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# PCMCIA character device configuration
#

mainmenu_option next_comment
comment 'PCMCIA character device support'

if [ "$CONFIG_SERIAL" = "n" -o "$CONFIG_PCMCIA" = "n" ]; then
   define_bool CONFIG_PCMCIA_SERIAL n
else
   if [ "$CONFIG_SERIAL" = "m" -o "$CONFIG_PCMCIA" = "m" ]; then
      define_bool CONFIG_PCMCIA_SERIAL m
   else
      define_bool CONFIG_PCMCIA_SERIAL y
   fi
fi

dep_tristate '  PCMCIA serial device support' CONFIG_PCMCIA_SERIAL_CS $CONFIG_PCMCIA_SERIAL
if [ "$CONFIG_CARDBUS" = "y" ]; then
   dep_tristate '  CardBus serial device support' CONFIG_PCMCIA_SERIAL_CB $CONFIG_PCMCIA_SERIAL
fi

if [ "$CONFIG_PCMCIA_SERIAL_CS" = "y" -o \
     "$CONFIG_PCMCIA_SERIAL_CB" = "y" ]; then
   define_bool CONFIG_PCMCIA_CHRDEV y
fi

endmenu