From dc07dcdb13d83e0bd90779224df9e92d727cb04e Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 23 Feb 2010 20:41:36 +0000 Subject: 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. --- sys/arch/loongson/dev/bonitoreg.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/loongson/dev') 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 -- cgit v1.2.3