summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/ciareg.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 03:54:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 03:54:39 +0000
commitf12226068d16673eea9adafe99388f1061d3309f (patch)
tree90cb542d279e793d072ffc6e9f1f1add1f07179e /sys/arch/alpha/pci/ciareg.h
parent470d0389b66fade522060561cc0c6ba36e01e7cb (diff)
update to netbsd
Diffstat (limited to 'sys/arch/alpha/pci/ciareg.h')
-rw-r--r--sys/arch/alpha/pci/ciareg.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/sys/arch/alpha/pci/ciareg.h b/sys/arch/alpha/pci/ciareg.h
new file mode 100644
index 00000000000..5fc6ae9435a
--- /dev/null
+++ b/sys/arch/alpha/pci/ciareg.h
@@ -0,0 +1,51 @@
+/* $NetBSD: ciareg.h,v 1.1 1995/11/23 02:37:31 cgd Exp $ */
+
+/*
+ * Copyright (c) 1995 Carnegie-Mellon University.
+ * All rights reserved.
+ *
+ * Author: Chris G. Demetriou
+ *
+ * Permission to use, copy, modify and distribute this software and
+ * its documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ *
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
+ * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
+ * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ *
+ * Carnegie Mellon requests users of this software to return to
+ *
+ * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
+ * School of Computer Science
+ * Carnegie Mellon University
+ * Pittsburgh PA 15213-3890
+ *
+ * any improvements or extensions that they make and grant Carnegie the
+ * rights to redistribute these changes.
+ */
+
+/*
+ * 21171 Chipset registers and constants.
+ *
+ * Taken from XXX
+ */
+
+#define REGVAL(r) (*(int32_t *)phystok0seg(r))
+
+/*
+ * Base addresses
+ */
+#define CIA_PCI_SPARSE0 0x8000000000L
+#define CIA_PCI_SPARSE1 0x8400000000L
+#define CIA_PCI_SPARSE2 0x8500000000L
+#define CIA_PCI_SIO0 0x8580000000L
+#define CIA_PCI_SIO1 0x85c0000000L
+#define CIA_PCI_DENSE 0x8600000000L
+#define CIA_PCI_CONF 0x8700000000L
+#define CIA_PCI_IACK 0x8720000000L
+#define CIA_CSRS 0x8740000000L
+#define CIA_PCI_MC_CSRS 0x8750000000L
+#define CIA_PCI_ATRANS 0x8760000000L