#
# IrDA protocol configuration
#

if [ "$CONFIG_NET" != "n" ] ; then

  mainmenu_option next_comment
  comment 'IrDA subsystem support'
  dep_tristate 'IrDA subsystem support' CONFIG_IRDA $CONFIG_NET

  if [ "$CONFIG_IRDA" != "n" ] ; then
    comment 'IrDA protocols'
    source net/irda/irlan/Config.in
    source net/irda/ircomm/Config.in
    source net/irda/irlpt/Config.in

    bool 'IrDA protocol options' CONFIG_IRDA_OPTIONS
    if [ "$CONFIG_IRDA_OPTIONS" != "n" ] ; then
      comment '   IrDA options'
      bool '   Cache last LSAP' CONFIG_IRDA_CACHE_LAST_LSAP
      bool '   Fast RRs' CONFIG_IRDA_FAST_RR
      bool '   Debug information' CONFIG_IRDA_DEBUG
    fi
  fi

  if [ "$CONFIG_IRDA" != "n" ] ; then
    source net/irda/compressors/Config.in
    source drivers/net/irda/Config.in
  fi
  endmenu
fi

