11.128Sandvar#	$NetBSD: files.vax,v 1.128 2024/02/10 18:43:52 andvar Exp $
21.1Sragge#
31.1Sragge# new style config file for vax architecture
41.1Sragge#
51.6Scgd
61.6Scgd# maxpartitions must be first item in files.${ARCH}.newconf
71.13Sraggemaxpartitions 8
81.1Sragge
91.1Sraggemaxusers 8 32 64
101.1Sragge
111.111Smattdevice	mainbus { }: bus
121.41Smattattach	mainbus at root
131.1Sragge
141.57Sragge# Define a bunch of devices, needed in more than one place.
151.57Sraggedevice	cpu
161.57Sraggedevice	mem
171.111Smattdevice	mba { drive = -1 }: bus
181.62Smatt
191.90Slukemdefflag	opt_cputype.h	VAX780 VAX750 VAX730
201.89Slukem			VAX8200 VAX8800 VAX8600 VAX610
211.89Slukem			VAX6200 VAX6300 VAX6400 VAX6500 VAX6600
221.89Slukem			VAX410 VAX43 VAX46 VAX48 VAX49 VAX53
231.89Slukem			VAX630 VAX650 VAX660 VAX670 VAX680 VAXANY
241.70Sragge
251.90Slukemdefflag	opt_emulate.h	NO_INSN_EMULATE
261.81Sragge
271.81Sraggedefpseudo	leds
281.81Sraggefile	arch/vax/vsa/leds.c		leds			needs-flag
291.75Sragge
301.111Smatt# CPU on mainbus
311.111Smattattach	cpu at mainbus with cpu_mainbus
321.111Smatt
331.111Smatt# NMI on KA88
341.111Smattdevice	nmi { slot=-1 }: bus
351.70Sraggeattach	nmi at mainbus with nmi_mainbus
361.74Sraggefile	arch/vax/vax/nmi_mainbus.c	nmi
371.62Smatt
381.117Sragge# Abus and related devices
391.117Sraggedevice  abus {}: bus
401.117Sraggeattach  abus at mainbus with abus_mainbus
411.117Sraggefile	arch/vax/vax/ka860.c		vax8600
421.117Sraggefile	arch/vax/vax/crl.c		vax8600
431.117Sragge
441.57Sragge# SBI and related devices
451.111Smattdevice	sbi { tr=-1 }: bus
461.57Sraggeattach	sbi at mainbus with sbi_mainbus
471.117Sraggeattach  sbi at abus with sbi_abus
481.57Sraggefile	arch/vax/vax/sbi.c		sbi
491.20Sragge
501.57Sraggeattach	mem at sbi with mem_sbi
511.85Smattfile	arch/vax/vax/ka780.c		vax780 | mem_sbi | vaxany
521.85Smattfile	arch/vax/vax/cfl.c		vax780 | mem_sbi | vaxany
531.57Sragge
541.57Sragge# CMI and related devices
551.111Smattdevice	cmi { tr=-1 }: bus
561.41Smattattach	cmi at mainbus
571.57Sraggefile	arch/vax/vax/cmi.c		cmi
581.57Sragge
591.57Sraggeattach	mem at cmi with mem_cmi
601.85Smattfile	arch/vax/vax/ka750.c		vax750 | mem_cmi | vaxany
611.115Schristosfile	arch/vax/vax/ctu.c		vax750 | vax730 | mem_cmi | vaxany
621.115Schristos
631.115Schristos# Direct unibus interface
641.115Schristosdevice	ubi { tr=-1 }
651.115Schristosattach	ubi at mainbus
661.115Schristosfile	arch/vax/vax/ubi.c		ubi
671.115Schristos
681.115Schristosattach	mem at ubi with mem_ubi
691.115Schristosfile	arch/vax/vax/ka730.c		vax730 | mem_ubi | vaxany
701.22Sragge
711.111Smattdevice	vsbus { csr }: bus
721.41Smattattach	vsbus at mainbus
731.21Sraggefile	arch/vax/vsa/vsbus.c		vsbus
741.85Smattfile	arch/vax/vsa/vsbus_dma.c	vsbus & (vax46 | vax48 | vax49 |
751.88Slukem						vax53 | vaxany)
761.18Sragge
771.58Sraggedevice	ze: sgec, arp, ether, ifnet
781.111Smattattach	ze at mainbus with ze_mainbus
791.111Smattfile	arch/vax/if/if_ze.c		ze_mainbus
801.20Sragge
811.111Smattattach	le at mainbus with le_mainbus:	le24
821.111Smattfile	arch/vax/if/if_le.c		le_mainbus
831.59Sragge
841.22Sraggeattach	mba at sbi with mba_sbi
851.22Sraggeattach	mba at cmi with mba_cmi
861.9Sraggefile	arch/vax/mba/mba.c		mba needs-flag
871.1Sragge
881.88Slukemdevice	hp: disk
891.88Slukemattach	hp at mba
901.88Slukemfile	arch/vax/mba/hp.c		hp needs-flag
911.1Sragge
921.32Sthorpejdevice	ht: tape
931.18Sraggeattach	ht at mba
941.11Sraggefile	arch/vax/mba/ht.c		ht needs-flag
951.11Sragge
961.77Sragge#
971.77Sragge# Bus-independent support for DEC devices
981.77Sragge#
991.77Sraggeinclude "dev/dec/files.dec"
1001.77Sragge
1011.44Sragge# Memory Disk for install floppy
1021.91Sjdolecekfile	dev/md_root.c			memory_disk_hooks
1031.44Sragge
1041.20Sragge# MSCP device drivers
1051.53Sraggeinclude "dev/mscp/files.mscp"
1061.20Sragge
1071.51Sragge# Unibus/Q22 bus definitions
1081.53Sraggeinclude "dev/qbus/files.uba"
1091.51Sragge
1101.122Sflxd# TURBOchannel bus support and device drivers
1111.107Smattinclude "dev/tc/files.tc"
1121.107Smatt
1131.121Sflxdattach	tc at vsbus with tc_vsbus
1141.121Sflxdfile	arch/vax/vsa/tc_vsbus.c		tc_vsbus
1151.107Smatt
1161.111Smattattach	uba at mainbus with uba_mainbus
1171.111Smattfile	arch/vax/uba/uba_mainbus.c	uba_mainbus
1181.22Sraggeattach	uba at sbi with uba_sbi
1191.55Sraggefile	arch/vax/uba/uba_sbi.c		uba_sbi
1201.22Sraggeattach	uba at cmi with uba_cmi
1211.55Sraggefile	arch/vax/uba/uba_cmi.c		uba_cmi
1221.115Schristosattach	uba at ubi with uba_ubi
1231.115Schristosfile	arch/vax/uba/uba_ubi.c		uba_ubi
1241.55Sragge
1251.55Sragge# BI bus definitions
1261.55Sraggeinclude "dev/bi/files.bi"
1271.14Sragge
1281.55Sraggeattach	bi at mainbus with bi_mainbus
1291.55Sraggefile	arch/vax/bi/bi_mainbus.c	bi_mainbus
1301.70Sraggeattach	bi at nmi with bi_nmi
1311.70Sraggefile	arch/vax/bi/bi_nmi.c		bi_nmi
1321.55Sragge
1331.55Sragge# VAX CPUs at BI, do not belong in MI code.
1341.55Sraggeattach	cpu at bi with cpu_bi
1351.55Sraggeattach	mem at bi with mem_bi
1361.74Sragge
1371.74Sragge# VAX CPUs at NMI
1381.74Sraggeattach	cpu at nmi with cpu_nmi
1391.74Sraggeattach	mem at nmi with mem_nmi
1401.22Sragge
1411.70Sragge# XMI bus definitions
1421.70Sraggeinclude	"dev/xmi/files.xmi"
1431.70Sragge
1441.70Sraggeattach	xmi at mainbus with xmi_mainbus
1451.72Sraggefile	arch/vax/vax/xmi_mainbus.c	xmi_mainbus
1461.70Sragge
1471.70Sragge# VAX CPUs at XMI, do not belong in MI code.
1481.70Sraggeattach	cpu at xmi with cpu_xmi
1491.70Sraggeattach	mem at xmi with mem_xmi
1501.70Sragge
1511.35Sraggeattach	dz at vsbus with dz_vsbus
1521.126Stsutsuifile	arch/vax/vsa/dz_vsbus.c		dz_vsbus | smg | gpx
1531.95Sad
1541.95Sadattach	lkkbd at dz with dzkbd
1551.95Sadfile	dev/dec/dzkbd.c			dzkbd needs-flag
1561.95Sad
1571.104Sad# XXX alpha and pmax call this vsms
1581.95Saddevice	lkms: wsmousedev
1591.95Sadattach	lkms at dz with dzms
1601.95Sadfile	dev/dec/dzms.c			dzms needs-flag
1611.35Sragge
1621.21Sragge# RD-type disks at VS2000's onboard MFM-controller
1631.32Sthorpejdevice	hdc { drive = -1 }
1641.21Sraggeattach	hdc at vsbus
1651.41Smattfile	arch/vax/vsa/hdc9224.c		ry | hdc | rd needs-flag
1661.21Sragge
1671.32Sthorpejdevice	rd: disk
1681.21Sraggeattach	rd at hdc
1691.21Sragge
1701.40Sraggedevice	ry: disk
1711.40Sraggeattach	ry at hdc
1721.40Sragge
1731.21Sragge#
1741.21Sragge# Machine-independent SCSI driver.
1751.21Sragge#
1761.54Sthorpejinclude "dev/scsipi/files.scsipi"
1771.21Sragge
1781.88Slukem# builtin NCR5380 SCSI-controller on VAXstation
1791.71Smattdevice	si: scsi, ncr5380sbc
1801.71Smattattach	si at vsbus with si_vsbus
1811.71Smattfile	arch/vax/vsa/ncr.c		si_vsbus
1821.21Sragge
1831.123Sflxd#
1841.123Sflxd# Machine-independent ATA drivers
1851.123Sflxd#
1861.123Sflxdinclude "dev/ata/files.ata"
1871.123Sflxd
1881.77Sragge# Monochrome framebuffer on VS3100.
1891.127Stsutsuidevice	smg: displaydev, wsemuldisplaydev, rasops1
1901.77Sraggeattach	smg at vsbus
1911.77Sraggefile	arch/vax/vsa/smg.c		smg needs-flag
1921.101Sragge
1931.126Stsutsui# GPX framebuffer on VS3100.
1941.126Stsutsuidevice	gpx: displaydev, wsemuldisplaydev, rasops8
1951.126Stsutsuiattach	gpx at vsbus
1961.126Stsutsuifile	arch/vax/vsa/gpx.c		gpx needs-flag
1971.126Stsutsui
1981.120Smatt# Monochrome QVSS framebuffer on qbus (VCB01)
1991.120Smattdevice	qv {}: displaydev, wsemuldisplaydev
2001.120Smattattach	qv at uba
2011.120Smattattach  genfb at qv with genfb_qv
2021.120Smattfile	arch/vax/uba/qv.c		qv|genfb_qv needs-flag
2031.120Smatt
2041.120Smattdevice	qvaux { line=-1 }: tty
2051.120Smattattach	qvaux at qv 
2061.120Smattfile	arch/vax/uba/qvaux.c		qvaux needs-flag
2071.120Smatt
2081.120Smattattach	lkkbd at qvaux with qvkbd
2091.120Smattfile	arch/vax/uba/qvkbd.c		qvkbd needs-flag
2101.120Smatt
2111.120Smattattach	lkms at qvaux with qvms
2121.120Smattfile	arch/vax/uba/qvms.c		qvms needs-flag
2131.120Smatt
2141.101Sragge# Color framebuffer on VS4000/60.
2151.111Smattdevice	lcg: displaydev, wsemuldisplaydev
2161.101Sraggeattach	lcg at vsbus
2171.101Sraggefile	arch/vax/vsa/lcg.c		lcg needs-flag
2181.101Sragge
2191.101Sragge# Color framebuffer on VS4000/90.
2201.112Shansdevice	spx: displaydev, wsemuldisplaydev
2211.112Shansattach	spx at vsbus
2221.112Shansfile	arch/vax/vsa/spx.c		spx needs-flag
2231.77Sragge
2241.21Sragge# LANCE ethernet controller on VAXstation
2251.59Sraggeattach	le at vsbus with le_vsbus:	le24
2261.59Sraggefile	arch/vax/if/if_le_vsbus.c	le_vsbus
2271.21Sragge
2281.128Sandvar# builtin NCR53C95 SCSI Controller on VAXstation 4000 VLC/60/9x
2291.107Smatt#device	asc: scsi, ncr53c9x
2301.61Smattattach	asc at vsbus with asc_vsbus
2311.71Smattfile	arch/vax/vsa/asc_vsbus.c	asc_vsbus
2321.34Sragge
2331.1Sragge# These devices aren't tested (or even compiled!)
2341.1Sragge# They are just included here to make some files happy ;)
2351.1Sragge#
2361.1Sragge
2371.1Sragge# Ikonas framebuffer
2381.32Sthorpejdevice	ik
2391.18Sraggeattach	ik at uba
2401.39Sjonathanfile	arch/vax/uba/ik.c		ik needs-flag
2411.1Sragge
2421.32Sthorpejdevice	vs
2431.18Sraggeattach	vs at uba
2441.39Sjonathanfile	arch/vax/uba/vs.c		vs needs-flag
2451.1Sragge
2461.1Sragge# RK06/07 on UBA
2471.32Sthorpejdevice	rk: disk
2481.18Sraggeattach	rk at uba
2491.39Sjonathanfile	arch/vax/uba/rk.c		rk needs-flag
2501.1Sragge
2511.1Sragge# TM11/TE10 at UBA
2521.32Sthorpejdevice	te: tape
2531.18Sraggeattach	te at uba
2541.39Sjonathanfile	arch/vax/uba/tm.c		te needs-flag
2551.1Sragge
2561.1Sragge# TU78 at MBA
2571.32Sthorpejdevice	mu: tape
2581.18Sraggeattach	mu at mba
2591.39Sjonathanfile	arch/vax/mba/mt.c		mu needs-flag
2601.1Sragge
2611.1Sragge# DN-11 on UBA
2621.32Sthorpejdevice	dn # XXX?
2631.18Sraggeattach	dn at uba
2641.39Sjonathanfile	arch/vax/uba/dn.c		dn needs-flag
2651.1Sragge
2661.1Sragge# IDC (RB730) on UBA (VAX 11/730)
2671.32Sthorpejdevice	idc { drive=-1 }
2681.18Sraggeattach	idc at uba
2691.32Sthorpejdevice	rb: disk
2701.18Sraggeattach	rb at idc
2711.39Sjonathanfile	arch/vax/uba/idc.c		rb needs-flag
2721.1Sragge
2731.1Sragge# LP-11 at UBA
2741.32Sthorpejdevice	lp
2751.18Sraggeattach	lp at uba
2761.39Sjonathanfile	arch/vax/uba/lp.c		lp needs-flag
2771.1Sragge
2781.1Sragge# ???? at UBA
2791.32Sthorpejdevice	lpa
2801.18Sraggeattach	lpa at uba
2811.39Sjonathanfile	arch/vax/uba/lpa.c		lpa needs-flag
2821.1Sragge
2831.1Sragge# PS2 at UBA
2841.32Sthorpejdevice	ps
2851.18Sraggeattach	ps at uba
2861.39Sjonathanfile	arch/vax/uba/ps.c		ps needs-flag
2871.1Sragge
2881.1Sragge# SC-21/SC-31 at UBA
2891.32Sthorpejdevice	sc { drive=-1 }
2901.18Sraggeattach	sc at uba
2911.32Sthorpejdevice	up: disk
2921.18Sraggeattach	up at sc
2931.39Sjonathanfile	arch/vax/uba/up.c		up needs-flag
2941.1Sragge
2951.1Sragge# TU45 at UBA
2961.32Sthorpejdevice	ut { drive=-1}
2971.18Sraggeattach	ut at uba
2981.32Sthorpejdevice	tj: tape
2991.18Sraggeattach	tj at ut
3001.39Sjonathanfile	arch/vax/uba/ut.c		tj needs-flag
3011.1Sragge
3021.1Sragge# TU58/DECtape II
3031.32Sthorpejdevice	uu: tape
3041.18Sraggeattach	uu at uba
3051.39Sjonathanfile	arch/vax/uba/uu.c		uu needs-flag
3061.1Sragge
3071.1Sragge# Benson-Varian plotter at UBA
3081.32Sthorpejdevice	va { drive=-1}
3091.18Sraggeattach	va at uba
3101.32Sthorpejdevice	vz
3111.18Sraggeattach	vz at va
3121.39Sjonathanfile	arch/vax/uba/va.c		va needs-flag
3131.1Sragge
3141.1Sragge# Versatec plotter at UBA
3151.32Sthorpejdevice	vp
3161.18Sraggeattach	vp at uba
3171.39Sjonathanfile	arch/vax/uba/vp.c		vp needs-flag
3181.1Sragge
3191.1Sragge# ACC LH/DH IMP on UBA
3201.32Sthorpejdevice	acc: ifnet
3211.18Sraggeattach	acc at uba
3221.39Sjonathanfile	arch/vax/if/if_acc.c		acc needs-flag
3231.1Sragge
3241.1Sragge# DR11C at UBA
3251.32Sthorpejdevice	ct # XXX
3261.18Sraggeattach	ct at uba
3271.39Sjonathanfile	arch/vax/uba/ct.c		ct needs-flag
3281.1Sragge
3291.1Sragge# A/D-converter on UBA
3301.32Sthorpejdevice	ad
3311.18Sraggeattach	ad at uba
3321.39Sjonathanfile	arch/vax/uba/ad.c		ad needs-flag
3331.1Sragge
3341.1Sragge# DH-11/DM-11 on UBA
3351.32Sthorpejdevice	dh # XXX?
3361.18Sraggeattach	dh at uba
3371.39Sjonathanfile	arch/vax/uba/dh.c		dh needs-flag
3381.1Sragge
3391.119Sjklos# Vaxstation 4000 audio
3401.119Sjklosdevice	vsaudio: audiobus, am7930
3411.119Sjklosattach	vsaudio at vsbus
3421.119Sjklosfile	arch/vax/vsa/vsaudio.c		vsaudio needs-flag
3431.119Sjklos
3441.1Sragge# These are general files needed for compilation.
3451.2Sraggefile	dev/cons.c
3461.10Smellonfile	dev/cninit.c
3471.5Sraggefile	arch/vax/vax/locore.c
3481.3Sraggefile	arch/vax/vax/clock.c
3491.113Sadfile	arch/vax/vax/core_machdep.c	coredump
3501.85Smattfile	arch/vax/vax/gencons.c		vax8600 | vax780 | vax750 | vax630 |
3511.85Smatt					vax8200 | vax680 | vax650 | vax660 |
3521.85Smatt					vax670  | vaxany
3531.1Sraggefile	arch/vax/vax/pmap.c
3541.1Sraggefile	arch/vax/vax/machdep.c
3551.85Smattfile	arch/vax/vax/ka820.c		vax8200 | vaxany
3561.85Smattfile	arch/vax/vax/crx.c		vax8200 | vaxany
3571.85Smattfile	arch/vax/vax/ka88.c		vax8800 | vaxany
3581.85Smattfile	arch/vax/vax/ka6400.c		vax6400 | vaxany
3591.85Smattfile	arch/vax/vax/ka410.c		vax410  | vaxany
3601.85Smattfile	arch/vax/vax/ka43.c		vax43   | vaxany
3611.85Smattfile	arch/vax/vax/ka46.c		vax46   | vaxany
3621.85Smattfile	arch/vax/vax/ka48.c		vax48   | vaxany
3631.85Smattfile	arch/vax/vax/ka49.c		vax49   | vaxany
3641.85Smattfile	arch/vax/vax/ka53.c		vax53   | vaxany
3651.85Smattfile	arch/vax/vax/ka610.c		vax610  | vaxany
3661.85Smattfile	arch/vax/vax/ka630.c		vax630  | vaxany
3671.85Smattfile	arch/vax/vax/ka650.c		vax650  | vaxany
3681.85Smattfile	arch/vax/vax/ka660.c		vax660  | vaxany
3691.85Smattfile	arch/vax/vax/ka670.c		vax670  | vaxany
3701.85Smattfile	arch/vax/vax/ka680.c		vax680  | vaxany
3711.92Smattfile	arch/vax/vax/emulate.S		!no_insn_emulate
3721.92Smattfile	arch/vax/vax/unimpl_emul.S	!no_insn_emulate
3731.105Smattfile	arch/vax/vax/lock_stubs.S
3741.45Sraggefile	arch/vax/vax/scb.c
3751.116Schristosfile	arch/vax/vax/opcodes.c
3761.1Sraggefile	arch/vax/vax/conf.c
3771.1Sraggefile	arch/vax/vax/trap.c
3781.49Sraggefile	arch/vax/vax/bus_dma.c
3791.51Sraggefile	arch/vax/vax/bus_mem.c
3801.78Sfvdlfile	arch/vax/vax/procfs_machdep.c	procfs
3811.53Sraggefile	arch/vax/vax/sgmap.c
3821.100Smattfile	arch/vax/vax/sig_machdep.c
3831.103Schristosfile	arch/vax/vax/syscall.c
3841.1Sraggefile	arch/vax/vax/vm_machdep.c
3851.50Sraggefile	arch/vax/vax/findcpu.c
3861.7Sraggefile	arch/vax/vax/autoconf.c
3871.16Sraggefile	arch/vax/vax/ns_cksum.c		ns
3881.22Sraggefile	arch/vax/vax/disksubr.c		disk | tape
3891.11Sraggefile	arch/vax/vax/db_machdep.c	ddb
3901.12Sraggefile	arch/vax/vax/db_disasm.c	ddb
3911.53Sraggefile	arch/vax/uba/uba_dma.c		uba
3921.69Sraggefile	arch/vax/vax/multicpu.c		multiprocessor
3931.124Sraggefile	arch/vax/vax/cpu_in_cksum.S	(inet | inet6) & cpu_in_cksum
3941.14Sragge
3951.114Smjf# Binary compatibility with previous NetBSD releases (COMPAT_XX)
3961.125Smaxvfile	arch/vax/vax/compat_13_machdep.c 	compat_13 | compat_ultrix
3971.114Smjffile	arch/vax/vax/compat_16_machdep.c	compat_16 | compat_ultrix
3981.114Smjf
3991.62Smattinclude "compat/ultrix/files.ultrix"
4001.61Smatt
4011.54Sthorpejinclude "compat/vax1k/files.vax1k"
4021.1Sragge
4031.1Sragge# Dom h{ra f}r vara kvar s} l{nge f}r vi se vilka vi beh|ver...
4041.88Slukem#arch/vax/vax/dkbad.c		standard
4051.88Slukem#arch/vax/vax/ka730.c		standard
4061.88Slukem#arch/vax/vax/iidr.o		optional ii
4071.88Slukem#arch/vax/vax/iidrsys.o		optional ii
4081.88Slukem#arch/vax/vax/iidr_glob.o	optional ii
4091.88Slukem#arch/vax/if/if_css.c		optional css imp device-driver
4101.88Slukem#arch/vax/if/if_dp.c		optional dp device-driver
4111.88Slukem#arch/vax/if/if_ddn.c		optional ddn device-driver
4121.88Slukem#arch/vax/if/if_dmv.c		optional dmv device-driver
4131.88Slukem#arch/vax/if/if_ec.c		optional ec device-driver
4141.88Slukem#arch/vax/if/if_en.c		optional en device-driver
4151.88Slukem#arch/vax/if/if_ex.c		optional ex device-driver
4161.88Slukem#arch/vax/if/if_hdh.c		optional hdh device-driver
4171.88Slukem#arch/vax/if/if_hy.c		optional hy device-driver
4181.88Slukem#arch/vax/if/if_pcl.c		optional pcl device-driver
4191.88Slukem#arch/vax/if/if_vv.c		optional vv device-driver
4201.88Slukem#arch/vax/if/raw_hy.c		optional hy device-driver
4211.98Sgehenna
4221.123Sflxd# this wants to be probed as late as possible.
4231.123Sflxd#
4241.123Sflxd# Machine-independent USB device support
4251.123Sflxd#
4261.123Sflxdinclude "dev/usb/files.usb"
4271.123Sflxd
4281.123Sflxdinclude "dev/bluetooth/files.bluetooth"
4291.123Sflxd
4301.98Sgehennainclude "arch/vax/conf/majors.vax"
431