ad1816a.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) | ad1816a.c (dba8b46992c55946d3b092934f581a343403118f) |
---|---|
1 2/* 3 card-ad1816a.c - driver for ADI SoundPort AD1816A based soundcards. 4 Copyright (C) 2000 by Massimo Piccioni <dafastidio@libero.it> 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 --- 190 unchanged lines hidden (view full) --- 199 error = snd_ad1816a_timer(chip, 0, &timer); 200 if (error < 0) { 201 snd_card_free(card); 202 return error; 203 } 204 205 if (mpu_port[dev] > 0) { 206 if (snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, | 1 2/* 3 card-ad1816a.c - driver for ADI SoundPort AD1816A based soundcards. 4 Copyright (C) 2000 by Massimo Piccioni <dafastidio@libero.it> 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 --- 190 unchanged lines hidden (view full) --- 199 error = snd_ad1816a_timer(chip, 0, &timer); 200 if (error < 0) { 201 snd_card_free(card); 202 return error; 203 } 204 205 if (mpu_port[dev] > 0) { 206 if (snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401, |
207 mpu_port[dev], 0, mpu_irq[dev], IRQF_DISABLED, | 207 mpu_port[dev], 0, mpu_irq[dev], |
208 NULL) < 0) 209 printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", mpu_port[dev]); 210 } 211 212 if (fm_port[dev] > 0) { 213 if (snd_opl3_create(card, 214 fm_port[dev], fm_port[dev] + 2, 215 OPL3_HW_AUTO, 0, &opl3) < 0) { --- 79 unchanged lines hidden --- | 208 NULL) < 0) 209 printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", mpu_port[dev]); 210 } 211 212 if (fm_port[dev] > 0) { 213 if (snd_opl3_create(card, 214 fm_port[dev], fm_port[dev] + 2, 215 OPL3_HW_AUTO, 0, &opl3) < 0) { --- 79 unchanged lines hidden --- |