Ignore:
Timestamp:
May 9, 2009, 11:45:26 AM (16 years ago)
Author:
Paul Smedley
Message:

Update alsa-kernel to ALSA 1.0.20 level

File:
1 edited

Legend:

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

    r410 r426  
    16091609                return err;
    16101610        /* check, if we can restrict PCI DMA transfers to 24 bits */
    1611         if (pci_set_dma_mask(pci, DMA_24BIT_MASK) < 0 ||
    1612             pci_set_consistent_dma_mask(pci, DMA_24BIT_MASK) < 0) {
     1611        if (pci_set_dma_mask(pci, DMA_BIT_MASK(24)) < 0 ||
     1612            pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(24)) < 0) {
    16131613                snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n");
    16141614                pci_disable_device(pci);
     
    16741674        status = inb(SLIO_REG(chip, IRQCONTROL));
    16751675#if 0
    1676         printk("Es1938debug - interrupt status: =0x%x\n", status);
     1676        printk(KERN_DEBUG "Es1938debug - interrupt status: =0x%x\n", status);
    16771677#endif
    16781678       
     
    16801680        if (status & 0x10) {
    16811681#if 0
    1682                 printk("Es1938debug - AUDIO channel 1 interrupt\n");
    1683                 printk("Es1938debug - AUDIO channel 1 DMAC DMA count: %u\n",
     1682                printk(KERN_DEBUG
     1683                       "Es1938debug - AUDIO channel 1 interrupt\n");
     1684                printk(KERN_DEBUG
     1685                       "Es1938debug - AUDIO channel 1 DMAC DMA count: %u\n",
    16841686                       inw(SLDM_REG(chip, DMACOUNT)));
    1685                 printk("Es1938debug - AUDIO channel 1 DMAC DMA base: %u\n",
     1687                printk(KERN_DEBUG
     1688                       "Es1938debug - AUDIO channel 1 DMAC DMA base: %u\n",
    16861689                       inl(SLDM_REG(chip, DMAADDR)));
    1687                 printk("Es1938debug - AUDIO channel 1 DMAC DMA status: 0x%x\n",
     1690                printk(KERN_DEBUG
     1691                       "Es1938debug - AUDIO channel 1 DMAC DMA status: 0x%x\n",
    16881692                       inl(SLDM_REG(chip, DMASTATUS)));
    16891693#endif
     
    17001704        if (status & 0x20) {
    17011705#if 0
    1702                 printk("Es1938debug - AUDIO channel 2 interrupt\n");
    1703                 printk("Es1938debug - AUDIO channel 2 DMAC DMA count: %u\n",
     1706                printk(KERN_DEBUG
     1707                       "Es1938debug - AUDIO channel 2 interrupt\n");
     1708                printk(KERN_DEBUG
     1709                       "Es1938debug - AUDIO channel 2 DMAC DMA count: %u\n",
    17041710                       inw(SLIO_REG(chip, AUDIO2DMACOUNT)));
    1705                 printk("Es1938debug - AUDIO channel 2 DMAC DMA base: %u\n",
     1711                printk(KERN_DEBUG
     1712                       "Es1938debug - AUDIO channel 2 DMAC DMA base: %u\n",
    17061713                       inl(SLIO_REG(chip, AUDIO2DMAADDR)));
    17071714
Note: See TracChangeset for help on using the changeset viewer.