Bug in tkparse or the Serial PCMCIA Config.in?

Miles Lane (miles@amazon.com)
Wed, 29 Dec 1999 23:49:25 -0800


Hi,

When I step through the "PCMCIA serial device support" dialog
in "make xconfig", I see two sets of dep_tristate selection
options. None of them work. The first two (CONFIG_PCMCIA_SERIAL_CS
and CONFIG_PCMCIA_SERIAL_CB) look okay but selecting an option
doesn't succeed in enabling the radio button. The second redundant
set of selection lines for CONFIG_PCMCIA_SERIAL_CS and
CONFIG_PCMCIA_SERIAL_CS show all options grayed out (not selectable).

Here's what shows up in my kconfig.tk file:

dep_tristate $w.config.f 36 0 "PCMCIA serial device support"
CONFIG_PCMCIA_SERIAL_CS
dep_tristate $w.config.f 36 1 "CardBus serial device support"
CONFIG_PCMCIA_SERIAL_CB
dep_tristate $w.config.f 36 2 "PCMCIA serial device support"
CONFIG_PCMCIA_SERIAL_CS
dep_tristate $w.config.f 36 3 "CardBus serial device support"
CONFIG_PCMCIA_SERIAL_CB

I have checked the contents of linux/drivers/char/pcmcia/Config.in and
as far as I can tell, everything is in order. Here is what is in my
copy
of the file:

#
# 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/