patch-2.4.3 linux/drivers/sound/sonicvibes.c
Next file: linux/drivers/sound/trident.c
Previous file: linux/drivers/sound/skeleton.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Mar 20 12:04:59 2001
- Orig file:
v2.4.2/linux/drivers/sound/sonicvibes.c
- Orig date:
Wed Feb 21 18:20:35 2001
diff -u --recursive --new-file v2.4.2/linux/drivers/sound/sonicvibes.c linux/drivers/sound/sonicvibes.c
@@ -2478,7 +2478,7 @@
return -1;
if (pcidev->irq == 0)
return -1;
- if (!pci_dma_supported(pcidev, 0x00ffffff)) {
+ if (pci_set_dma_mask(pcidev, 0x00ffffff)) {
printk(KERN_WARNING "sonicvibes: architecture does not support 24bit PCI busmaster DMA\n");
return -1;
}
@@ -2602,7 +2602,6 @@
set_fs(fs);
/* store it in the driver field */
pci_set_drvdata(pcidev, s);
- pcidev->dma_mask = 0x00ffffff;
/* put it into driver list */
list_add_tail(&s->devs, &devs);
/* increment devindex */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)