Changeset 224 for GPL/branches/alsa-resync1/alsa-kernel/isa/sb/sb16.c
- Timestamp:
- Jul 26, 2007, 7:21:09 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified GPL/branches/alsa-resync1/alsa-kernel/isa/sb/sb16.c ¶
r212 r224 200 200 { \ 201 201 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), } \ 203 203 } 204 204 #define ISAPNP_SBAWE(_va, _vb, _vc, _device, _audio, _awe) \ 205 205 { \ 206 206 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), \ 208 208 ISAPNP_DEVICE_ID(_va, _vb, _vc, _awe), } \ 209 209 } … … 214 214 /* Sound Blaster 16 PnP */ 215 215 ISAPNP_SB16('C','T','L',0x0024,0x0031), 216 /* Sound Blaster 16 PnP */ 217 ISAPNP_SB16('C','T','L',0x0025,0x0031), 216 218 /* Sound Blaster 16 PnP */ 217 219 ISAPNP_SB16('C','T','L',0x0026,0x0031), … … 235 237 /* Sound Blaster Vibra16CL - added by ctm@ardi.com */ 236 238 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), 237 242 /* Sound Blaster Vibra16X */ 238 243 ISAPNP_SB16('C','T','L',0x00f0,0x0043), … … 664 669 printk(KERN_ERR "Sound Blaster 16 soundcard not found or device busy\n"); 665 670 #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"); 669 674 #endif 670 675 #endif … … 697 702 static unsigned __initdata nr_dev = 0; 698 703 int __attribute__ ((__unused__)) pnp = INT_MAX; 699 int __attribute__ ((__unused__))csp = INT_MAX;704 int __attribute__ ((__unused__)) xcsp = INT_MAX; 700 705 701 706 if (nr_dev >= SNDRV_CARDS) … … 714 719 #ifdef CONFIG_SND_SB16_CSP 715 720 && 716 get_option(&str,& csp[nr_dev]) == 2721 get_option(&str,&xcsp) == 2 717 722 #endif 718 723 #ifdef SNDRV_SBAWE_EMU8000 … … 727 732 #endif 728 733 #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; 731 736 #endif 732 737 nr_dev++;
Note:
See TracChangeset
for help on using the changeset viewer.