mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kyle Moffett <mrmacman_g4@mac.com>
To: linux-kernel@vger.kernel.org
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Takashi Iwai <tiwai@suse.de>
Subject: [PATCH][RFC][2.6.15-rc3] snd_powermac: Add ID for Spring 2005 17" Powerbook
Date: Tue, 29 Nov 2005 14:02:58 -0500	[thread overview]
Message-ID: <E066EDFE-FA32-4600-A1EC-721055EFA829@mac.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

The audio chip in my Spring 2005 17" PowerBook was incorrectly  
recognized as an AWACS chip.  This adds the chip ID to the  
snd_powermac driver such that it is recognized as a Toonie (I don't  
know if that's correct, but it's the only one that makes it work at  
all). and sorts the ID lists numerically.  NOTE:  This chip is only  
minimally supported at this point; it has system beep support and  
very low volume speaker output, and that's about it.

Signed-off-by: Kyle Moffett <mrmacman_g4@mac.com>


[-- Attachment #2: pmacaudio.patch.txt --]
[-- Type: text/plain, Size: 732 bytes --]

--- linux-2.6.15-rc2/sound/ppc/pmac.c	2005-10-27 20:02:08.000000000 -0400
+++ linux-2.6.15-rc2-aphrodite1/sound/ppc/pmac.c	2005-11-26 02:18:40.000000000 -0500
@@ -987,11 +987,11 @@
 		 * single frequency until proper i2s control is implemented
 		 */
 		switch(layout_id) {
-		case 0x48:
-		case 0x46:
-		case 0x33:
-		case 0x29:
 		case 0x24:
+		case 0x29:
+		case 0x33:
+		case 0x46:
+		case 0x48:
 		case 0x50:
 		case 0x5c:
 			chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
@@ -1000,6 +1000,7 @@
 			chip->control_mask = MASK_IEPC | 0x11;/* disable IEE */
 			break;
 		case 0x3a:
+		case 0x40:
 			chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
 			chip->model = PMAC_TOONIE;
 			chip->can_byte_swap = 0; /* FIXME: check this */


[-- Attachment #3: Type: text/plain, Size: 2 bytes --]




             reply	other threads:[~2005-11-29 19:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-29 19:02 Kyle Moffett [this message]
2005-11-29 21:09 ` Benjamin Herrenschmidt
2005-11-29 21:35   ` Kyle Moffett
2005-11-29 21:55     ` Benjamin Herrenschmidt
2005-11-30 10:55 ` Takashi Iwai
2005-11-30 18:58   ` Kyle Moffett
2005-12-01 11:21     ` Takashi Iwai

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=E066EDFE-FA32-4600-A1EC-721055EFA829@mac.com \
    --to=mrmacman_g4@mac.com \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.de \
    /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®