The new driver works fine on the box here, produces all sorts of debug
gorp to the console though.  Most of the unnecessary printk's are
commented out, these are the three I've been seeing while playing around
with mpg123 and some mp3 files...

Other than that, it worked for me...

Rob
--- linux/drivers/sound/ymfpci.c        Mon Oct  2 01:46:48 2000
+++ linux2/drivers/sound/ymfpci.c       Mon Oct  2 01:43:03 2000
@@ -668,10 +668,10 @@
                                /*
                                 * Normal end of DMA.
                                 */
-                               printk("ymfpci%d: %d: done: delta %d"
-                                   " hwptr %d swptr %d distance %d count %d\n",
-                                   codec->inst, voice->number, delta,
-                                   dmabuf->hwptr, swptr, distance, dmabuf->count);
+//                             printk("ymfpci%d: %d: done: delta %d"
+//                                 " hwptr %d swptr %d distance %d count %d\n",
+//                                 codec->inst, voice->number, delta,
+//                                 dmabuf->hwptr, swptr, distance, dmabuf->count);
                        }
                        played = dmabuf->count;
                        if (ypcm->running) {
@@ -826,8 +826,8 @@
                end >>= 1;
        if (w_16)
                end >>= 1;
-/* P3 */ printk("ymf_pcm_init_voice: %d: Rate %d Format 0x%08x Delta 0x%x End 0x%x\n",
-  voice->number, rate, format, delta, end);
+/* P3 */ // printk("ymf_pcm_init_voice: %d: Rate %d Format 0x%08x Delta 0x%x End 
+0x%x\n",
+//  voice->number, rate, format, delta, end);
        for (nbank = 0; nbank < 2; nbank++) {
                bank = &voice->bank[nbank];
                bank->format = format;
@@ -1710,7 +1710,7 @@
        case SNDCTL_DSP_SETFRAGMENT:
                get_user_ret(val, (int *)arg, -EFAULT);
        /* P3: these frags are for Doom. Amasingly, it sets [2,2**11]. */
-       /* P3 */ printk("ymfpci: ioctl SNDCTL_DSP_SETFRAGMENT 0x%x\n", val);
+       /* P3 */ // printk("ymfpci: ioctl SNDCTL_DSP_SETFRAGMENT 0x%x\n", val);
 
                dmabuf->ossfragshift = val & 0xffff;
                dmabuf->ossmaxfrags = (val >> 16) & 0xffff;

Reply via email to