azt2320.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) azt2320.c (dba8b46992c55946d3b092934f581a343403118f)
1/*
2 card-azt2320.c - driver for Aztech Systems AZT2320 based soundcards.
3 Copyright (C) 1999-2000 by Massimo Piccioni <dafastidio@libero.it>
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.

--- 220 unchanged lines hidden (view full) ---

229 if (error < 0) {
230 snd_card_free(card);
231 return error;
232 }
233
234 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
235 if (snd_mpu401_uart_new(card, 0, MPU401_HW_AZT2320,
236 mpu_port[dev], 0,
1/*
2 card-azt2320.c - driver for Aztech Systems AZT2320 based soundcards.
3 Copyright (C) 1999-2000 by Massimo Piccioni <dafastidio@libero.it>
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.

--- 220 unchanged lines hidden (view full) ---

229 if (error < 0) {
230 snd_card_free(card);
231 return error;
232 }
233
234 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
235 if (snd_mpu401_uart_new(card, 0, MPU401_HW_AZT2320,
236 mpu_port[dev], 0,
237 mpu_irq[dev], IRQF_DISABLED,
238 NULL) < 0)
237 mpu_irq[dev], NULL) < 0)
239 snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]);
240 }
241
242 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
243 if (snd_opl3_create(card,
244 fm_port[dev], fm_port[dev] + 2,
245 OPL3_HW_AUTO, 0, &opl3) < 0) {
246 snd_printk(KERN_ERR PFX "no OPL device at 0x%lx-0x%lx\n",

--- 109 unchanged lines hidden ---
238 snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]);
239 }
240
241 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
242 if (snd_opl3_create(card,
243 fm_port[dev], fm_port[dev] + 2,
244 OPL3_HW_AUTO, 0, &opl3) < 0) {
245 snd_printk(KERN_ERR PFX "no OPL device at 0x%lx-0x%lx\n",

--- 109 unchanged lines hidden ---