/[openvortex]/alsa/alsa-kernel/isa/gus/gus_main.c
ViewVC logotype

Diff of /alsa/alsa-kernel/isa/gus/gus_main.c

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

revision 1.1.1.1 by vizard, Tue Apr 15 21:34:59 2003 UTC revision 1.2 by vizard, Mon Aug 11 00:06:39 2003 UTC
# Line 106  static int snd_gus_free(snd_gus_card_t * Line 106  static int snd_gus_free(snd_gus_card_t *
106  {  {
107          if (gus->gf1.res_port2 == NULL)          if (gus->gf1.res_port2 == NULL)
108                  goto __hw_end;                  goto __hw_end;
109  #if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)  #if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE))
110          if (gus->seq_dev) {          if (gus->seq_dev) {
111                  snd_device_free(gus->card, gus->seq_dev);                  snd_device_free(gus->card, gus->seq_dev);
112                  gus->seq_dev = NULL;                  gus->seq_dev = NULL;
# Line 434  int snd_gus_initialize(snd_gus_card_t *g Line 434  int snd_gus_initialize(snd_gus_card_t *g
434          }          }
435          if ((err = snd_gus_init_dma_irq(gus, 1)) < 0)          if ((err = snd_gus_init_dma_irq(gus, 1)) < 0)
436                  return err;                  return err;
437  #if defined(CONFIG_SND_SEQUENCER) || defined(CONFIG_SND_SEQUENCER_MODULE)  #if defined(CONFIG_SND_SEQUENCER) || (defined(MODULE) && defined(CONFIG_SND_SEQUENCER_MODULE))
438          if (snd_seq_device_new(gus->card, 1, SNDRV_SEQ_DEV_ID_GUS,          if (snd_seq_device_new(gus->card, 1, SNDRV_SEQ_DEV_ID_GUS,
439                                 sizeof(snd_gus_card_t*), &gus->seq_dev) >= 0) {                                 sizeof(snd_gus_card_t*), &gus->seq_dev) >= 0) {
440                  strcpy(gus->seq_dev->name, "GUS");                  strcpy(gus->seq_dev->name, "GUS");

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

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