summaryrefslogtreecommitdiff
path: root/sys/arch/vax/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax/conf')
-rw-r--r--sys/arch/vax/conf/EVERYTHING93
-rw-r--r--sys/arch/vax/conf/GENERIC82
-rw-r--r--sys/arch/vax/conf/Makefile.vax71
-rw-r--r--sys/arch/vax/conf/files.vax128
-rw-r--r--sys/arch/vax/conf/mkoldconf.awk151
-rw-r--r--sys/arch/vax/conf/std.vax10
6 files changed, 188 insertions, 347 deletions
diff --git a/sys/arch/vax/conf/EVERYTHING b/sys/arch/vax/conf/EVERYTHING
deleted file mode 100644
index 101d475b0c9..00000000000
--- a/sys/arch/vax/conf/EVERYTHING
+++ /dev/null
@@ -1,93 +0,0 @@
-# $OpenBSD: EVERYTHING,v 1.4 1996/09/20 06:45:26 deraadt Exp $
-# $NetBSD: EVERYTHING,v 1.1 1995/03/29 22:54:02 ragge Exp $
-#
-# This file contains everything that is known to be compiled
-# without errors. Some things may not be tested, like NETISO.
-#
-
-include "std.vax"
-
-# Here are all different supported CPU types listed.
-options "VAX750"
-options "VAX630"
-
-# Kernel identification
-options EVERYTHING
-
-# Max users on system; this is just a hint
-maxusers 16
-
-# Paging system, we always have them all.
-options SWAPPAGER, DEVPAGER
-
-# Kernel compiled-in symbolic debugger
-#options DDB
-
-# System V shared memory
-options SYSVMSG # Message passing
-options SYSVSEM # Semaphores
-options SYSVSHM # Shared memory
-options SHMMAXPGS=1024
-
-# Network support
-options INET # Internet protocol, (almost) mandatory
-options ETHER # Ethernet, probably needed
-options NS # Xerox Network system, untested
-options ISO,TPIP # ISO network, untested
-options EON
-options CCITT,LLC,HDLC
-
-# All supported filesystem types
-options FFS,QUOTA # Normal fast filesystem, mandatory
-options LFS # Log-structured file system
-options MFS # Memory filesystem
-options NFSCLIENT # Network filesystem client
-options NFSSERVER # Network filesystem server
-options CD9660 # CDRom filesystem
-options FDESC # Filedescriptors, /dev/fd
-options FIFO
-options KERNFS # Kernel info filesystems
-options NULLFS
-options PORTAL
-options PROCFS # Process filesystem
-options UMAPFS
-options UNION
-
-# Old compat stuff; needed to run 4.3BSD Reno programs
-options COMPAT_43
-options COMPAT_09
-options COMPAT_10
-options COMPAT_RENO
-#options TCP_COMPAT_42 # Bug compat with 4.2BSD systems (like NDIX)
-
-# loadable kernel modules.
-options LKM
-
-
-# Kernel(s) to compile
-config bsd root on hp0 swap on hp0
-
-# All supported CPU:s
-cpu0 at backplane0
-
-# Main buses at backplane
-sbi* at backplane0
-
-# Devices connected at sbi
-mem* at sbi? tr? # Memory subsystems
-uba0 at sbi? tr? # Unibus adapters
-
-# Disk controllers at Unibus
-uda0 at uba? csr 0172150 # UDA50/KDA50/RQDX3
-ra0 at uda0 drive 0 # RA??/RD??
-
-# Ethernet cards
-de0 at uba? csr 0174510 # DEUNA/DELUA
-qe0 at uba? csr 0174440 # DEQNA/DELQA
-
-# Tape drivers
-tmscp0 at uba? csr 0174500
-tms0 at tmscp0 drive ? # TK50/TU81
-
-pseudo-device loop
-pseudo-device pty 48
diff --git a/sys/arch/vax/conf/GENERIC b/sys/arch/vax/conf/GENERIC
index 6a181c456bc..400d4a88659 100644
--- a/sys/arch/vax/conf/GENERIC
+++ b/sys/arch/vax/conf/GENERIC
@@ -1,16 +1,20 @@
-# $NetBSD: GENERIC,v 1.13 1996/05/19 16:25:23 ragge Exp $
+# $OpenBSD: GENERIC,v 1.7 1997/01/15 23:24:29 maja Exp $
+# $NetBSD: GENERIC,v 1.19 1997/01/11 11:15:38 ragge Exp $
#
# GENERIC VAX configuration file; all supported devices.
#
-include "std.vax"
+machine 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
@@ -49,6 +53,10 @@ options SYSVMSG
options SYSVSEM
options SYSVSHM
+# What executables to look for.
+options EXEC_AOUT
+options EXEC_SCRIPT
+
# Old compat stuff; needed to run 4.3BSD Reno programs.
# Note that if COMPAT_ULTRIX is set, you lose compatibility with
# 4.3BSD Reno programs and get Ultrix compatibility instead.
@@ -56,19 +64,38 @@ options SYSVSHM
options COMPAT_43
options COMPAT_09
options COMPAT_10
+options COMPAT_11
+options COMPAT_12
#options COMPAT_ULTRIX
#options TCP_COMPAT_42
options LKM
-
# Kernel(s) to compile
config bsd swap generic
+backplane0 at root
+
# Devices directly attached to backplane.
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.
+bi* at backplane0 # VAXBI bus
+cmi0 at backplane0 # 11/750 internal bus.
+uba0 at backplane0 # MicroVAXen only have QBUS.
+vsbus0 at backplane0 # Internal "virtual" VAXstation bus
+
+# Devices connected at VAXBI
+cpu0 at bi? node? # KA820/KA825 cpu
+mem* at bi? node? # Memory subsystems
+#ni* at bi? node? # DEBNA/DEBNT ethernet adapter
+kdb* at bi? node? # KDB50 MSCP disk ctlr
+mscpbus* at kdb?
+
+# Devices connected at cmi
+mem* at cmi? tr? # Memory subsystems
+uba* at cmi? tr? # Unibus adapters
+mba* at cmi? tr? # Massbus adapters
# Devices connected at sbi
mem* at sbi? tr? # Memory subsystems
@@ -79,26 +106,38 @@ mba* at sbi? tr? # Massbus adapters
hp* at mba? drive? # RM/RP disk drives
# Disk controllers at Unibus
-uda0 at uba? csr 0172150
-ra0 at uda0 drive 0
-ra1 at uda0 drive 1
-ra2 at uda0 drive 2
-ra3 at uda0 drive 3
-
+uda0 at uba? csr 0172150 # UDA50/RQDX?
uda1 at uba? csr 0160334
-ra4 at uda1 drive 0
-ra5 at uda1 drive 1
-ra6 at uda1 drive 2
-ra7 at uda1 drive 3
+mscpbus* at uda?
+
+# Tape drivers
+mtc0 at uba? csr 0174500 # Tape MSCP ctlr
+mscpbus* at mtc?
+
+# MSCP devices
+ra* at mscpbus? drive? # MSCP disk
+mt* at mscpbus? drive? # MSCP tape
+
+# Unibus tapes
+#ts0 at uba? csr 0172520 # TS11/TSV05 tape.
+
+# VS2000 builtin MFM controller (HDC9224)
+hdc0 at vsbus0 # The strange builtin MFM controller
+rd* at hdc0 drive? # The RD disk subsystem on VS2000
+
+# 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
-
-# Tape drivers
-tmscp0 at uba? csr 0174500 # TMSCP ctlr
-tms0 at tmscp0 drive ? # TMSCP tape
-ts0 at uba? csr 0172520 # TS11/TSV05 tape.
+le0 at vsbus0 # LANCE
# Terminal lines
dhu0 at uba? csr 0160440 # DHU-11
@@ -106,9 +145,10 @@ dz0 at uba? csr 0160100 # DZ-11
pseudo-device loop 1
pseudo-device pty 48
-pseudo-device bpfilter 8
+pseudo-device bpfilter 8 # Not supported by de or qe yet.
pseudo-device sl 2
pseudo-device ppp 2
pseudo-device tun 2
pseudo-device tb 1
pseudo-device vnd 4
+pseudo-device ccd 4
diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax
index 4d8b0eff776..4167eab268e 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@ -1,6 +1,7 @@
-# $Bsd: Makefile.vax,v 1.21 1996/05/11 16:13:17 mycroft Exp $
+# $OpenBSD: Makefile.vax,v 1.5 1997/01/15 23:24:30 maja Exp $
+# $NetBSD: Makefile.vax,v 1.28 1996/12/01 06:12:39 jonathan Exp $
-# Makefile for Bsd
+# Makefile for NetBSD
#
# This makefile is constructed from a machine description:
# config machineid
@@ -17,27 +18,34 @@
#
# -DTRACE compile in kernel tracing hooks
# -DQUOTA compile in file system quotas
-# -DUUDMA compile in unibus tu58 pseudo-dma code
# DEBUG is set to -g if debugging.
# PROF is set to -pg if profiling.
-AS?= as
CC?= cc
-CPP?= cpp
LD?= ld
-STRIP?= strip -d
-TOUCH?= touch -f -c
+MKDEP?= mkdep
+STRIP?= strip
+COPTS?= -O2
# source tree is located via $S relative to the compilation directory
-S= ../../../..
-VAX= ../..
+.ifndef S
+S!= cd ../../../..; pwd
+.endif
+VAX= $S/arch/vax
-INCLUDES= -I. -I$S/arch -I$S
-CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -D_VAX_INLINE_
-CFLAGS= ${DEBUG} -O2 -Werror
+INCLUDES= -I. -I$S/arch -I$S -nostdinc
+CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
+ -D_VAX_INLINE_
+CWARNFLAGS= -Werror
+CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -Z -Ttext 80000000 -e _start
+STRIPFLAGS= -d
+
+HOSTED_CC= ${CC}
+HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
+HOSTED_CFLAGS= ${CFLAGS}
### find out what to use for libkern
.include "$S/lib/libkern/Makefile.inc"
@@ -55,19 +63,13 @@ LIBCOMPAT= ${COMPATLIB}
LIBCOMPAT= ${COMPATLIB_PROF}
.endif
-# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
-# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
-# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
-# is marked as config-dependent.
+# compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
+# HOSTED}, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
-NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
-
-DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
-DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
-
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
-NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
+
+HOSTED_C= ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
%OBJS
@@ -80,7 +82,7 @@ NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
# ${SYSTEM_LD_HEAD}
# ${SYSTEM_LD} swapxxx.o
# ${SYSTEM_LD_TAIL}
-SYSTEM_OBJ= intvec.o subr.o lim.o \
+SYSTEM_OBJ= intvec.o subr.o \
param.o ioconf.o ${OBJS} ${LIBKERN} ${LIBCOMPAT}
SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
@@ -93,9 +95,9 @@ DEBUG?=
LINKFLAGS+= -X
SYSTEM_LD_TAIL+=; \
echo cp $@ $@.gdb; rm -f $@.gdb; cp $@ $@.gdb; \
- echo ${STRIP} $@; ${STRIP} $@
+ echo ${STRIP} ${STRIPFLAGS} $@; ${STRIP} ${STRIPFLAGS} $@
.else
-LINKFLAGS+= -x
+LINKFLAGS+= -S
.endif
%LOAD
@@ -105,7 +107,7 @@ param.c: $S/conf/param.c
cp $S/conf/param.c .
param.o: param.c Makefile
- ${NORMAL_C_C}
+ ${NORMAL_C}
ioconf.o: ioconf.c
${NORMAL_C}
@@ -120,7 +122,7 @@ clean::
[Ee]rrs linterrs makelinks
lint:
- @lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} ${PARAM} -UKGDB \
+ @lint -hbxncez -DGENERIC -Dvolatile= ${CPPFLAGS} -UKGDB \
${VAX}/vax/Locore.c ${CFILES} ${VAX}/vax/swapgeneric.c \
ioconf.c param.c | \
grep -v 'static function .* unused'
@@ -136,14 +138,13 @@ links:
sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
sh makelinks && rm -f dontlink
-SRCS= ${VAX}/vax/intvec.s ${VAX}/vax/subr.s lim.c \
+SRCS= ${VAX}/vax/intvec.s ${VAX}/vax/subr.s \
param.c ioconf.c ${CFILES} ${SFILES}
depend:: .depend
.depend: ${SRCS} param.c
- mkdep ${AFLAGS} ${CPPFLAGS} ${VAX}/vax/intvec.s ${VAX}/vax/subr.s
- mkdep -a ${CFLAGS} ${CPPFLAGS} lim.c
- mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
- mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
+ ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${VAX}/vax/intvec.s ${VAX}/vax/subr.s
+ ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
+ ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
# depend on root or device configuration
@@ -166,10 +167,4 @@ intvec.o: ${VAX}/vax/intvec.s
subr.o: ${VAX}/vax/subr.s
${NORMAL_S}
-lim.c: ioconf.c
- ../../conf/mkoldconf.awk < ioconf.c > lim.c
-
-lim.o: lim.c
- ${NORMAL_C_C}
-
%RULES
diff --git a/sys/arch/vax/conf/files.vax b/sys/arch/vax/conf/files.vax
index b9176eabbd5..61bd0f44a7a 100644
--- a/sys/arch/vax/conf/files.vax
+++ b/sys/arch/vax/conf/files.vax
@@ -1,4 +1,4 @@
-# $NetBSD: files.vax,v 1.19 1996/05/19 16:25:29 ragge Exp $
+# $NetBSD: files.vax,v 1.23 1997/01/05 18:50:27 ragge Exp $
#
# new style config file for vax architecture
#
@@ -13,22 +13,32 @@ attach backplane at root
device sbi { tr=-1 }
attach sbi at backplane
+file arch/vax/vax/sbi.c sbi needs-flag
+
+device cmi { tr=-1 }
+attach cmi at backplane
+
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
attach cpu at bi with cpu_bi
+
device mem
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
+attach mem at cmi with mem_cmi
device mba { drive = -1 }
-attach mba at sbi
+attach mba at sbi with mba_sbi
+attach mba at cmi with mba_cmi
file arch/vax/mba/mba.c mba needs-flag
device hp: disk
@@ -40,35 +50,43 @@ device ht
attach ht at mba
file arch/vax/mba/ht.c ht needs-flag
+# MSCP device drivers
+include "arch/vax/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
+attach uba at backplane with uba_backplane
+attach uba at sbi with uba_sbi
+attach uba at cmi with uba_cmi
+attach uba at bi with uba_bi
file arch/vax/uba/uba.c uba
-device uda { drive=-1 }
+device mtc: mscp
+attach mtc at uba
+device uda: mscp
attach uda at uba
-file arch/vax/uba/uda.c uda needs-count
+file arch/vax/uba/uda.c uda | mtc
device de:ifnet, ether
attach de at uba
file arch/vax/if/if_de.c de
-device ra: disk
-attach ra at uda
-file arch/vax/vax/mscp.c ra needs-count
-major {ra = 9}
-
-# TK50/TU81 at UBA
-device tmscp {drive = -1}
-attach tmscp at uba
-device tms
-attach tms at tmscp
-file arch/vax/uba/tmscp.c tmscp needs-count
-
# DEQNA/DELQA used on Qbus
device qe:ifnet, ether
attach qe at uba
file arch/vax/if/if_qe.c qe
+# DEBNA/DEBNT Ethernet Adapter
+device ni:ifnet, ether
+attach ni at bi
+file arch/vax/bi/ni.c ni
+
# TS11 at UBA
device ts
attach ts at uba
@@ -84,6 +102,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 { sd = 20 }
+major { st = 21 }
+major { cd = 22 }
+
+# Memory Disk for install floppy
+pseudo-device md
+file dev/md.c md needs-flag
+major { md = 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 ;)
#
@@ -112,12 +174,6 @@ device mu
attach mu at mba
file arch/vax/mba/mt.c mu needs-count
-# KDB50 on BI
-device kdb { drive=-1 }
-attach kdb at bi
-file arch/vax/bi/kdb.c kdb needs-count
-
-
# DMF32 on UBA
device dmf
attach dmf at uba
@@ -244,17 +300,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
@@ -266,7 +328,7 @@ file arch/vax/vax/autoconf.c
file arch/vax/vax/random.s inet
file arch/vax/vax/in_cksum.c inet
file arch/vax/vax/ns_cksum.c ns
-file arch/vax/vax/disksubr.c ffs
+file arch/vax/vax/disksubr.c disk | tape
file arch/vax/if/if_uba.c de | qe
file arch/vax/vax/db_machdep.c ddb
file arch/vax/vax/db_disasm.c ddb
@@ -275,9 +337,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
diff --git a/sys/arch/vax/conf/mkoldconf.awk b/sys/arch/vax/conf/mkoldconf.awk
deleted file mode 100644
index 81b2cb1e0d7..00000000000
--- a/sys/arch/vax/conf/mkoldconf.awk
+++ /dev/null
@@ -1,151 +0,0 @@
-#!/usr/bin/awk -f
-#
-# $NetBSD: mkoldconf.awk,v 1.7 1996/03/17 22:56:31 ragge Exp $
-#
-
-/tms_cd/{
- tmsplats[ntms]=$3;
- tmsaddr[ntms]=$6;
- ntms++;
-}
-
-/ts_cd/{
- tsplats[nts]=$3;
- tsaddr[nts]=$6;
- nts++;
-}
-
-/ra_cd/{
- raplats[nra]=$3;
- raaddr[nra]=$6;
- nra++;
-}
-
-{
- if(savenext==1){
- l=sprintf("%d",$3)
- udanummer[l-1]=nuda-1
- savenext=0;
- }
-}
-
-
-{
- if(tmssavenext==1){
- l=sprintf("%d",$3)
- tmsnummer[l-1]=ntmscp-1
- tmssavenext=0;
- }
- if(tssavenext==1){
- l=sprintf("%d",$3)
- tsnummer[l-1]=nts-1
- tssavenext=0;
- }
-}
-
-/tmscp_cd/{
- tmscpplats[ntmscp]=$3;
- tmscpaddr[ntmscp]=$6;
- ntmscp++;
- tmssavenext=1;
-}
-
-/uda_cd/{
- udaplats[nuda]=$3;
- udaddr[nuda]=$6;
- nuda++;
- savenext=1;
-}
-
-
-/};/{
- k=0;
- m=0;
-}
-
-{
- if (k==1){
- for(i=1;i<NF+1;i++){
- loc[loccnt+i]=$i;
- }
- loccnt+=NF;
- }
-}
-
-/static int loc/{
- k=1;
- loccnt=0;
-}
-
-{
- if(m==1){
- for(i=1;i<NF+1;i++){
- pv[i]=$i;
- }
- }
-}
-
-/static short pv/{
- m=1;
-}
-
-END{
-
-printf "#include <sys/param.h>\n"
-printf "#include <machine/pte.h>\n"
-printf "#include <sys/buf.h>\n"
-printf "#include <sys/map.h>\n"
-
-printf "#include <vax/uba/ubavar.h>\n"
-
-printf "int antal_ra=%d;\n",nra-1
-printf "int antal_uda=%d;\n",nuda-1
-printf "int antal_ts=%d;\n",nts-1
-printf "int antal_tms=%d;\n",ntms-1
-printf "int antal_tmscp=%d;\n",ntmscp-1
-
-printf "extern struct uba_driver udadriver;\n"
-if(nts) printf "extern struct uba_driver tsdriver;\n"
-if(nts) printf "void tsintr();\n"
-if(ntms) printf "extern struct uba_driver tmscpdriver;\n"
-if(ntms) printf "void tmscpintr();\n"
-printf "void udaintr();\n"
-printf "int ra_cd=0, ra_ca=0, tms_cd=0, tms_ca=0;\n"
-printf "#define C (caddr_t)\n"
-
-printf "struct uba_ctlr ubminit[]={\n"
-for(i=1;i<nuda;i++){
- k=sprintf("%d",udaddr[i])
- printf " { &udadriver, %d,'?',0,udaintr,C %s},\n",
- udaplats[i],loc[k+1]
-}
-for(i=1;i<nts;i++){
- k=sprintf("%d",tsaddr[i])
-if(nts)printf " { &tsdriver, %d,'?',0,tsintr,C %s},\n",
- tsplats[i],loc[k+1]
-}
-for(i=1;i<ntmscp;i++){
- k=sprintf("%d",tmscpaddr[i])
-if(ntms)printf " { &tmscpdriver, %d,'?',0,tmscpintr,C %s},\n",
- tmscpplats[i],loc[k+1]
-}
-printf "0};\n"
-
-printf "struct uba_device ubdinit[]={\n"
-for(i=1;i<nra;i++){
- k=sprintf("%d",raaddr[i])
- printf " { &udadriver,%d,%d,'?',%d,0,0,1,0},\n",raplats[i],
- rr++/4,loc[k+1]
-}
-for(i=1;i<nts;i++){
- k=sprintf("%d",tsaddr[i])
- printf " {&tsdriver,%d,0,'?',0,0,C 0,1,0},\n",tsplats[i]
-}
-for(i=1;i<ntms;i++){
- k=sprintf("%d",tmsaddr[i])
- printf " {&tmscpdriver,%d,0,'?',0,0,C 0,1,0},\n",tmsplats[i]
-}
-printf "0};\n"
-
-}
-
diff --git a/sys/arch/vax/conf/std.vax b/sys/arch/vax/conf/std.vax
deleted file mode 100644
index ba605d9b4c6..00000000000
--- a/sys/arch/vax/conf/std.vax
+++ /dev/null
@@ -1,10 +0,0 @@
-# $NetBSD: std.vax,v 1.3 1995/02/13 00:41:59 ragge Exp $
-#
-# Std vaxfiles
-#
-machine vax
-
-backplane0 at root
-
-options MAXFDESCS=2048
-options TIMEZONE=-60, DST=1