aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc/pmac.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-05-01 11:58:43 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 11:58:43 -0400
commit1f7b49d042abfbda71f41b8aff6e1bf7685c1f00 (patch)
tree823c5b9d728fe11c42c9449b14f379164dd69e72 /sound/ppc/pmac.c
parent4be8dc7ff69182610b40a078b9815bcdf27e0c49 (diff)
[PATCH] ppc32: add sound support for Mac Mini
This patch applies on top of my previous g5 related sound patches and adds support for the Mac Mini to the PowerMac Alsa driver. However, I haven't found any kind of HW support for volume control on this machine. If it exist, it's well hidden. That means that you probably want to make sure you use software with the ability to do soft volume control, or use Alsa 0.9 pre-release with the softvol plugin. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r--sound/ppc/pmac.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c
index 3bf5f069a03d..32d94754acf8 100644
--- a/sound/ppc/pmac.c
+++ b/sound/ppc/pmac.c
@@ -986,7 +986,13 @@ static int __init snd_pmac_detect(pmac_t *chip)
986 chip->num_freqs = ARRAY_SIZE(tumbler_freqs); 986 chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
987 chip->model = PMAC_SNAPPER; 987 chip->model = PMAC_SNAPPER;
988 chip->can_byte_swap = 0; /* FIXME: check this */ 988 chip->can_byte_swap = 0; /* FIXME: check this */
989 chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */ 989 chip->control_mask = MASK_IEPC | 0x11;/* disable IEE */
990 break;
991 case 0x3a:
992 chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
993 chip->model = PMAC_TOONIE;
994 chip->can_byte_swap = 0; /* FIXME: check this */
995 chip->control_mask = MASK_IEPC | 0x11;/* disable IEE */
990 break; 996 break;
991 } 997 }
992 } 998 }