diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2008-07-20 11:27:22 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-07-22 01:13:11 -0600 |
commit | 6a4a636fad018500c5db7a2b56a00caeb21cbb2c (patch) | |
tree | c95f8727d432bb7fd728c4640d549b7bb3764ada | |
parent | 11d579ee0a19052a5a90ebfe0c39e7ed8ce8a9dc (diff) | |
download | op-kernel-dev-6a4a636fad018500c5db7a2b56a00caeb21cbb2c.zip op-kernel-dev-6a4a636fad018500c5db7a2b56a00caeb21cbb2c.tar.gz |
powerpc/mpc5200: Add AC97 register definitions for the MPC52xx PSC
Needed by the PSC AC97 sound driver
Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
-rw-r--r-- | include/asm-powerpc/mpc52xx_psc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-powerpc/mpc52xx_psc.h b/include/asm-powerpc/mpc52xx_psc.h index 710c5d3..5467c2c 100644 --- a/include/asm-powerpc/mpc52xx_psc.h +++ b/include/asm-powerpc/mpc52xx_psc.h @@ -132,8 +132,12 @@ struct mpc52xx_psc { u8 reserved5[3]; u8 ctlr; /* PSC + 0x1c */ u8 reserved6[3]; - u16 ccr; /* PSC + 0x20 */ - u8 reserved7[14]; + /* BitClkDiv field of CCR is byte swapped in + * the hardware for mpc5200/b compatibility */ + u32 ccr; /* PSC + 0x20 */ + u32 ac97_slots; /* PSC + 0x24 */ + u32 ac97_cmd; /* PSC + 0x28 */ + u32 ac97_data; /* PSC + 0x2c */ u8 ivr; /* PSC + 0x30 */ u8 reserved8[3]; u8 ip; /* PSC + 0x34 */ |