es18xx.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) es18xx.c (dba8b46992c55946d3b092934f581a343403118f)
1/*
2 * Driver for generic ESS AudioDrive ES18xx soundcards
3 * Copyright (c) by Christian Fischbach <fishbach@pool.informatik.rwth-aachen.de>
4 * Copyright (c) by Abramo Bagnara <abramo@alsa-project.org>
5 *
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

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

2155 err = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
2156 if (err < 0)
2157 return err;
2158 }
2159 }
2160
2161 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
2162 err = snd_mpu401_uart_new(card, 0, MPU401_HW_ES18XX,
1/*
2 * Driver for generic ESS AudioDrive ES18xx soundcards
3 * Copyright (c) by Christian Fischbach <fishbach@pool.informatik.rwth-aachen.de>
4 * Copyright (c) by Abramo Bagnara <abramo@alsa-project.org>
5 *
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

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

2155 err = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
2156 if (err < 0)
2157 return err;
2158 }
2159 }
2160
2161 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
2162 err = snd_mpu401_uart_new(card, 0, MPU401_HW_ES18XX,
2163 mpu_port[dev], 0,
2164 irq[dev], 0, &chip->rmidi);
2163 mpu_port[dev], MPU401_INFO_IRQ_HOOK,
2164 -1, &chip->rmidi);
2165 if (err < 0)
2166 return err;
2167 }
2168
2169 return snd_card_register(card);
2170}
2171
2172static int __devinit snd_es18xx_isa_match(struct device *pdev, unsigned int dev)

--- 262 unchanged lines hidden ---
2165 if (err < 0)
2166 return err;
2167 }
2168
2169 return snd_card_register(card);
2170}
2171
2172static int __devinit snd_es18xx_isa_match(struct device *pdev, unsigned int dev)

--- 262 unchanged lines hidden ---