files.pmax revision 1.69
11.69Sthorpej#	$NetBSD: files.pmax,v 1.69 1999/07/07 00:05:30 thorpej Exp $
21.17Sjonathan# DECstation-specific configuration info
31.17Sjonathan
41.17Sjonathan# maxpartitions must be first item in files.${ARCH}.
51.16Scgdmaxpartitions 8
61.17Sjonathan
71.16Scgdmaxusers 2 8 64
81.16Scgd
91.17Sjonathan#
101.17Sjonathan# Bus-independent devices
111.17Sjonathan#
121.49Sthorpejdevice mainbus { }			# no locators
131.27Sthorpejattach mainbus at root
141.17Sjonathan
151.49Sthorpejdevice cpu				# not optional
161.27Sthorpejattach cpu at mainbus
171.19Sjonathanfile arch/pmax/pmax/cpu.c		cpu
181.16Scgd
191.65Snisimura# Model support option headers
201.65Snisimuradefopt 	DEC_3100	# DECstation 2100, 3100 (kn01)
211.65Snisimuradefopt 	DEC_5100	# DECsystem 5100 (kn230)
221.65Snisimuradefopt 	DEC_3MAX	# DECstation 5000/200 (kn02)
231.65Snisimuradefopt 	DEC_3MIN	# DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
241.65Snisimuradefopt 	DEC_MAXINE	# Personal DECstation 5000/xx (kn02ca)
251.65Snisimuradefopt 	DEC_3MAXPLUS	# DECstation 5000/240 (kn03), 5000/260 (kn05)
261.65Snisimuradefopt	DEC_5800	# DECsystem 5800 isis (kn5800) XMI
271.65Snisimuradefopt	DEC_5400	# DECsystem 5400 mipsfair (kn210) Qbus
281.65Snisimuradefopt	DEC_5500	# DECsystem 5500 mipsfair2 (kn220) Qbus
291.51Sjonathan
301.65Snisimura# Model dependent files
311.51Sjonathanfile	arch/pmax/pmax/dec_3100.c	dec_3100	# DS3100, pmax
321.51Sjonathanfile	arch/pmax/pmax/dec_3max.c	dec_3max	# DS5000/200, 3max
331.51Sjonathanfile	arch/pmax/pmax/dec_3maxplus.c	dec_3maxplus	# DS5000/240, 3maxplus
341.51Sjonathanfile	arch/pmax/pmax/dec_3min.c	dec_3min	# DS5000/1xx, 3min
351.51Sjonathanfile	arch/pmax/pmax/dec_maxine.c	dec_maxine	# DS5000/1xx, maxine
361.53Sjonathanfile	arch/pmax/pmax/dec_5100.c	dec_5100	# kn230, mipsmate
371.51Sjonathan#file	arch/pmax/pmax/dec_5400.c	dec_5400	# DS5400, mipsfair
381.51Sjonathan#file	arch/pmax/pmax/dec_5500.c	dec_5500	# kn220, mipsfair2
391.51Sjonathan#file	arch/pmax/pmax/dec_5800.c	dec_5800	# 5800, isis
401.51Sjonathan
411.52Sjonathan# handlers for memory subsystems shared across models..
421.66Snisimurafile	arch/pmax/pmax/memc_3max.c	dec_3max|dec_3maxplus
431.66Snisimurafile	arch/pmax/pmax/memc_3min.c	dec_3min|dec_maxine
441.46Sjonathan
451.46Sjonathan#
461.46Sjonathan# Bus-independent support for DEC devices
471.46Sjonathan#
481.46Sjonathaninclude "dev/dec/files.dec"
491.46Sjonathan
501.53Sjonathan# 3100 and 5100 ibus
511.53Sjonathandefine baseboard {}
521.53Sjonathandevice kn01bus {}: baseboard
531.58Ssimonbattach kn01bus at mainbus
541.53Sjonathan
551.53Sjonathandevice kn230bus {}: baseboard
561.58Ssimonbattach kn230bus at mainbus
571.53Sjonathan
581.53Sjonathandevice ibus {}
591.58Ssimonbattach ibus at baseboard
601.53Sjonathan
611.53Sjonathanfile	arch/pmax/ibus/ibus.c		ibus
621.53Sjonathanfile	arch/pmax/ibus/ibus_3100.c	ibus & dec_3100
631.53Sjonathanfile	arch/pmax/ibus/ibus_5100.c	ibus & dec_5100
641.53Sjonathan
651.53Sjonathan
661.17Sjonathan#
671.46Sjonathan# TurboChannel Devices
681.17Sjonathan#
691.53Sjonathandevice tcasic {}
701.53Sjonathanattach tcasic	at mainbus
711.46Sjonathaninclude	"dev/tc/files.tc"
721.53Sjonathan#attach tc	at tcasic
731.53Sjonathanattach tc	at mainbus
741.26Sjonathan
751.17Sjonathan
761.53Sjonathanfile	arch/pmax/tc/tcasic.c		tcasic
771.53Sjonathanfile	arch/pmax/tc/tc_conf.c		tcasic
781.53Sjonathanfile	arch/pmax/tc/tc_subr.c		tc	needs-flag
791.53Sjonathanfile	arch/pmax/tc/tc_3max.c		tc & dec_3max
801.53Sjonathanfile	arch/pmax/tc/tc_3min.c		tc & dec_3min
811.53Sjonathanfile	arch/pmax/tc/tc_3maxplus.c	tc & dec_3maxplus
821.53Sjonathanfile	arch/pmax/tc/tc_maxine.c	tc & dec_maxine
831.17Sjonathan
841.17Sjonathan#
851.17Sjonathan# The TurboChannel IOCTL ASIC. Present on IOASIC machines,
861.17Sjonathan# which is all turbochannel machines ever built except the 3MAX (5000/200).
871.17Sjonathan#
881.46Sjonathan# device defined in files.tc:
891.46Sjonathan# device ioasic { offset = -1 }
901.46Sjonathan# attach ioasic at tc
911.20Sjonathanfile	arch/pmax/tc/asic.c		ioasic
921.16Scgd
931.18Sjonathan
941.18Sjonathan# Real-time clock (not optional)
951.53Sjonathandevice	mcclock
961.53Sjonathanattach	mcclock at ioasic with mcclock_ioasic
971.53Sjonathanattach	mcclock at ibus with mcclock_ibus
981.44Sjonathanfile	arch/pmax/pmax/clock.c
991.56Sdrochnerfile	dev/clock_subr.c
1001.53Sjonathanfile	arch/pmax/pmax/mcclock.c	mcclock
1011.53Sjonathanfile	dev/dec/mcclock.c		mcclock
1021.53Sjonathanfile	dev/dec/mcclock_pad32.c		mcclock
1031.44Sjonathanfile	arch/pmax/tc/mcclock_ioasic.c	mcclock_ioasic
1041.53Sjonathanfile	arch/pmax/ibus/mcclock_ibus.c	mcclock_ibus
1051.18Sjonathan
1061.18Sjonathan#
1071.18Sjonathan# Machine-independent SCSI driver.
1081.18Sjonathan#
1091.18Sjonathan
1101.47Sbouyerinclude "dev/scsipi/files.scsipi"
1111.18Sjonathan#major { cd = 3 }
1121.18Sjonathan#major { sd = 21 }
1131.18Sjonathanmajor { tz = 10 }
1141.18Sjonathanmajor { rz = 21 }
1151.57Sjonathan
1161.57Sjonathan# Memory Disk
1171.57Sjonathanfile	arch/pmax/pmax/md_root.c	memory_disk_hooks
1181.57Sjonathanmajor { md = 17 }
1191.16Scgd
1201.17Sjonathan#
1211.17Sjonathan# Old 4.4bsd pmax-specific scsi driver (deprecated).
1221.17Sjonathan#
1231.17Sjonathandefine	oldscsi {}
1241.49Sthorpejdevice oldscsibus {target = -1, drive = -1}
1251.27Sthorpejattach oldscsibus at oldscsi
1261.17Sjonathan
1271.58Ssimonb# asc: system-slot or turbochannel-option SCSI interface
1281.35Sjonathan#device asc: oldscsi,scsi
1291.49Sthorpejdevice asc: oldscsi
1301.33Sjonathanattach asc at ioasic with asc_ioasic
1311.33Sjonathanfile	dev/tc/asc_ioasic.c		asc_ioasic
1321.33Sjonathanattach asc at tc with asc_tc
1331.33Sjonathanfile	dev/tc/asc_tc.c			asc_tc
1341.33Sjonathan
1351.25Sjonathanfile	dev/tc/asc.c			asc needs-flag
1361.16Scgd
1371.61Ssimonb# sii: kn01 SCSI interface
1381.35Sjonathan#device sii: scsi,oldscsi
1391.49Sthorpejdevice sii: oldscsi
1401.21Sjonathanfile	arch/pmax/dev/sii.c		sii needs-flag
1411.53Sjonathanattach sii at ibus with sii_ds
1421.33Sjonathanfile	arch/pmax/dev/sii_ds.c		sii_ds
1431.16Scgd
1441.16Scgd
1451.49Sthorpejdevice	tz: tape
1461.27Sthorpejattach	tz at oldscsibus
1471.16Scgdfile	arch/pmax/dev/tz.c		tz needs-count
1481.16Scgd
1491.49Sthorpejdevice	rz: disk
1501.27Sthorpejattach	rz at oldscsibus
1511.16Scgdfile	arch/pmax/dev/rz.c		rz needs-count
1521.16Scgd
1531.17Sjonathan#
1541.17Sjonathan# Optional device-drivers
1551.17Sjonathan#
1561.17Sjonathan
1571.17Sjonathan# DC7085 (DZ-like four-port serial device) on mainbus on non-IOASIC machines.
1581.58Ssimonb# For the 3MAX (aka kn02 aka 5k/200) pretend that it's on an ASIC.
1591.49Sthorpejdevice dc: tty
1601.40Sjonathanfile	arch/pmax/dev/dc.c		dc
1611.33Sjonathanattach dc at ioasic with dc_ioasic
1621.40Sjonathanfile	arch/pmax/dev/dc_ioasic.c	dc_ioasic	needs-flag
1631.53Sjonathanattach dc at ibus with dc_ds
1641.40Sjonathanfile	arch/pmax/dev/dc_ds.c		dc_ds	needs-flag
1651.33Sjonathan
1661.16Scgd
1671.17Sjonathan# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB?
1681.49Sthorpejdevice dtop
1691.27Sthorpejattach dtop at ioasic
1701.26Sjonathanfile	arch/pmax/dev/dtop.c		dtop needs-flag
1711.16Scgd
1721.17Sjonathan# LANCE ethernet driver.
1731.46Sjonathan#   device defined in sys/conf/files.
1741.46Sjonathan#   TC and ioasic attachment and files in sys/dev/tc/files.tc
1751.32Smhitch
1761.55Sdrochnerattach le at ibus with le_pmax:		le24, le_dec_subr
1771.46Sjonathanfile	dev/tc/if_le_ibus.c		le_pmax		needs-flag #for kn01_intr
1781.32Smhitch
1791.63Sad# Raster operations for rcons. This isn't in the rcons section, since
1801.63Sad# it depends on fb devices for configuration glue. 
1811.63Sadinclude "dev/rasops/files.rasops"
1821.16Scgd
1831.17Sjonathan# 3100 (pmax) onboard framebuffer
1841.64Saddevice pm: rasops1, rasops8
1851.26Sjonathanfile	arch/pmax/dev/pm.c		pm needs-flag
1861.26Sjonathanfile	arch/pmax/dev/bt478.c		pm
1871.53Sjonathanattach pm at ibus with pm_ds
1881.41Smhitchfile	arch/pmax/dev/pm_ds.c		pm_ds
1891.16Scgd
1901.58Ssimonb#########################################################################
1911.58Ssimonb# Turbochannel options.							#
1921.58Ssimonb#########################################################################
1931.17Sjonathan
1941.63Saddevice cfb: rasops8
1951.27Sthorpejattach cfb at tc
1961.26Sjonathanfile	arch/pmax/dev/cfb.c		cfb needs-flag
1971.16Scgd
1981.63Saddevice sfb: rasops8
1991.27Sthorpejattach sfb at tc
2001.26Sjonathanfile	arch/pmax/dev/sfb.c		sfb needs-flag
2011.17Sjonathan
2021.63Saddevice mfb: rasops8
2031.27Sthorpejattach mfb at tc
2041.26Sjonathanfile	arch/pmax/dev/mfb.c		mfb needs-flag
2051.16Scgd
2061.58Ssimonb# Zilog 8350/Intel 82350(?) SCC UART.
2071.49Sthorpejdevice scc: tty
2081.27Sthorpejattach scc at ioasic
2091.39Sjonathanfile	arch/pmax/tc/scc.c		scc needs-flag
2101.16Scgd
2111.17Sjonathan# MAXINE onboard framebuffer
2121.63Saddevice	xcfb: rasops8
2131.27Sthorpejattach	xcfb at tc
2141.26Sjonathanfile	arch/pmax/dev/xcfb.c 		xcfb needs-flag
2151.22Sjonathanfile	arch/pmax/dev/ims332.c		xcfb
2161.16Scgd
2171.62Sad#  PixelStamp graphics boards
2181.62Saddevice	px
2191.62Sadattach	px at tc
2201.62Sadfile	arch/pmax/dev/px.c 		px needs-flag
2211.62Sad
2221.17Sjonathan# DECWRL 45Mbit T3 interface
2231.49Sthorpejdevice	tt: tty
2241.27Sthorpejattach	tt at tc
2251.16Scgdfile	arch/pmax/dev/if_tt.c		tt needs-count
2261.16Scgd
2271.16Scgd## bogus pmax-specific SCSI code. Leave in until new-style config done.
2281.16Scgdfile	arch/pmax/dev/scsi.c
2291.16Scgd
2301.16Scgdfile	arch/pmax/pmax/autoconf.c
2311.54Sthorpejfile	arch/pmax/pmax/bus_dma.c
2321.54Sthorpejfile	arch/pmax/pmax/bus_space.c
2331.16Scgdfile	arch/pmax/pmax/conf.c
2341.65Snisimurafile	arch/pmax/pmax/disksubr.c
2351.16Scgdfile	arch/pmax/pmax/machdep.c
2361.17Sjonathanfile	arch/pmax/pmax/mainbus.c
2371.65Snisimurafile	arch/pmax/pmax/promcall.c
2381.51Sjonathanfile	arch/pmax/pmax/sysconf.c
2391.65Snisimurafile	arch/pmax/stand/lib/callvec.c
2401.22Sjonathanfile	dev/cons.c
2411.65Snisimurafile	arch/pmax/dev/findcons.c	# find and set up console.
2421.65Snisimura#file	arch/pmax/pmax/kadb.c		# obsolute kadb
2431.16Scgd
2441.24Sjonathan# pmax configuration glue for rconsole. Requires fb pseudo-device.
2451.24Sjonathan
2461.37Scgdinclude "dev/rcons/files.rcons"
2471.62Sadinclude "dev/wsfont/files.wsfont"
2481.24Sjonathan
2491.69Sthorpejdefpseudo	rasterconsole
2501.24Sjonathanfile	arch/pmax/dev/rcons.c			rasterconsole	needs-flag
2511.16Scgd
2521.22Sjonathan## Support code for LK-201 keyboards, mice, and qvss ring buffers
2531.62Sadfile	arch/pmax/dev/lk201.c		pm | cfb | sfb | mfb | xcfb | px
2541.68Sadfile	arch/pmax/dev/qvss_compat.c	fb | px
2551.22Sjonathan
2561.22Sjonathan
2571.58Ssimonb# VDAC/RAMDAC support for framebuffers. Other devices supported by
2581.58Ssimonb# NetBSD may use the same chips, too.
2591.29Scgdfile	arch/pmax/dev/bt459.c			cfb | sfb
2601.22Sjonathan
2611.22Sjonathan#
2621.22Sjonathan# Pseudo-device driver for framebuffers.  All user-level requests,
2631.22Sjonathan# including open(), go through the fb driver, which presents a consistent
2641.22Sjonathan# interface to all framebuffers.  Configure as many units as you
2651.22Sjonathan# have framebuffers.  Provides qvss-style interface compatible with
2661.22Sjonathan# X11R5 servers.
2671.22Sjonathan#
2681.69Sthorpejdefpseudo	fb
2691.22Sjonathanfile	arch/pmax/dev/fb.c		fb needs-count
2701.22Sjonathan
2711.17Sjonathan# Glue for old-style config
2721.17Sjonathanfile	arch/pmax/pmax/conf-glue.c
2731.23Sthorpej
2741.23Sthorpej# Ultrix Binary Compatibility (COMPAT_ULTRIX)
2751.37Scgdinclude "compat/ultrix/files.ultrix"
2761.16Scgd
2771.16Scgd# Configs
278