Ignore:
Timestamp:
Dec 11, 2005, 5:57:39 PM (20 years ago)
Author:
vladest
Message:

Latest update from ALSA. some intial > 15 interrupts support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/emu10k1/irq.c

    r33 r34  
    3434irqreturn_t snd_emu10k1_interrupt(int irq, void *dev_id, struct pt_regs *regs)
    3535{
    36     emu10k1_t *emu = dev_id;
     36    struct snd_emu10k1 *emu = dev_id;
    3737    unsigned int status, status2, orig_status, orig_status2;
    3838    int handled = 0;
     
    7676            int voice_max = status & IPR_CHANNELNUMBERMASK;
    7777            u32 val;
    78             emu10k1_voice_t *pvoice = emu->voices;
     78            struct snd_emu10k1_voice *pvoice = emu->voices;
    7979
    8080            val = snd_emu10k1_ptr_read(emu, CLIPL, 0);
     
    170170            while ((status2 = inl(emu->port + IPR2)) != 0) {
    171171                u32 mask = INTE2_PLAYBACK_CH_0_LOOP;  /* Full Loop */
    172                 emu10k1_voice_t *pvoice = &(emu->p16v_voices[0]);
    173                 emu10k1_voice_t *cvoice = &(emu->p16v_capture_voice);
     172                struct snd_emu10k1_voice *pvoice = &(emu->p16v_voices[0]);
     173                struct snd_emu10k1_voice *cvoice = &(emu->p16v_capture_voice);
    174174
    175175                //printk(KERN_INFO "status2=0x%x\n", status2);
     
    219219
    220220    }
    221 
    222 #ifdef TARGET_OS2
    223         if (fOurIrq) {
    224             eoi_irq(irq);
    225         }
    226 #endif //TARGET_OS2
    227 
    228221    return IRQ_RETVAL(handled);
    229222}
Note: See TracChangeset for help on using the changeset viewer.