gusextreme.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) gusextreme.c (dba8b46992c55946d3b092934f581a343403118f)
1/*
2 * Driver for Gravis UltraSound Extreme soundcards
3 * Copyright (c) by Jaroslav Kysela <perex@perex.cz>
4 *
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

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

312 else {
313 error = snd_opl3_hwdep_new(opl3, 0, 2, NULL);
314 if (error < 0)
315 goto out;
316 }
317
318 if (es1688->mpu_port >= 0x300) {
319 error = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688,
1/*
2 * Driver for Gravis UltraSound Extreme soundcards
3 * Copyright (c) by Jaroslav Kysela <perex@perex.cz>
4 *
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

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

312 else {
313 error = snd_opl3_hwdep_new(opl3, 0, 2, NULL);
314 if (error < 0)
315 goto out;
316 }
317
318 if (es1688->mpu_port >= 0x300) {
319 error = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688,
320 es1688->mpu_port, 0,
321 mpu_irq[n], IRQF_DISABLED, NULL);
320 es1688->mpu_port, 0, mpu_irq[n], NULL);
322 if (error < 0)
323 goto out;
324 }
325
326 sprintf(card->longname, "Gravis UltraSound Extreme at 0x%lx, "
327 "irq %i&%i, dma %i&%i", es1688->port,
328 gus->gf1.irq, es1688->irq, gus->gf1.dma1, es1688->dma8);
329

--- 45 unchanged lines hidden ---
321 if (error < 0)
322 goto out;
323 }
324
325 sprintf(card->longname, "Gravis UltraSound Extreme at 0x%lx, "
326 "irq %i&%i, dma %i&%i", es1688->port,
327 gus->gf1.irq, es1688->irq, gus->gf1.dma1, es1688->dma8);
328

--- 45 unchanged lines hidden ---