diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-07-10 07:44:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 16:24:19 -0400 |
commit | 389ba79582b9bc2463b44ad60df62d709ebcdf97 (patch) | |
tree | 12a6c2d7ed1a80306c116237d5070dbe64d3a32a /sound/aoa/soundbus/i2sbus/i2sbus.h | |
parent | f9d08de57b0beb6623a89d8a8f501040c5eadacb (diff) |
[PATCH] aoa: i2sbus: fix for PowerMac7,2 and 7,3
This patch cleans up the resource handling in i2sbus and adds workarounds for
the broken device trees on the PowerMac7,2 and 7,3. Some of this code will
later move again when macio_asic is going to export all the sub-nodes too.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/aoa/soundbus/i2sbus/i2sbus.h')
-rw-r--r-- | sound/aoa/soundbus/i2sbus/i2sbus.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/aoa/soundbus/i2sbus/i2sbus.h b/sound/aoa/soundbus/i2sbus/i2sbus.h index cfa5162e3b0f..d32f8a9724d7 100644 --- a/sound/aoa/soundbus/i2sbus/i2sbus.h +++ b/sound/aoa/soundbus/i2sbus/i2sbus.h | |||
@@ -45,6 +45,12 @@ struct pcm_info { | |||
45 | volatile struct dbdma_regs __iomem *dbdma; | 45 | volatile struct dbdma_regs __iomem *dbdma; |
46 | }; | 46 | }; |
47 | 47 | ||
48 | enum { | ||
49 | aoa_resource_i2smmio = 0, | ||
50 | aoa_resource_txdbdma, | ||
51 | aoa_resource_rxdbdma, | ||
52 | }; | ||
53 | |||
48 | struct i2sbus_dev { | 54 | struct i2sbus_dev { |
49 | struct soundbus_dev sound; | 55 | struct soundbus_dev sound; |
50 | struct macio_dev *macio; | 56 | struct macio_dev *macio; |