Config.in
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
- # drivers/sound/dmasound/Config.in
- if [ "$CONFIG_ATARI" = "y" ]; then
- dep_tristate ' Atari DMA sound support' CONFIG_DMASOUND_ATARI $CONFIG_SOUND
- fi
- if [ "$CONFIG_ALL_PPC" = "y" ]; then
- dep_tristate ' PowerMac DMA sound support' CONFIG_DMASOUND_PMAC $CONFIG_SOUND
- fi
- if [ "$CONFIG_AMIGA" = "y" -o "$CONFIG_APUS" = "y" ]; then
- dep_tristate ' Amiga DMA sound support' CONFIG_DMASOUND_PAULA $CONFIG_SOUND
- fi
- if [ "$CONFIG_Q40" = "y" ]; then
- dep_tristate ' Q40 sound support' CONFIG_DMASOUND_Q40 $CONFIG_SOUND
- fi
- if [ "$CONFIG_DMASOUND_ATARI" = "y" -o
- "$CONFIG_DMASOUND_PMAC" = "y" -o
- "$CONFIG_DMASOUND_PAULA" = "y" -o
- "$CONFIG_DMASOUND_Q40" = "y" ]; then
- define_tristate CONFIG_DMASOUND y
- else
- if [ "$CONFIG_DMASOUND_ATARI" = "m" -o
- "$CONFIG_DMASOUND_PMAC" = "m" -o
- "$CONFIG_DMASOUND_PAULA" = "m" -o
- "$CONFIG_DMASOUND_Q40" = "m" ]; then
- define_tristate CONFIG_DMASOUND m
- fi
- fi
- # the new dmasound_pmac driver needs access to the i2c bus
- if [ "$CONFIG_DMASOUND_PMAC" = "y" ] ; then
- define_tristate CONFIG_I2C y
- define_tristate CONFIG_I2C_KEYWEST y
- else
- if [ "$CONFIG_DMASOUND_PMAC" = "m" ] ; then
- define_tristate CONFIG_I2C m
- define_tristate CONFIG_I2C_KEYWEST m
- fi
- fi