aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@engr.sgi.com>2004-06-22 05:53:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-22 05:53:47 -0700
commitf4897eb32ff3d6629e53f67e30d88bb8736b7148 (patch)
tree6b3d7dd86497aef86c0484373823418741de1f45 /sound
parent7a08473bfee8b94befd7b38333d747290668848a (diff)
downloadhistory-f4897eb32ff3d6629e53f67e30d88bb8736b7148.tar.gz
[PATCH] ppc32: Support for new Apple laptop models
This adds sound support for some of the newer PowerBooks. It appears that this chip supports the AWACS sample rates, but has a snapper-style mixer. Tested and works on my PowerBook5,4. Signed-off-by: Jesse Barnes <jbarnes@sgi.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/ppc/pmac.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c
index 95dfeef913f10d..4f80fec4f5c7cf 100644
--- a/sound/ppc/pmac.c
+++ b/sound/ppc/pmac.c
@@ -931,6 +931,13 @@ static int __init snd_pmac_detect(pmac_t *chip)
chip->freq_table = tumbler_freqs;
chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
}
+ if (device_is_compatible(sound, "AOAKeylargo")) {
+ /* Seems to support the stock AWACS frequencies, but has
+ a snapper mixer */
+ chip->model = PMAC_SNAPPER;
+ // chip->can_byte_swap = 0; /* FIXME: check this */
+ chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
+ }
prop = (unsigned int *)get_property(sound, "device-id", 0);
if (prop)
chip->device_id = *prop;