summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-03-01 22:08:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-03-01 22:08:14 +0000
commitd6854b6d4962069c972c1a2844ad256bb8f06c5d (patch)
treeedee17acf6e2c4d81cb80cebc48778087e94d896 /sys/arch/mvme68k/conf
parent54104602f8b3490ee2579217c80a664695b3b4f1 (diff)
Support for MVME141 boards. Tested with both VME and VSB memory boards
(and MVME327 SCSI and MVME376 Ethernet, to provide a complete system).
Diffstat (limited to 'sys/arch/mvme68k/conf')
-rw-r--r--sys/arch/mvme68k/conf/GENERIC11
-rw-r--r--sys/arch/mvme68k/conf/RAMDISK14
-rw-r--r--sys/arch/mvme68k/conf/files.mvme68k16
3 files changed, 33 insertions, 8 deletions
diff --git a/sys/arch/mvme68k/conf/GENERIC b/sys/arch/mvme68k/conf/GENERIC
index dc69e0b509b..608a568f4b1 100644
--- a/sys/arch/mvme68k/conf/GENERIC
+++ b/sys/arch/mvme68k/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.31 2009/03/01 21:40:49 miod Exp $
+# $OpenBSD: GENERIC,v 1.32 2009/03/01 22:08:13 miod Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -19,6 +19,7 @@ option M68060 # support for 060
option FPSP # MC68040 floating point support
option M060SP # ...and MC68060 support package
+option MVME141 # (requires M68030)
option MVME147 # (requires M68030)
option MVME162 # (requires M68040, FPSP)
option MVME165 # (requires M68040, FPSP)
@@ -34,6 +35,14 @@ config bsd swap generic
mainbus0 at root
+# MVME141
+ofobio0 at mainbus0 addr 0xfff50000
+clock0 at ofobio0 ipl 5
+nvram0 at ofobio0 offset 0x00000
+#vsb0 at ofobio0 offset 0x50000
+vme0 at ofobio0 offset 0x60000
+dart0 at ofobio0 offset 0x20000 ipl 5
+
# MVME147
pcc0 at mainbus0 addr 0xfffe0000
clock0 at pcc0 ipl 5
diff --git a/sys/arch/mvme68k/conf/RAMDISK b/sys/arch/mvme68k/conf/RAMDISK
index ed527fce25d..ea778674cb2 100644
--- a/sys/arch/mvme68k/conf/RAMDISK
+++ b/sys/arch/mvme68k/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.12 2009/03/01 21:40:49 miod Exp $
+# $OpenBSD: RAMDISK,v 1.13 2009/03/01 22:08:13 miod Exp $
machine mvme68k m68k
@@ -12,11 +12,13 @@ option M68060 # support for 060
option FPSP # MC68040 floating point support
option M060SP # ...and MC68060 support package
+option MVME141 # (requires M68030)
option MVME147 # (requires M68030)
option MVME162 # (requires M68040, FPSP)
+option MVME165 # (requires M68040, FPSP)
option MVME167 # includes 166 (requires M68040, FPSP)
option MVME172 # (requires M68060, 060SP, FPSP)
-option MVME177 # (requires M68060, 060SP, FPSP)
+option MVME177 # includes 176 (requires M68060, 060SP, FPSP)
maxusers 32
@@ -37,6 +39,14 @@ config bsd root rd0 swap on rd0b
mainbus0 at root
+# MVME141
+ofobio0 at mainbus0 addr 0xfff50000
+clock0 at ofobio0 ipl 5
+#nvram0 at ofobio0 offset 0x00000
+#vsb0 at ofobio0 offset 0x50000
+vme0 at ofobio0 offset 0x60000
+dart0 at ofobio0 offset 0x20000 ipl 5
+
# MVME147
pcc0 at mainbus0 addr 0xfffe0000
clock0 at pcc0 ipl 5
diff --git a/sys/arch/mvme68k/conf/files.mvme68k b/sys/arch/mvme68k/conf/files.mvme68k
index f1302209738..beae227173a 100644
--- a/sys/arch/mvme68k/conf/files.mvme68k
+++ b/sys/arch/mvme68k/conf/files.mvme68k
@@ -1,4 +1,4 @@
-# $OpenBSD: files.mvme68k,v 1.32 2009/03/01 21:40:49 miod Exp $
+# $OpenBSD: files.mvme68k,v 1.33 2009/03/01 22:08:13 miod Exp $
# config file for mvme68k
@@ -27,8 +27,12 @@ device lrc {[offset = -1], [ipl = 0]}
attach lrc at mainbus
file arch/mvme68k/dev/lrc.c lrc needs-flag
+device ofobio {[offset = -1], [ipl = 0]}
+attach ofobio at mainbus
+file arch/mvme68k/dev/ofobio.c ofobio needs-flag
+
device clock
-attach clock at pcc, mc, pcctwo, lrc
+attach clock at pcc, mc, pcctwo, lrc, ofobio
file arch/mvme68k/dev/clock.c
device zs: tty
@@ -41,11 +45,13 @@ file arch/mvme68k/dev/cl.c cl needs-count
device dart: tty
attach dart at lrc with dartlrc
+attach dart at ofobio with dartofobio
file arch/mvme68k/dev/dart.c dart needs-flag
file arch/mvme68k/dev/dart_lrc.c dartlrc
+file arch/mvme68k/dev/dart_ofobio.c dartofobio
device vme {}
-attach vme at pcc, mc, pcctwo, lrc
+attach vme at pcc, mc, pcctwo, lrc, ofobio
device vmes {[addr = -1], [vec = -1], [ipl = 0]}
attach vmes at vme
device vmel {[addr = -1], [vec = -1], [ipl = 0]}
@@ -55,7 +61,7 @@ file arch/mvme68k/dev/vmes.c vmes needs-count
file arch/mvme68k/dev/vmel.c vmel needs-count
#device vsb {}
-#attach vsb at lrc
+#attach vsb at lrc, ofobio
#file arch/mvme68k/dev/vsb.c vsb needs-flag
attach le at pcc, vmes
@@ -94,7 +100,7 @@ file arch/mvme68k/dev/flash.c flash needs-count
device sram
attach sram at mainbus
device nvram
-attach nvram at pcc, mc, pcctwo, lrc
+attach nvram at pcc, mc, pcctwo, lrc, ofobio
file arch/mvme68k/dev/sram.c sram needs-count
file arch/mvme68k/dev/nvram.c nvram needs-count
file arch/mvme68k/dev/memdevs.c nvram | sram