diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-05-01 11:58:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:58:43 -0400 |
commit | 1f7b49d042abfbda71f41b8aff6e1bf7685c1f00 (patch) | |
tree | 823c5b9d728fe11c42c9449b14f379164dd69e72 /sound/ppc/pmac.h | |
parent | 4be8dc7ff69182610b40a078b9815bcdf27e0c49 (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.h')
-rw-r--r-- | sound/ppc/pmac.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/ppc/pmac.h b/sound/ppc/pmac.h index dc6c99dd14e7..0a84c05f714b 100644 --- a/sound/ppc/pmac.h +++ b/sound/ppc/pmac.h | |||
@@ -94,7 +94,8 @@ struct snd_pmac_stream { | |||
94 | */ | 94 | */ |
95 | 95 | ||
96 | enum snd_pmac_model { | 96 | enum snd_pmac_model { |
97 | PMAC_AWACS, PMAC_SCREAMER, PMAC_BURGUNDY, PMAC_DACA, PMAC_TUMBLER, PMAC_SNAPPER | 97 | PMAC_AWACS, PMAC_SCREAMER, PMAC_BURGUNDY, PMAC_DACA, PMAC_TUMBLER, |
98 | PMAC_SNAPPER, PMAC_TOONIE | ||
98 | }; | 99 | }; |
99 | 100 | ||
100 | struct snd_pmac { | 101 | struct snd_pmac { |
@@ -191,6 +192,7 @@ int snd_pmac_burgundy_init(pmac_t *chip); | |||
191 | int snd_pmac_daca_init(pmac_t *chip); | 192 | int snd_pmac_daca_init(pmac_t *chip); |
192 | int snd_pmac_tumbler_init(pmac_t *chip); | 193 | int snd_pmac_tumbler_init(pmac_t *chip); |
193 | int snd_pmac_tumbler_post_init(void); | 194 | int snd_pmac_tumbler_post_init(void); |
195 | int snd_pmac_toonie_init(pmac_t *chip); | ||
194 | 196 | ||
195 | /* i2c functions */ | 197 | /* i2c functions */ |
196 | typedef struct snd_pmac_keywest { | 198 | typedef struct snd_pmac_keywest { |