Ignore:
Timestamp:
Jul 26, 2007, 7:21:09 AM (18 years ago)
Author:
Brendan Oakley
Message:

Merged to Alsa 0.9.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified GPL/branches/alsa-resync1/alsa-kernel/isa/sb/sb16.c

    r212 r224  
    200200    { \
    201201    ISAPNP_CARD_ID(_va, _vb, _vc, _device), \
    202     devs : { ISAPNP_DEVICE_ID(_va, _vb, _vc, _audio), } \
     202                .devs = { ISAPNP_DEVICE_ID(_va, _vb, _vc, _audio), } \
    203203    }
    204204#define ISAPNP_SBAWE(_va, _vb, _vc, _device, _audio, _awe) \
    205205    { \
    206206    ISAPNP_CARD_ID(_va, _vb, _vc, _device), \
    207     devs : { ISAPNP_DEVICE_ID(_va, _vb, _vc, _audio), \
     207                .devs = { ISAPNP_DEVICE_ID(_va, _vb, _vc, _audio), \
    208208    ISAPNP_DEVICE_ID(_va, _vb, _vc, _awe), } \
    209209    }
     
    214214    /* Sound Blaster 16 PnP */
    215215    ISAPNP_SB16('C','T','L',0x0024,0x0031),
     216        /* Sound Blaster 16 PnP */
     217        ISAPNP_SB16('C','T','L',0x0025,0x0031),
    216218    /* Sound Blaster 16 PnP */
    217219    ISAPNP_SB16('C','T','L',0x0026,0x0031),
     
    235237    /* Sound Blaster Vibra16CL - added by ctm@ardi.com */
    236238    ISAPNP_SB16('C','T','L',0x0080,0x0041),
     239        /* Sound Blaster 16 'value' PnP. It says model ct4130 on the pcb, */
     240        /* but ct4131 on a sticker on the board.. */
     241        ISAPNP_SB16('C','T','L',0x0086,0x0041),
    237242    /* Sound Blaster Vibra16X */
    238243    ISAPNP_SB16('C','T','L',0x00f0,0x0043),
     
    664669                printk(KERN_ERR "Sound Blaster 16 soundcard not found or device busy\n");
    665670#ifdef SNDRV_SBAWE_EMU8000
    666                 printk(KERN_ERR "In case, if you have non-AWE card, try snd-card-sb16 module\n");
    667 #else
    668                 printk(KERN_ERR "In case, if you have AWE card, try snd-card-sbawe module\n");
     671                printk(KERN_ERR "In case, if you have non-AWE card, try snd-sb16 module\n");
     672#else
     673                printk(KERN_ERR "In case, if you have AWE card, try snd-sbawe module\n");
    669674#endif
    670675#endif
     
    697702        static unsigned __initdata nr_dev = 0;
    698703        int __attribute__ ((__unused__)) pnp = INT_MAX;
    699         int __attribute__ ((__unused__)) csp = INT_MAX;
     704        int __attribute__ ((__unused__)) xcsp = INT_MAX;
    700705
    701706        if (nr_dev >= SNDRV_CARDS)
     
    714719#ifdef CONFIG_SND_SB16_CSP
    715720               &&
    716                get_option(&str,&csp[nr_dev]) == 2
     721               get_option(&str,&xcsp) == 2
    717722#endif
    718723#ifdef SNDRV_SBAWE_EMU8000
     
    727732#endif
    728733#ifdef CONFIG_SND_SB16_CSP
    729         if (csp != INT_MAX)
    730                 csp[nr_dev] = csp;
     734        if (xcsp != INT_MAX)
     735                csp[nr_dev] = xcsp;
    731736#endif
    732737        nr_dev++;
Note: See TracChangeset for help on using the changeset viewer.