Changeset 426 for GPL/trunk/alsa-kernel/pci/es1938.c
- Timestamp:
- May 9, 2009, 11:45:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/es1938.c
r410 r426 1609 1609 return err; 1610 1610 /* 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) { 1613 1613 snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); 1614 1614 pci_disable_device(pci); … … 1674 1674 status = inb(SLIO_REG(chip, IRQCONTROL)); 1675 1675 #if 0 1676 printk( "Es1938debug - interrupt status: =0x%x\n", status);1676 printk(KERN_DEBUG "Es1938debug - interrupt status: =0x%x\n", status); 1677 1677 #endif 1678 1678 … … 1680 1680 if (status & 0x10) { 1681 1681 #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", 1684 1686 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", 1686 1689 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", 1688 1692 inl(SLDM_REG(chip, DMASTATUS))); 1689 1693 #endif … … 1700 1704 if (status & 0x20) { 1701 1705 #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", 1704 1710 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", 1706 1713 inl(SLIO_REG(chip, AUDIO2DMAADDR))); 1707 1714
Note:
See TracChangeset
for help on using the changeset viewer.