Ignore:
Timestamp:
May 23, 2010, 10:17:06 PM (15 years ago)
Author:
David Azarewicz
Message:

Added quirk for Gateway 2000 ICH2/AD1885

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/intel8x0.c

    r464 r485  
    2525
    2626 *
    27  */     
     27 */
    2828
    2929#include <asm/io.h>
     
    269269
    270270/* interrupts for the whole chip by interrupt status register finish */
    271  
     271
    272272#define ALI_INT_MICIN2          (1<<26)
    273273#define ALI_INT_PCMIN2          (1<<25)
     
    313313
    314314/*
    315  * 
     315 *
    316316 */
    317317
     
    544544        return -EBUSY;
    545545}
    546  
     546
    547547static void snd_intel8x0_codec_write(struct snd_ac97 *ac97,
    548548                                     unsigned short reg,
     
    662662 * DMA I/O
    663663 */
    664 static void snd_intel8x0_setup_periods(struct intel8x0 *chip, struct ichdev *ichdev) 
     664static void snd_intel8x0_setup_periods(struct intel8x0 *chip, struct ichdev *ichdev)
    665665{
    666666        int idx;
     
    886886                        /* clear FIFO for synchronization of channels */
    887887                        fifo = igetdword(chip, fiforeg[ichdev->ali_slot / 4]);
    888                         fifo &= ~(0xff << (ichdev->ali_slot % 4)); 
    889                         fifo |= 0x83 << (ichdev->ali_slot % 4); 
     888                        fifo &= ~(0xff << (ichdev->ali_slot % 4));
     889                        fifo |= 0x83 << (ichdev->ali_slot % 4);
    890890                        iputdword(chip, fiforeg[ichdev->ali_slot / 4], fifo);
    891891                }
     
    17531753
    17541754static struct ac97_quirk ac97_quirks[] __devinitdata = {
    1755         {
     1755    {
    17561756                .subvendor = 0x0e11,
    17571757                .subdevice = 0x000e,
    17581758                .name = "Compaq Deskpro EN",    /* AD1885 */
    17591759                .type = AC97_TUNE_HP_ONLY
    1760         },
     1760    },
    17611761        {
    17621762                .subvendor = 0x0e11,
     
    17711771                .type = AC97_TUNE_HP_ONLY
    17721772        },
    1773         {
     1773    {
    17741774                .subvendor = 0x0e11,
    17751775                .subdevice = 0x0860,
    17761776                .name = "HP/Compaq nx7010",
    17771777                .type = AC97_TUNE_MUTE_LED
    1778         },
     1778    },
    17791779        {
    17801780                .subvendor = 0x1014,
     
    20512051                .subdevice = 0x0088,
    20522052                .name = "Fujitsu-Siemens D1522",        /* AD1981 */
     2053                .type = AC97_TUNE_HP_ONLY
     2054        },
     2055        {
     2056                .subvendor = 0x107B,
     2057                .subdevice = 0x0111,
     2058                .name = "Gateway 2000 ICH2/AD1885",
    20532059                .type = AC97_TUNE_HP_ONLY
    20542060        },
Note: See TracChangeset for help on using the changeset viewer.