summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-03-01 21:40:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-03-01 21:40:50 +0000
commit59dcae1e0128e7bebf63bdf1d6cb852a0cf6a509 (patch)
treeb724b47073fb8d1491458c56d52cbdbd696e2c1a /sys/arch/mvme68k/conf
parenta1c26a0a8ac1138d2326c1b8cd8217a879778127 (diff)
Support for MVME165 board - code written in april 2006, eventually debugged
last month.
Diffstat (limited to 'sys/arch/mvme68k/conf')
-rw-r--r--sys/arch/mvme68k/conf/GENERIC17
-rw-r--r--sys/arch/mvme68k/conf/RAMDISK26
-rw-r--r--sys/arch/mvme68k/conf/files.mvme68k20
3 files changed, 46 insertions, 17 deletions
diff --git a/sys/arch/mvme68k/conf/GENERIC b/sys/arch/mvme68k/conf/GENERIC
index 19643aa1fb6..dc69e0b509b 100644
--- a/sys/arch/mvme68k/conf/GENERIC
+++ b/sys/arch/mvme68k/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.30 2009/02/17 22:28:38 miod Exp $
+# $OpenBSD: GENERIC,v 1.31 2009/03/01 21:40:49 miod Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -21,9 +21,10 @@ option M060SP # ...and MC68060 support package
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)
option COMPAT_SUNOS
option COMPAT_HPUX
@@ -44,7 +45,7 @@ wdsc0 at pcc0 offset 0x4000 ipl 2
lp0 at pcc0 ipl 1
vme0 at pcc0 offset 0x2000
-# MVME162
+# MVME162/172
mc0 at mainbus0 addr 0xfff00000
clock0 at mc0 ipl 5
nvram0 at mc0 offset 0xc0000
@@ -62,7 +63,15 @@ sram0 at mainbus0 addr 0xffe00000
# IndustryPack modules
#fooip* at ipic? manu 0x11 prod 0x22 ipl 1
-# MVME166/167/177
+# MVME165
+lrc0 at mainbus0 addr 0xfff90000
+clock0 at lrc0 ipl 5
+#vsb0 at lrc0 offset 0x10000 ipl 4
+vme0 at lrc0 offset 0x20000
+nvram0 at lrc0 offset 0x30000
+dart0 at lrc0 offset 0x40000 ipl 5
+
+# MVME166/167/176/177
pcctwo0 at mainbus0 addr 0xfff00000
clock0 at pcctwo0 ipl 5
nvram0 at pcctwo0 offset 0xc0000
diff --git a/sys/arch/mvme68k/conf/RAMDISK b/sys/arch/mvme68k/conf/RAMDISK
index 6866bd0ff46..ed527fce25d 100644
--- a/sys/arch/mvme68k/conf/RAMDISK
+++ b/sys/arch/mvme68k/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.11 2009/02/17 22:28:38 miod Exp $
+# $OpenBSD: RAMDISK,v 1.12 2009/03/01 21:40:49 miod Exp $
machine mvme68k m68k
@@ -40,35 +40,43 @@ mainbus0 at root
# MVME147
pcc0 at mainbus0 addr 0xfffe0000
clock0 at pcc0 ipl 5
-nvram0 at pcc0 offset 0x0000
+#nvram0 at pcc0 offset 0x0000
zs0 at pcc0 offset 0x3000 ipl 4
zs1 at pcc0 offset 0x3800 ipl 4
le* at pcc0 offset 0x1800 ipl 3
wdsc0 at pcc0 offset 0x4000 ipl 2
-lp0 at pcc0 ipl 1
+#lp0 at pcc0 ipl 1
vme0 at pcc0 offset 0x2000
# MVME162
mc0 at mainbus0 addr 0xfff00000
clock0 at mc0 ipl 5
-nvram0 at mc0 offset 0xc0000
+#nvram0 at mc0 offset 0xc0000
zs0 at mc0 offset 0x45000 ipl 4
zs1 at mc0 offset 0x45801 ipl 4
ie0 at mc0 offset 0x46000 ipl 3
osiop0 at mc0 offset 0x47000 ipl 2
memc0 at mc0 offset 0x43000
memc1 at mc0 offset 0x43100
-ipic0 at mc0 offset 0xbc000
+#ipic0 at mc0 offset 0xbc000
vme0 at mc0 offset 0x40000
-flash0 at mainbus0 addr 0xffa00000
-sram0 at mainbus0 addr 0xffe00000
+#flash0 at mainbus0 addr 0xffa00000
+#sram0 at mainbus0 addr 0xffe00000
#fooip* at ipic? manu 0x11 prod 0x22 ipl 1
+# MVME165
+lrc0 at mainbus0 addr 0xfff90000
+clock0 at lrc0 ipl 5
+#vsb0 at lrc0 offset 0x10000 ipl 4
+vme0 at lrc0 offset 0x20000
+#nvram0 at lrc0 offset 0x30000
+dart0 at lrc0 offset 0x40000 ipl 5
+
# MVME166/167/177
pcctwo0 at mainbus0 addr 0xfff00000
clock0 at pcctwo0 ipl 5
-nvram0 at pcctwo0 offset 0xc0000
+#nvram0 at pcctwo0 offset 0xc0000
ie0 at pcctwo0 offset 0x46000 ipl 3
osiop0 at pcctwo0 offset 0x47000 ipl 2
cl0 at pcctwo0 offset 0x45000 ipl 3
@@ -76,7 +84,7 @@ vme0 at pcctwo0 offset 0x40000
#lptwo0 at pcctwo0 ipl 1
memc0 at pcctwo0 offset 0x43000
memc1 at pcctwo0 offset 0x43100
-sram0 at mainbus0 addr 0xffe00000
+#sram0 at mainbus0 addr 0xffe00000
vmes0 at vme0
diff --git a/sys/arch/mvme68k/conf/files.mvme68k b/sys/arch/mvme68k/conf/files.mvme68k
index 37313a335ce..f1302209738 100644
--- a/sys/arch/mvme68k/conf/files.mvme68k
+++ b/sys/arch/mvme68k/conf/files.mvme68k
@@ -1,4 +1,4 @@
-# $OpenBSD: files.mvme68k,v 1.31 2009/02/18 20:48:00 miod Exp $
+# $OpenBSD: files.mvme68k,v 1.32 2009/03/01 21:40:49 miod Exp $
# config file for mvme68k
@@ -23,8 +23,12 @@ device mc {[offset = -1], [ipl = 0]}
attach mc at mainbus
file arch/mvme68k/dev/mc.c mc needs-count
+device lrc {[offset = -1], [ipl = 0]}
+attach lrc at mainbus
+file arch/mvme68k/dev/lrc.c lrc needs-flag
+
device clock
-attach clock at pcc, mc, pcctwo
+attach clock at pcc, mc, pcctwo, lrc
file arch/mvme68k/dev/clock.c
device zs: tty
@@ -35,9 +39,13 @@ device cl: tty
attach cl at pcctwo
file arch/mvme68k/dev/cl.c cl needs-count
+device dart: tty
+attach dart at lrc with dartlrc
+file arch/mvme68k/dev/dart.c dart needs-flag
+file arch/mvme68k/dev/dart_lrc.c dartlrc
device vme {}
-attach vme at pcc, mc, pcctwo
+attach vme at pcc, mc, pcctwo, lrc
device vmes {[addr = -1], [vec = -1], [ipl = 0]}
attach vmes at vme
device vmel {[addr = -1], [vec = -1], [ipl = 0]}
@@ -46,6 +54,10 @@ file arch/mvme68k/dev/vme.c vme | vmes | vmel
file arch/mvme68k/dev/vmes.c vmes needs-count
file arch/mvme68k/dev/vmel.c vmel needs-count
+#device vsb {}
+#attach vsb at lrc
+#file arch/mvme68k/dev/vsb.c vsb needs-flag
+
attach le at pcc, vmes
file arch/mvme68k/dev/if_le.c le
@@ -82,7 +94,7 @@ file arch/mvme68k/dev/flash.c flash needs-count
device sram
attach sram at mainbus
device nvram
-attach nvram at pcc, mc, pcctwo
+attach nvram at pcc, mc, pcctwo, lrc
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