mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Patrick Plattes <patrick@erdbeere.net>
To: linux-kernel@vger.kernel.org
Subject: ac97_codec patch for 2.4.20 - 2.4.21-preX
Date: Mon, 7 Apr 2003 20:51:01 +0200	[thread overview]
Message-ID: <20030407185101.GA12831@erdbeere.net> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 227 bytes --]

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


[-- Attachment #1.2: patch-ac97_codec.h --]
[-- Type: text/plain, Size: 941 bytes --]

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.21pre5/include/linux/ac97_codec.h linux.21pre5-ac3/include/linux/ac97_codec.h
--- linux/include/linux/ac97_codec.h	2003-02-27 18:39:41.000000000 +0000
+++ linux/include/linux/ac97_codec.h	2003-03-01 19:23:29.000000000 +0000
@@ -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 	   */
 };

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2003-04-07 18:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030407185101.GA12831@erdbeere.net \
    --to=patrick@erdbeere.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®