/[openvortex]/alsa/alsa-kernel/isa/opti9xx/opti92x-ad1848.c
ViewVC logotype

Diff of /alsa/alsa-kernel/isa/opti9xx/opti92x-ad1848.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by vizard, Sat May 31 02:35:11 2003 UTC revision 1.3 by vizard, Sun Jun 15 21:01:31 2003 UTC
# Line 43  Line 43 
43  #endif  /* CS4231 */  #endif  /* CS4231 */
44  #include <sound/mpu401.h>  #include <sound/mpu401.h>
45  #include <sound/opl3.h>  #include <sound/opl3.h>
 #ifdef USE_OPL4  
46  #ifndef OPTi93X  #ifndef OPTi93X
47  #include "opl4.h" /* <sound/opl4.h> */  #include <sound/opl4.h>
 #endif  
48  #endif  #endif
49  #define SNDRV_LEGACY_FIND_FREE_IRQ  #define SNDRV_LEGACY_FIND_FREE_IRQ
50  #define SNDRV_LEGACY_FIND_FREE_DMA  #define SNDRV_LEGACY_FIND_FREE_DMA
# Line 2105  static int __devinit snd_card_opti9xx_pr Line 2103  static int __devinit snd_card_opti9xx_pr
2103    
2104          if (chip->fm_port > 0) {          if (chip->fm_port > 0) {
2105                  opl3_t *opl3 = NULL;                  opl3_t *opl3 = NULL;
 #ifdef USE_OPL4  
2106  #ifndef OPTi93X  #ifndef OPTi93X
2107                  if (chip->hardware == OPTi9XX_HW_82C928 ||                  if (chip->hardware == OPTi9XX_HW_82C928 ||
2108                      chip->hardware == OPTi9XX_HW_82C929 ||                      chip->hardware == OPTi9XX_HW_82C929 ||
# Line 2124  static int __devinit snd_card_opti9xx_pr Line 2121  static int __devinit snd_card_opti9xx_pr
2121                          }                          }
2122                  }                  }
2123  #endif  /* !OPTi93X */  #endif  /* !OPTi93X */
 #endif  
2124                  if (!opl3 && snd_opl3_create(card,                  if (!opl3 && snd_opl3_create(card,
2125                                               chip->fm_port,                                               chip->fm_port,
2126                                               chip->fm_port + 2,                                               chip->fm_port + 2,

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26