summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-04-18 22:04:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-04-18 22:04:40 +0000
commita438e324e70ca6e94ae333db346240ab09a6c153 (patch)
treebb39d26c835f463cab516422f6881bd8ac88006e /sys/arch/m88k/include
parent23aedc2af582c445ff84e97ff328d37e54d80eba (diff)
Work in progress support for AViiON models 4600 and 530.
Also features support for {awkw,bast}ard 6:1 CMMU:CPU configurations (4I2D). Tested on model 4605, which runs up to cpu_initclocks(), which is not written for this system family yet. No regression on model 4300.
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r--sys/arch/m88k/include/m8820x.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/m88k/include/m8820x.h b/sys/arch/m88k/include/m8820x.h
index d83ea886484..efb1f28a70e 100644
--- a/sys/arch/m88k/include/m8820x.h
+++ b/sys/arch/m88k/include/m8820x.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: m8820x.h,v 1.7 2006/05/06 16:59:26 miod Exp $ */
+/* $OpenBSD: m8820x.h,v 1.8 2010/04/18 22:04:39 miod Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
*
@@ -198,7 +198,11 @@ struct m8820x_cmmu {
#define DATA_CMMU 0x01 /* odd number */
#define CMMU_MODE(num) ((num) & 1)
+#ifdef M88200_HAS_ASYMMETRICAL_ASSOCIATION
+#define MAX_CMMUS 16 /* maximum cmmus on the board */
+#else
#define MAX_CMMUS 8 /* maximum cmmus on the board */
+#endif
extern struct m8820x_cmmu m8820x_cmmu[MAX_CMMUS];
extern u_int cmmu_shift;
extern u_int max_cmmus;