Changeset 92 for GPL/branches/alsa-resync1/alsa-kernel/isa/cmi8330.c
- Timestamp:
- May 2, 2007, 9:13:43 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/isa/cmi8330.c
r32 r92 16 16 * You should have received a copy of the GNU General Public License 17 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 19 * 20 20 */ … … 44 44 */ 45 45 46 #define SNDRV_MAIN_OBJECT_FILE47 48 46 #include <sound/driver.h> 47 #include <linux/init.h> 48 #include <linux/slab.h> 49 #include <sound/core.h> 49 50 #include <sound/ad1848.h> 50 51 #include <sound/sb.h> … … 53 54 54 55 EXPORT_NO_SYMBOLS; 56 57 MODULE_AUTHOR("George Talusan <gstalusan@uwaterloo.ca>"); 55 58 MODULE_DESCRIPTION("C-Media CMI8330"); 59 MODULE_LICENSE("GPL"); 56 60 MODULE_CLASSES("{sound}"); 57 61 MODULE_DEVICES("{{C-Media,CMI8330,isapnp:{CMI0001,@@@0001,@X@0001}}}"); … … 75 79 static int snd_wssdma[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; 76 80 77 MODULE_AUTHOR("George Talusan <gstalusan@uwaterloo.ca>");78 81 MODULE_PARM(snd_index, "1-" __MODULE_STRING(SNDRV_CARDS) "i"); 79 82 MODULE_PARM_DESC(snd_index, "Index value for CMI8330 soundcard."); … … 499 502 if (!cards) { 500 503 #ifdef MODULE 501 snd_printk("CMI8330 not found or device busy\n");504 printk(KERN_ERR "CMI8330 not found or device busy\n"); 502 505 #endif 503 506 return -ENODEV; … … 511 514 #ifndef MODULE 512 515 513 /* format is: snd-c ard-cmi8330=snd_enable,snd_index,snd_id,snd_isapnp,516 /* format is: snd-cmi8330=snd_enable,snd_index,snd_id,snd_isapnp, 514 517 snd_sbport,snd_sbirq, 515 518 snd_sbdma8,snd_sbdma16, … … 532 535 get_option(&str,&snd_sbdma8[nr_dev]) == 2 && 533 536 get_option(&str,&snd_sbdma16[nr_dev]) == 2 && 534 get_option(&str, &snd_wssport[nr_dev]) == 2 &&537 get_option(&str,(int *)&snd_wssport[nr_dev]) == 2 && 535 538 get_option(&str,&snd_wssirq[nr_dev]) == 2 && 536 539 get_option(&str,&snd_wssdma[nr_dev]) == 2); … … 543 546 } 544 547 545 __setup("snd-c ard-cmi8330=", alsa_card_cmi8330_setup);548 __setup("snd-cmi8330=", alsa_card_cmi8330_setup); 546 549 547 550 #endif /* ifndef MODULE */
Note:
See TracChangeset
for help on using the changeset viewer.