From 15409eef53036ab4a893ba570c9758b35469f696 Mon Sep 17 00:00:00 2001 From: ragge Date: Sat, 20 Jul 1996 18:56:58 +0000 Subject: [PATCH] Update config files for VAX8200 and VAXstations. --- sys/arch/vax/conf/GENERIC | 39 ++++++++++++++++--- sys/arch/vax/conf/files.vax | 78 ++++++++++++++++++++++++++++++------- 2 files changed, 97 insertions(+), 20 deletions(-) diff --git a/sys/arch/vax/conf/GENERIC b/sys/arch/vax/conf/GENERIC index 614669648a47..d7cab91da66b 100644 --- a/sys/arch/vax/conf/GENERIC +++ b/sys/arch/vax/conf/GENERIC @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.15 1996/07/10 23:51:53 ragge Exp $ +# $NetBSD: GENERIC,v 1.16 1996/07/20 18:56:58 ragge Exp $ # # GENERIC VAX configuration file; all supported devices. # @@ -7,10 +7,13 @@ include "std.vax" # Here are all different supported CPU types listed. options "VAX8600" +options "VAX8200" options "VAX780" options "VAX750" -options "VAX630" -options "VAX650" +options "VAX630" # MV II +options "VAX650" # MV III, 3600, 3800, 3900 +options "VAX410" # VS 2000 +options "VAX43" # VS 3100/76 # Kernel identification options GENERIC @@ -69,6 +72,15 @@ config netbsd swap generic cpu0 at backplane0 # Only one CPU so far. sbi* at backplane0 # SBI's are always at backplane (Abus). mem* at backplane0 # Some machines have memory at backplane. +vsbus0 at backplane0 # Internal "virtual" VAXstation bus +bi* at backplane0 # VAXBI bus + +# Devices connected at VAXBI +cpu0 at bi? node? # KA820/KA825 cpu +mem* at bi? node? # MS820 memory +kdb* at bi? node? # KDB50 MSCP disk ctlr +mscpbus* at kdb? +#ni* at bi? node? # DEBNA/DEBNK ethernet adapter # Devices connected at sbi mem* at sbi? tr? # Memory subsystems @@ -84,7 +96,7 @@ uda1 at uba? csr 0160334 mscpbus* at uda? # Tape drivers -mtc0 at uba? csr 0174500 # TMSCP ctlr +mtc0 at uba? csr 0174500 # Tape MSCP ctlr mscpbus* at mtc? # MSCP devices @@ -92,15 +104,32 @@ ra* at mscpbus? drive? # MSCP disk mt* at mscpbus? drive? # MSCP tape # Unibus tapes -#ts0 at uba? csr 0172520 # TS11/TSV05 tape. +ts0 at uba? csr 0172520 # TS11/TSV05 tape. + +# VS2000 builtin MFM controller (HDC9224) +hdc0 at vsbus0 # The strange builtin MFM controller +rd0 at hdc0 drive 0 # first RD??-disk in system cabinet +rd1 at hdc0 drive 1 # second RD??-disk in external box +rd2 at hdc0 drive 2 # RX33-floppy + +# VAXstation builtin SCSI-controller (NCR5380) +ncr0 at vsbus0 # 1st built-in SCSI interface +ncr1 at vsbus0 # 2nd built-in SCSI interface +scsibus* at ncr? + +sd* at scsibus? target? lun? +st* at scsibus? target? lun? + # Ethernet cards de0 at uba? csr 0174510 # DELUA/DEUNA qe0 at uba? csr 0174440 # DEQNA/DELQA +le0 at vsbus0 # LANCE # Terminal lines dhu0 at uba? csr 0160440 # DHU-11 dz0 at uba? csr 0160100 # DZ-11 +dc0 at vsbus0 # VAXstation 4-line serial controller pseudo-device loop 1 pseudo-device pty 48 diff --git a/sys/arch/vax/conf/files.vax b/sys/arch/vax/conf/files.vax index d0d7cc379a8e..eaa4cef9f20c 100644 --- a/sys/arch/vax/conf/files.vax +++ b/sys/arch/vax/conf/files.vax @@ -1,4 +1,4 @@ -# $NetBSD: files.vax,v 1.20 1996/07/01 21:07:26 ragge Exp $ +# $NetBSD: files.vax,v 1.21 1996/07/20 18:56:59 ragge Exp $ # # new style config file for vax architecture # @@ -13,9 +13,15 @@ attach backplane at root device sbi { tr=-1 } attach sbi at backplane +file arch/vax/vax/sbi.c sbi needs-flag device bi { node=-1 } attach bi at backplane +file arch/vax/bi/bi.c bi needs-flag + +device vsbus { } +attach vsbus at backplane +file arch/vax/vsa/vsbus.c vsbus device cpu attach cpu at backplane with cpu_backplane @@ -26,8 +32,6 @@ attach mem at backplane with mem_backplane attach mem at bi with mem_bi attach mem at sbi with mem_sbi -file arch/vax/vax/sbi.c sbi needs-flag -file arch/vax/vax/bi.c bi needs-flag device mba { drive = -1 } attach mba at sbi @@ -47,6 +51,11 @@ include "../mscp/files.mscp" major {ra = 9} major {mt = 16} +# KDB50 on BI +device kdb: mscp +attach kdb at bi +file arch/vax/bi/kdb.c kdb + device uba { csr } attach uba at sbi, bi file arch/vax/uba/uba.c uba @@ -83,15 +92,50 @@ device dz attach dz at uba file arch/vax/uba/dz.c dz needs-count +# RD-type disks at VS2000's onboard MFM-controller +device hdc { drive = -1 } +attach hdc at vsbus +file arch/vax/vsa/hdc9224.c hdc needs-flag + +device rd: disk +attach rd at hdc +major {rd = 19} + +# +# Machine-independent SCSI driver. +# +include "../../../scsi/files.scsi" +major { st = 20 } +major { sd = 21 } +major { cd = 22 } +major { ch = 23 } + +# builtin NCR5380 SCSI-controller on VAXstation +device ncr: scsi, ncr5380sbc +attach ncr at vsbus +file arch/vax/vsa/ncr.c ncr needs-flag + +# LANCE ethernet controller on VAXstation +attach le at vsbus +file arch/vax/if/if_le.c le + +# DC367-B in VAXstation 2000/3100 (DZ-like 4-port serial line controller, +# controls keyboard, mouse, modem, and printer/console) +device dc +attach dc at vsbus +file arch/vax/vsa/dc.c dc needs-flag +file arch/vax/vsa/lk201.c dc + +# PM Framebuffer in VAXstation 2000/3100 +device pm +attach pm at vsbus +file arch/vax/vsa/pm.c pm needs-flag + + # These devices aren't tested (or even compiled!) # They are just included here to make some files happy ;) # -# KDB50 on BI -device kdb: mscp -attach kdb at bi -file arch/vax/bi/kdb.c kdb - # Ikonas framebuffer device ik attach ik at uba @@ -242,17 +286,23 @@ file dev/cninit.c file arch/vax/vax/locore.c file arch/vax/vax/mem.c file arch/vax/vax/clock.c -file arch/vax/vax/gencons.c +file arch/vax/vax/gencons.c vax8600|vax8200|vax780|vax750|vax630|ka650 +file arch/vax/vax/dzcons.c vax410 | vax43 file arch/vax/vax/pmap.c file arch/vax/vax/machdep.c file arch/vax/vax/ka750.c vax750 -file arch/vax/vax/ka780.c vax780 file arch/vax/vax/ctu.c vax750 -file arch/vax/vax/uvaxII.c vax630 -file arch/vax/vax/emulate.s vax630 | ka650 -file arch/vax/vax/ka650.c vax650 +file arch/vax/vax/ka780.c vax780 +file arch/vax/vax/cfl.c vax780 +file arch/vax/vax/ka820.c vax8200 file arch/vax/vax/ka860.c vax8600 file arch/vax/vax/crl.c vax8600 +file arch/vax/vax/uvax.c vax630 | vax410 | vax43 +file arch/vax/vax/ka630.c vax630 +file arch/vax/vax/ka410.c vax410 +file arch/vax/vax/ka43.c vax43 +file arch/vax/vax/emulate.s vax630 | ka650 +file arch/vax/vax/ka650.c vax650 file arch/vax/vax/conf.c file arch/vax/vax/urem.s file arch/vax/vax/udiv.s @@ -273,9 +323,7 @@ include "../../../compat/ultrix/files.ultrix" # Dom h{ra f}r vara kvar s} l{nge f}r vi se vilka vi beh|ver... #arch/vax/vax/dkbad.c standard -#arch/vax/vax/flp.c standard #arch/vax/vax/ka730.c standard -#arch/vax/vax/ka820.c standard #arch/vax/vax/rx50.c standard #arch/vax/vax/iidr.o optional ii #arch/vax/vax/iidrsys.o optional ii