cs4236.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) cs4236.c (dba8b46992c55946d3b092934f581a343403118f)
1/*
2 * Driver for generic CS4232/CS4235/CS4236/CS4236B/CS4237B/CS4238B/CS4239 chips
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

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

444 }
445 }
446
447 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
448 if (mpu_irq[dev] == SNDRV_AUTO_IRQ)
449 mpu_irq[dev] = -1;
450 if (snd_mpu401_uart_new(card, 0, MPU401_HW_CS4232,
451 mpu_port[dev], 0,
1/*
2 * Driver for generic CS4232/CS4235/CS4236/CS4236B/CS4237B/CS4238B/CS4239 chips
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

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

444 }
445 }
446
447 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
448 if (mpu_irq[dev] == SNDRV_AUTO_IRQ)
449 mpu_irq[dev] = -1;
450 if (snd_mpu401_uart_new(card, 0, MPU401_HW_CS4232,
451 mpu_port[dev], 0,
452 mpu_irq[dev],
453 mpu_irq[dev] >= 0 ? IRQF_DISABLED : 0, NULL) < 0)
452 mpu_irq[dev], NULL) < 0)
454 printk(KERN_WARNING IDENT ": MPU401 not detected\n");
455 }
456
457 return snd_card_register(card);
458}
459
460static int __devinit snd_cs423x_isa_match(struct device *pdev,
461 unsigned int dev)

--- 268 unchanged lines hidden ---
453 printk(KERN_WARNING IDENT ": MPU401 not detected\n");
454 }
455
456 return snd_card_register(card);
457}
458
459static int __devinit snd_cs423x_isa_match(struct device *pdev,
460 unsigned int dev)

--- 268 unchanged lines hidden ---