summaryrefslogtreecommitdiff
path: root/sound/pci/au88x0/au88x0_sb.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:20:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:20:36 -0700
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /sound/pci/au88x0/au88x0_sb.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'sound/pci/au88x0/au88x0_sb.h')
-rw-r--r--sound/pci/au88x0/au88x0_sb.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/sound/pci/au88x0/au88x0_sb.h b/sound/pci/au88x0/au88x0_sb.h
new file mode 100644
index 000000000000..5a4d8fc2bbfc
--- /dev/null
+++ b/sound/pci/au88x0/au88x0_sb.h
@@ -0,0 +1,40 @@
+/***************************************************************************
+ * au88x0_sb.h
+ *
+ * Wed Oct 29 22:10:42 2003
+ *
+ ****************************************************************************/
+
+#ifdef CHIP_AU8820
+/* AU8820 starting @ 64KiB offset */
+#define SBEMU_BASE 0x10000
+#else
+/* AU8810? and AU8830 starting @ 164KiB offset */
+#define SBEMU_BASE 0x29000
+#endif
+
+#define FM_A_STATUS (SBEMU_BASE + 0x00) /* read */
+#define FM_A_ADDRESS (SBEMU_BASE + 0x00) /* write */
+#define FM_A_DATA (SBEMU_BASE + 0x04)
+#define FM_B_STATUS (SBEMU_BASE + 0x08)
+#define FM_B_ADDRESS (SBEMU_BASE + 0x08)
+#define FM_B_DATA (SBEMU_BASE + 0x0C)
+#define SB_MIXER_ADDR (SBEMU_BASE + 0x10)
+#define SB_MIXER_DATA (SBEMU_BASE + 0x14)
+#define SB_RESET (SBEMU_BASE + 0x18)
+#define SB_RESET_ALIAS (SBEMU_BASE + 0x1C)
+#define FM_STATUS2 (SBEMU_BASE + 0x20)
+#define FM_ADDR2 (SBEMU_BASE + 0x20)
+#define FM_DATA2 (SBEMU_BASE + 0x24)
+#define SB_DSP_READ (SBEMU_BASE + 0x28)
+#define SB_DSP_WRITE (SBEMU_BASE + 0x30)
+#define SB_DSP_WRITE_STATUS (SBEMU_BASE + 0x30) /* bit 7 */
+#define SB_DSP_READ_STATUS (SBEMU_BASE + 0x38) /* bit 7 */
+#define SB_LACR (SBEMU_BASE + 0x40) /* ? */
+#define SB_LADCR (SBEMU_BASE + 0x44) /* ? */
+#define SB_LAMR (SBEMU_BASE + 0x48) /* ? */
+#define SB_LARR (SBEMU_BASE + 0x4C) /* ? */
+#define SB_VERSION (SBEMU_BASE + 0x50)
+#define SB_CTRLSTAT (SBEMU_BASE + 0x54)
+#define SB_TIMERSTAT (SBEMU_BASE + 0x58)
+#define FM_RAM (SBEMU_BASE + 0x100) /* 0x40 ULONG */