Config.in
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. # drivers/sound/dmasound/Config.in
  2. if [ "$CONFIG_ATARI" = "y" ]; then
  3.    dep_tristate '  Atari DMA sound support' CONFIG_DMASOUND_ATARI $CONFIG_SOUND
  4. fi
  5. if [ "$CONFIG_ALL_PPC" = "y" ]; then
  6.    dep_tristate '  PowerMac DMA sound support' CONFIG_DMASOUND_PMAC $CONFIG_SOUND
  7. fi
  8. if [ "$CONFIG_AMIGA" = "y" -o "$CONFIG_APUS" = "y" ]; then
  9.    dep_tristate '  Amiga DMA sound support' CONFIG_DMASOUND_PAULA $CONFIG_SOUND
  10. fi
  11. if [ "$CONFIG_Q40" = "y" ]; then
  12.    dep_tristate '  Q40 sound support' CONFIG_DMASOUND_Q40 $CONFIG_SOUND
  13. fi
  14. if [ "$CONFIG_DMASOUND_ATARI" = "y" -o 
  15.      "$CONFIG_DMASOUND_PMAC" = "y" -o 
  16.      "$CONFIG_DMASOUND_PAULA" = "y" -o 
  17.      "$CONFIG_DMASOUND_Q40" = "y" ]; then
  18.    define_tristate CONFIG_DMASOUND y
  19. else
  20.    if [ "$CONFIG_DMASOUND_ATARI" = "m" -o 
  21. "$CONFIG_DMASOUND_PMAC" = "m" -o 
  22. "$CONFIG_DMASOUND_PAULA" = "m" -o 
  23. "$CONFIG_DMASOUND_Q40" = "m" ]; then
  24.       define_tristate CONFIG_DMASOUND m
  25.    fi
  26. fi
  27. # the new dmasound_pmac driver needs access to the i2c bus
  28. if [ "$CONFIG_DMASOUND_PMAC" = "y" ] ; then
  29.    define_tristate CONFIG_I2C y
  30.    define_tristate CONFIG_I2C_KEYWEST y
  31. else
  32.    if [ "$CONFIG_DMASOUND_PMAC" = "m" ] ; then
  33.    define_tristate CONFIG_I2C m
  34.    define_tristate CONFIG_I2C_KEYWEST m
  35.    fi
  36. fi