patch-2.4.21 linux-2.4.21/include/linux/ac97_codec.h
Next file: linux-2.4.21/include/linux/agp_backend.h
Previous file: linux-2.4.21/include/asm-x86_64/xor.h
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/linux/ac97_codec.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.20/include/linux/ac97_codec.h linux-2.4.21/include/linux/ac97_codec.h
@@ -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,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)