diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-02-23 20:41:36 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-02-23 20:41:36 +0000 |
commit | dc07dcdb13d83e0bd90779224df9e92d727cb04e (patch) | |
tree | 4b294a8c754cf9a448def03dcf5c9c90ec92e523 /sys/arch/loongson/dev | |
parent | d772c22f36f8794fc348fe6174d8aac3dcff107f (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')
-rw-r--r-- | sys/arch/loongson/dev/bonitoreg.h | 5 |
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 |