patch to fix sound i/o and irq reporting

From: Paul Gortmaker (p_gortmaker@yahoo.com)
Date: Mon Mar 13 2000 - 03:21:01 EST


Hi,

With the recent sound changes, one no longer gets any info about
the hardware settings at boot (non-module) - you only get the
copyright message(s).

The following patch restores the messages that appeared with 2.3.4x
kernels.

Thanks,
Paul.

--- linux/drivers/sound/soundcard.c~ Thu Mar 9 15:06:54 2000
+++ linux/drivers/sound/soundcard.c Sun Mar 12 20:43:25 2000
@@ -92,7 +92,17 @@
 static mixer_vol_table mixer_vols[MAX_MIXER_DEV];
 static int num_mixer_volumes = 0;
 
+/*
+ * Currently there is no way to enable reporting of IRQ & I/O
+ * values for non-modular sound without setting traceinit here.
+ * Setting traceinit should be added to the functionality of a
+ * "sound=" boot prompt someday...
+ */
+#ifdef MODULE
 int traceinit = 0;
+#else
+static int traceinit = 1;
+#endif
 
 int *load_mixer_volumes(char *name, int *levels, int present)
 {

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:23 EST