Changeset 325 for GPL/branches
- Timestamp:
- Mar 25, 2008, 5:06:26 AM (17 years ago)
- Location:
- GPL/branches/uniaud32-2.0/alsa-kernel/pci
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-2.0/alsa-kernel/pci/ali5451/ali5451.c
r305 r325 2199 2199 return err; 2200 2200 /* check, if we can restrict PCI DMA transfers to 31 bits */ 2201 #ifndef TARGET_OS22202 2201 if (pci_set_dma_mask(pci, DMA_31BIT_MASK) < 0 || 2203 2202 pci_set_consistent_dma_mask(pci, DMA_31BIT_MASK) < 0) { 2204 #else2205 if (!pci_dma_supported(pci, DMA_31BIT_MASK)) {2206 #endif2207 2203 snd_printk(KERN_ERR "architecture does not support " 2208 2204 "31bit PCI busmaster DMA\n"); -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/ca0106/ca0106_main.c
r305 r325 1314 1314 if ((err = pci_enable_device(pci)) < 0) 1315 1315 return err; 1316 #ifndef TARGET_OS21317 1316 if (pci_set_dma_mask(pci, DMA_32BIT_MASK) < 0 || 1318 1317 pci_set_consistent_dma_mask(pci, DMA_32BIT_MASK) < 0) { 1319 #else1320 if (!pci_dma_supported(pci, DMA_32BIT_MASK)) {1321 #endif1322 1318 printk(KERN_ERR "error to set 32bit mask DMA\n"); 1323 1319 pci_disable_device(pci); -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/emu10k1/emu10k1_main.c
r305 r325 1806 1806 /* set the DMA transfer mask */ 1807 1807 emu->dma_mask = is_audigy ? AUDIGY_DMA_MASK : EMU10K1_DMA_MASK; 1808 #ifndef TARGET_OS21809 1808 if (pci_set_dma_mask(pci, emu->dma_mask) < 0 || 1810 1809 pci_set_consistent_dma_mask(pci, emu->dma_mask) < 0) { 1811 #else1812 if (!pci_dma_supported(pci, 0x0fffffff)) {1813 #endif1814 1810 snd_printk(KERN_ERR "architecture does not support PCI busmaster DMA with mask 0x%lx\n", emu->dma_mask); 1815 1811 kfree(emu); -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/emu10k1/emu10k1x.c
r305 r325 898 898 if ((err = pci_enable_device(pci)) < 0) 899 899 return err; 900 #ifndef TARGET_OS2901 900 if (pci_set_dma_mask(pci, DMA_28BIT_MASK) < 0 || 902 901 pci_set_consistent_dma_mask(pci, DMA_28BIT_MASK) < 0) { 903 #else904 if (!pci_dma_supported(pci, DMA_28BIT_MASK)) {905 #endif906 902 snd_printk(KERN_ERR "error to set 28bit mask DMA\n"); 907 903 pci_disable_device(pci); -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/es1938.c
r305 r325 1611 1611 return err; 1612 1612 /* check, if we can restrict PCI DMA transfers to 24 bits */ 1613 #ifndef TARGET_OS21614 1613 if (pci_set_dma_mask(pci, DMA_24BIT_MASK) < 0 || 1615 1614 pci_set_consistent_dma_mask(pci, DMA_24BIT_MASK) < 0) { 1616 #else1617 if (!pci_dma_supported(pci, DMA_24BIT_MASK)) {1618 #endif1619 1615 snd_printk(KERN_ERR "architecture does not support 24bit PCI busmaster DMA\n"); 1620 1616 pci_disable_device(pci); -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/es1968.c
r305 r325 2515 2515 return err; 2516 2516 /* check, if we can restrict PCI DMA transfers to 28 bits */ 2517 #ifndef TARGET_OS22518 2517 if (pci_set_dma_mask(pci, DMA_28BIT_MASK) < 0 || 2519 2518 pci_set_consistent_dma_mask(pci, DMA_28BIT_MASK) < 0) { 2520 #else2521 if (!pci_dma_supported(pci, DMA_28BIT_MASK)) {2522 #endif2523 2519 snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); 2524 2520 pci_disable_device(pci); -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/maestro3.c
r305 r325 2683 2683 2684 2684 /* check, if we can restrict PCI DMA transfers to 28 bits */ 2685 #ifndef TARGET_OS22686 2685 if (pci_set_dma_mask(pci, DMA_28BIT_MASK) < 0 || 2687 2686 pci_set_consistent_dma_mask(pci, DMA_28BIT_MASK) < 0) { 2688 #else2689 if (!pci_dma_supported(pci, DMA_28BIT_MASK)) {2690 #endif2691 2687 snd_printk(KERN_ERR "architecture does not support 28bit PCI busmaster DMA\n"); 2692 2688 pci_disable_device(pci); -
GPL/branches/uniaud32-2.0/alsa-kernel/pci/trident/trident_main.c
r305 r325 3546 3546 return err; 3547 3547 /* check, if we can restrict PCI DMA transfers to 30 bits */ 3548 #ifndef TARGET_OS23549 3548 if (pci_set_dma_mask(pci, DMA_30BIT_MASK) < 0 || 3550 3549 pci_set_consistent_dma_mask(pci, DMA_30BIT_MASK) < 0) { 3551 #else3552 if (!pci_dma_supported(pci, DMA_30BIT_MASK)) {3553 #endif3554 3550 snd_printk(KERN_ERR "architecture does not support 30bit PCI busmaster DMA\n"); 3555 3551 pci_disable_device(pci);
Note:
See TracChangeset
for help on using the changeset viewer.