aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/fhc/fhcreg.h
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2003-02-19 08:23:38 +0000
committerJake Burkholder <jake@FreeBSD.org>2003-02-19 08:23:38 +0000
commit63ec9d57c9f07d0e4e2983fb86f44d371941ffdd (patch)
tree98cab5c0408be07e217717c1e27231a830e49d80 /sys/sparc64/fhc/fhcreg.h
parent9de91598226fb6d6166466d8fc189fff0537e534 (diff)
downloadsrc-63ec9d57c9f07d0e4e2983fb86f44d371941ffdd.tar.gz
src-63ec9d57c9f07d0e4e2983fb86f44d371941ffdd.zip
Implement interrupt resource allocation and setup. Set the interrupt
group number properly based on the board id. Perform dummy reads of registers after writing to flush the hardware write buffers. This gets the soon to be committed zs attachment working.
Notes
Notes: svn path=/head/; revision=111123
Diffstat (limited to 'sys/sparc64/fhc/fhcreg.h')
-rw-r--r--sys/sparc64/fhc/fhcreg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sparc64/fhc/fhcreg.h b/sys/sparc64/fhc/fhcreg.h
index f8801e2e7d5c..46cda1fc9c5b 100644
--- a/sys/sparc64/fhc/fhcreg.h
+++ b/sys/sparc64/fhc/fhcreg.h
@@ -41,4 +41,11 @@
#define FHC_IMAP 0x0
#define FHC_ICLR 0x10
+#define FHC_CTRL (0x20)
+#define FHC_CTRL_SLINE (0x00010000)
+#define FHC_CTRL_AOFF (0x00001000)
+#define FHC_CTRL_BOFF (0x00000800)
+#define FHC_CTRL_IXIST (0x00000200)
+#define FHC_BSR (0x30)
+
#endif