Commit 1c769abc authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Takashi Iwai <tiwai@suse.de>

Memalloc module
- added back the output of PCI dma buffers in proc file.
parent 70d6d370
......@@ -863,6 +863,16 @@ static int snd_mem_proc_read(char *page, char **start, off_t off,
case SNDRV_DMA_TYPE_SBUS:
len += sprintf(page + len, "SBUS [%x]", mem->dev.dev.sbus->slot);
break;
#endif
#ifdef CONFIG_PCI
case SNDRV_DMA_TYPE_PCI:
case SNDRV_DMA_TYPE_PCI_SG:
if (mem->dev.dev.dev) {
len += sprintf(page + len, "%s [%s]",
mem->dev.type == SNDRV_DMA_TYPE_PCI_SG ? "PCI" : "PCI-SG",
mem->dev.dev.pci->slot_name);
}
break;
#endif
case SNDRV_DMA_TYPE_DEV:
case SNDRV_DMA_TYPE_DEV_SG:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment