lkml.org 
[lkml]   [2003]   [Apr]   [6]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateSun, 06 Apr 2003 11:32:30 +0200
FromBaliHB <>
Subject2.4.21-pre7 ac97fix
THX AC!

diff -Naur tmp2/linux-2.4.20/include/linux/ac97_codec.h 
linux-2.4.20/include/linux/ac97_codec.h
--- tmp2/linux-2.4.20/include/linux/ac97_codec.h        2003-04-06 
09:57:56.000000000 +0200
+++ linux-2.4.20/include/linux/ac97_codec.h     2003-04-06 
10:06:30.000000000 +0200
@@ -222,6 +222,8 @@
         int dev_mixer;
         int type;

+       int modem:1;
+
         struct ac97_ops *codec_ops;

         /* controller specific lower leverl ac97 accessing routines */
@@ -237,6 +239,9 @@
         int stereo_mixers;
         int record_sources;

+       /* Property flags */
+       int flags;
+
         int bit_resolution;

         /* OSS mixer interface */
@@ -265,6 +270,8 @@
         int (*amplifier)(struct ac97_codec *codec, int on);
         /* Digital mode control */
         int (*digital)(struct ac97_codec *codec, int format);
+#define AC97_DELUDED_MODEM     1       /* Audio codec reports its a 
modem */
+#define AC97_NO_PCM_VOLUME     2       /* Volume control is missing 
    */
  };

  extern int ac97_read_proc (char *page_out, char **start, off_t off,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:34    [W:0.166 / U:0.100 seconds]
©2003-2008 Jasper Spaans