summaryrefslogtreecommitdiffstats
path: root/sys/dev/si/sireg.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-02-15 14:42:33 +0000
committerpeter <peter@FreeBSD.org>1998-02-15 14:42:33 +0000
commitf62f770acb8c394ed5048ae11de1b53dea213cda (patch)
tree13924c0126f25997499147d76fff110d17e18806 /sys/dev/si/sireg.h
parent369a4922e34bc9d9db4c56fa48365f2cc900e45d (diff)
downloadFreeBSD-src-f62f770acb8c394ed5048ae11de1b53dea213cda.zip
FreeBSD-src-f62f770acb8c394ed5048ae11de1b53dea213cda.tar.gz
Update to support SI/XIO PCI host cards (Z280 based) and the enhanced
SXISA and SXPCI host cards (Transputer based). PR: 4836, 5021, 5654 Submitted by: Nick Sayer <nick@specialix.com>
Diffstat (limited to 'sys/dev/si/sireg.h')
-rw-r--r--sys/dev/si/sireg.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/sys/dev/si/sireg.h b/sys/dev/si/sireg.h
index cbbfe9c..ec93c96 100644
--- a/sys/dev/si/sireg.h
+++ b/sys/dev/si/sireg.h
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id$
+ * $Id: sireg.h,v 1.4 1997/02/22 09:37:11 peter Exp $
*/
/*
@@ -56,10 +56,31 @@
#define SIINTCL 0xA000 /* Clear host int */
#define SIINTCL_CL 0xE000 /* Clear host int */
+/* SI old PCI */
+#define SIPCIBADR 0x10 /* Which BADR to map in RAM */
+#define SIPCI_MEMSIZE 0x100000 /* Mapping size */
+#define SIPCIRESET 0xc0001 /* 0 = Reset */
+#define SIPCIINTCL 0x40001 /* 0 = clear int */
+
+/* SI Jet PCI */
+#define SIJETSSIDREG 0x2c /* Is it a SI/XIO or RIO? */
+#define SIJETBADR 0x18 /* Which BADR to map in RAM */
+/* SI Jet PCI & ISA */
+#define SIJETIDBASE 0x7c00 /* ID ROM base */
+#define SISPLXID 0x984d /* Specialix ID */
+#define SIUNIQID 0x7c0e /* & 0xf0 = 0x20 for Si/XIO */
+#define SIJETRESET 0x7d00
+#define SIJETINTCL 0x7d80
+#define SIJETCONFIG 0x7c00 /* for ISA, top nibble = IRQ */
+#define SIJETBUSEN 0x2
+#define SIJETIRQEN 0x4
+
/*
* MEMSIZE is the total shared mem region
* RAMSIZE is value to use when probing
*/
+#define SIJET_MEMSIZE 0x10000
+#define SIJET_RAMSIZE 0x7000
#define SIHOST_MEMSIZE 0x10000
#define SIHOST_RAMSIZE 0x8000
#define SIHOST2_MEMSIZE 0x8000
OpenPOWER on IntegriCloud