Added missing register offsets and bits for MISR and MODR.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@145 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 23 years ago
parent 9e16678785
commit f22a0ee97f

@ -108,6 +108,8 @@ typedef volatile struct AC97_registers {
#define MOCR_OFFSET 0x100
#define MICR_OFFSET 0x108
#define MOSR_OFFSET 0x110
#define MISR_OFFSET 0x118
#define MODR_OFFSET 0x140
/* POCR bits - see Table 13-50 in [1] */
@ -193,4 +195,13 @@ typedef volatile struct AC97_registers {
#define MOSR_FIFOE bit(4)
/* MISR bits - see Table 16-62 in [1] */
#define MISR_FIFOE bit(4)
/* MODR bits - see Table 16-63 in [1] */
#define MODR_MODEM_DAT_MASK 0x0000FFFF
#define MODR_MODEM_DAT(x) (x & MODR_MODEM_DAT_MASK)
#endif /* PXA2X0_AC97_H */

Loading…
Cancel
Save