Update of /cvsroot/alsa/alsa-kernel/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24520

Modified Files:
        memalloc.c 
Log Message:
- added back the output of PCI dma buffers in proc file.



Index: memalloc.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/memalloc.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- memalloc.c  2 Mar 2004 18:06:50 -0000       1.23
+++ memalloc.c  2 Mar 2004 18:20:03 -0000       1.24
@@ -864,6 +864,16 @@
                        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:
                        if (mem->dev.dev.dev) {



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to