Fix dependencies for radio-miropcm20

From: Jocelyn Mayer (jocelyn.mayer@netgem.com)
Date: Sat Feb 03 2001 - 15:25:45 EST

  • Next message: H. Peter Anvin: "Re: [patch] tmpfs for 2.4.1"

    I made a very little patch to avoid
    people complaining that the kernel doesn't compile
    properly when trying to use radio miropcm20 driver.
    (I've seen some of this in french newsgroups...)

    This driver always needs the ACI mixer,
    so this feature should be enabled when we select
    the miropcm driver.
    For this, I think we have to change: (in 2.4.0 kernel)

    --- Config.in-orig Sat Feb 3 21:12:16 2001
                                                                            
                                 
    +++ Config.in Sat Feb 3 21:18:48 2001
                                                                            
                                 
    @@ -22,7 +22,7 @@
                                                                            
                                 
       hex ' GemTek i/o port (0x20c, 0x30c, 0x24c or 0x34c)'
    CONFIG_RADIO_GEMTEK_PORT 34c
                                           
    fi
                                                                            
                               
    dep_tristate ' Maestro on board radio' CONFIG_RADIO_MAESTRO
    $CONFIG_VIDEO_DEV
                                           
    -dep_tristate ' Miro PCM20 Radio' CONFIG_RADIO_MIROPCM20
    $CONFIG_VIDEO_DEV
                                               
    +dep_tristate ' Miro PCM20 Radio' CONFIG_RADIO_MIROPCM20
    $CONFIG_VIDEO_DEV $CONFIG_SOUND_ACI_MIXER
                                               
    dep_tristate ' SF16FMI Radio' CONFIG_RADIO_SF16FMI $CONFIG_VIDEO_DEV
                                                                            
                               
    if [ "$CONFIG_RADIO_SF16FMI" = "y" ]; then
                                                                            
                               
       hex ' SF16FMI I/O port (0x284 or 0x384)' CONFIG_RADIO_SF16FMI_PORT
    284
                               

    With regards.

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



    This archive was generated by hypermail 2b29 : Sat Feb 03 2001 - 15:27:05 EST