summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/dev/bonitoreg.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-02-23 20:41:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-02-23 20:41:36 +0000
commitdc07dcdb13d83e0bd90779224df9e92d727cb04e (patch)
tree4b294a8c754cf9a448def03dcf5c9c90ec92e523 /sys/arch/loongson/dev/bonitoreg.h
parentd772c22f36f8794fc348fe6174d8aac3dcff107f (diff)
Allow CPU->PCI access in a subset of the `high' bonito pci memory space
(1GB@1GB); that's the best we can do on 2F due to the way the crossbar windows work. Necessary for upcoming Fuloong2F changes.
Diffstat (limited to 'sys/arch/loongson/dev/bonitoreg.h')
-rw-r--r--sys/arch/loongson/dev/bonitoreg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/loongson/dev/bonitoreg.h b/sys/arch/loongson/dev/bonitoreg.h
index 99c3f7f0ed2..c0ea9a43ff0 100644
--- a/sys/arch/loongson/dev/bonitoreg.h
+++ b/sys/arch/loongson/dev/bonitoreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bonitoreg.h,v 1.4 2010/02/12 08:14:02 miod Exp $ */
+/* $OpenBSD: bonitoreg.h,v 1.5 2010/02/23 20:41:33 miod Exp $ */
/* $NetBSD: bonitoreg.h,v 1.6 2005/12/24 20:07:19 perry Exp $ */
/*
@@ -54,6 +54,9 @@
#define BONITO_PCIHI_BASE 0x20000000
#define BONITO_PCIHI_SIZE 0x20000000
#define BONITO_PCIHI_TOP (BONITO_PCIHI_BASE+BONITO_PCIHI_SIZE-1)
+#define LS2F_PCIHI_BASE 0x40000000
+#define LS2F_PCIHI_SIZE 0x40000000
+#define LS2F_PCIHI_TOP (LS2F_PCIHI_BASE+LS2F_PCIHI_SIZE-1)
#define BONITO_PCIIO_BASE 0x1fd00000
#define BONITO_PCIIO_LEGACY 0x00004000
#define BONITO_PCIIO_SIZE 0x00100000