patch-2.4.3 linux/drivers/sound/emu10k1/main.c

Next file: linux/drivers/sound/es1370.c
Previous file: linux/drivers/sound/cs46xx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/drivers/sound/emu10k1/main.c linux/drivers/sound/emu10k1/main.c
@@ -619,7 +619,7 @@
 	}
 	memset(card, 0, sizeof(struct emu10k1_card));
 
-	if (!pci_dma_supported(pci_dev, EMU10K1_DMA_MASK)) {
+	if (pci_set_dma_mask(pci_dev, EMU10K1_DMA_MASK)) {
 		printk(KERN_ERR "emu10k1: architecture does not support 32bit PCI busmaster DMA\n");
 		kfree(card);
 		return -ENODEV;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)