ac97_codec patch for 2.4.20 - 2.4.21-preX
hello,
this is a short patch to correct the ac97_codec.h in kernel 2.4.20 up to 2.4.21-pre7. It was extracted from the patch-2.4.21-pre5-ac3. Now the kernel compiles fine :)
cu
Patrick
ps. i'm sorry for my terrible english
include/linux/ac97_codec.h +7 -0
@@ -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 */ };