cmi8330.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) | cmi8330.c (dba8b46992c55946d3b092934f581a343403118f) |
---|---|
1/* 2 * Driver for C-Media's CMI8330 and CMI8329 soundcards. 3 * Copyright (c) by George Talusan <gstalusan@uwaterloo.ca> 4 * http://www.undergrad.math.uwaterloo.ca/~gstalusa 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 583 unchanged lines hidden (view full) --- 592 if (err < 0) 593 return err; 594 } 595 } 596 597 if (mpuport[dev] != SNDRV_AUTO_PORT) { 598 if (snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, 599 mpuport[dev], 0, mpuirq[dev], | 1/* 2 * Driver for C-Media's CMI8330 and CMI8329 soundcards. 3 * Copyright (c) by George Talusan <gstalusan@uwaterloo.ca> 4 * http://www.undergrad.math.uwaterloo.ca/~gstalusa 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 583 unchanged lines hidden (view full) --- 592 if (err < 0) 593 return err; 594 } 595 } 596 597 if (mpuport[dev] != SNDRV_AUTO_PORT) { 598 if (snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, 599 mpuport[dev], 0, mpuirq[dev], |
600 IRQF_DISABLED, NULL) < 0) | 600 NULL) < 0) |
601 printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", 602 mpuport[dev]); 603 } 604 605 strcpy(card->driver, (acard->type == CMI8329) ? "CMI8329" : "CMI8330/C3D"); 606 strcpy(card->shortname, (acard->type == CMI8329) ? "C-Media CMI8329" : "C-Media CMI8330/C3D"); 607 sprintf(card->longname, "%s at 0x%lx, irq %d, dma %d", 608 card->shortname, --- 174 unchanged lines hidden --- | 601 printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", 602 mpuport[dev]); 603 } 604 605 strcpy(card->driver, (acard->type == CMI8329) ? "CMI8329" : "CMI8330/C3D"); 606 strcpy(card->shortname, (acard->type == CMI8329) ? "C-Media CMI8329" : "C-Media CMI8330/C3D"); 607 sprintf(card->longname, "%s at 0x%lx, irq %d, dma %d", 608 card->shortname, --- 174 unchanged lines hidden --- |