files.hp300 revision 1.97
11.97Sthorpej#	$NetBSD: files.hp300,v 1.97 2024/01/18 14:39:06 thorpej Exp $
21.2Scgd#
31.20Sthorpej# hp300-specific configuration info
41.20Sthorpej
51.20Sthorpej# maxpartitions must be the first item in files.${ARCH}
61.20Sthorpejmaxpartitions 8
71.20Sthorpej
81.20Sthorpejmaxusers 2 8 64
91.26Sthorpej
101.27Sthorpej# SPU configuration options.
111.97Sthorpejdefflag	opt_spuconf.h	HP320: M68020, M68K_MMU_HP
121.97Sthorpejdefflag	opt_spuconf.h	HP330: M68020, M68K_MMU_68851
131.97Sthorpejdefflag	opt_spuconf.h	HP350: M68020, M68K_MMU_HP
141.96Sthorpej
151.96Sthorpejdefflag	opt_spuconf.h	HP340: M68030
161.96Sthorpejdefflag	opt_spuconf.h	HP345: M68030
171.96Sthorpejdefflag	opt_spuconf.h	HP360: M68030
181.96Sthorpejdefflag	opt_spuconf.h	HP362: M68030
191.96Sthorpejdefflag	opt_spuconf.h	HP370: M68030
201.96Sthorpejdefflag	opt_spuconf.h	HP375: M68030
211.96Sthorpejdefflag	opt_spuconf.h	HP400: M68030
221.96Sthorpej
231.96Sthorpejdefflag	opt_spuconf.h	HP380: M68040
241.96Sthorpejdefflag	opt_spuconf.h	HP382: M68040
251.96Sthorpejdefflag	opt_spuconf.h	HP385: M68040
261.96Sthorpejdefflag	opt_spuconf.h	HP425: M68040
271.96Sthorpejdefflag	opt_spuconf.h	HP433: M68040
281.20Sthorpej
291.27Sthorpej# Misc. options.
301.50Slukemdefflag			USELEDS		# make the lights twinkle
311.66Shedefflag			PANICBUTTON	# enable panic on ctl+shift+reset ...
321.66She					# ... unless we're doing DDB
331.27Sthorpej
341.20Sthorpej# NOTE!  The order of these lines is significant!  Don't change them
351.20Sthorpej# unless you absolutely know what you're doing!
361.20Sthorpej
371.27Sthorpej#
381.27Sthorpej# Mainbus
391.27Sthorpej#
401.27Sthorpej
411.34Sthorpejdevice	mainbus { }
421.27Sthorpejattach	mainbus at root
431.27Sthorpej
441.27Sthorpej#
451.27Sthorpej# Internal i/o space
461.27Sthorpej#
471.27Sthorpej
481.34Sthorpejdevice	intio { }
491.27Sthorpejattach	intio at mainbus
501.27Sthorpejfile	arch/hp300/dev/intio.c		intio
511.27Sthorpej
521.27Sthorpej#
531.27Sthorpej# DIO bus
541.27Sthorpej#
551.27Sthorpej
561.34Sthorpejdevice	dio { scode = -1 }
571.27Sthorpejattach	dio at mainbus
581.27Sthorpejfile	arch/hp300/dev/dio.c		dio
591.27Sthorpej
601.27Sthorpej#
611.81Stsutsui# SGC bus
621.81Stsutsui#
631.81Stsutsui
641.83Stsutsuidevice	sgc { slot = -1 }
651.81Stsutsuiattach	sgc at mainbus
661.81Stsutsuifile	arch/hp300/dev/sgc.c		sgc
671.81Stsutsui
681.81Stsutsui#
691.27Sthorpej# Devices in Internal i/o space
701.27Sthorpej#
711.27Sthorpej
721.53Sgmcgarry# Real-time clock (not optional)
731.53Sgmcgarrydevice	rtc
741.53Sgmcgarryattach	rtc at intio
751.53Sgmcgarryfile	arch/hp300/dev/rtc.c			rtc
761.53Sgmcgarry
771.53Sgmcgarry# Human (Hilarious) Interface Loop
781.79Stsutsuiinclude "dev/hil/files.hil"
791.79Stsutsui
801.79Stsutsuiattach	hil at intio with hil_intio
811.79Stsutsuifile	arch/hp300/dev/hil_intio.c		hil_intio
821.53Sgmcgarry
831.63Sgmcgarry# 98620 DMA controller
841.64Sthorpejdevice	dma
851.63Sgmcgarryattach	dma at intio
861.63Sgmcgarryfile	arch/hp300/dev/dma.c			dma
871.63Sgmcgarry
881.27Sthorpej# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations
891.34Sthorpejdevice	frodo { offset = -1 }
901.27Sthorpejattach	frodo at intio
911.27Sthorpejfile	arch/hp300/dev/frodo.c		frodo
921.28Sthorpej
931.28Sthorpej# Apollo APCI 8250-like UARTs
941.69Stsutsuiattach	com at frodo with com_frodo
951.69Stsutsuifile	arch/hp300/dev/com_frodo.c	com_frodo needs-flag
961.27Sthorpej
971.79Stsutsui# Apollo Keyboard and mouse
981.82Stsutsuidevice	dnkbd: wskbddev, wsmousedev
991.82Stsutsuiattach	dnkbd at frodo
1001.82Stsutsuifile	arch/hp300/dev/dnkbd.c			dnkbd	needs-flag
1011.82Stsutsuifile	arch/hp300/dev/dnkbdmap.c		dnkbd
1021.20Sthorpej
1031.87Stsutsui# An mc146818-like calendar on 425e
1041.87Stsutsuidevice	mcclock: mc146818
1051.87Stsutsuiattach mcclock at frodo with mcclock_frodo
1061.87Stsutsuifile	arch/hp300/dev/mcclock_frodo.c		mcclock_frodo
1071.87Stsutsui
1081.79Stsutsui#
1091.79Stsutsui# Frame buffer devices on Internal I/O and the DIO bus
1101.79Stsutsui#
1111.79Stsutsuidefine	diofb
1121.79Stsutsuidefine	diofb_mono
1131.79Stsutsuifile	arch/hp300/dev/diofb.c			diofb | diofb_mono
1141.79Stsutsuifile	arch/hp300/dev/diofb_mono.c		diofb_mono
1151.20Sthorpej
1161.79Stsutsuidevice	dvbox: wsemuldisplaydev, diofb, rasops8
1171.20Sthorpejattach	dvbox at intio with dvbox_intio
1181.79Stsutsuiattach	dvbox at dio with dvbox_dio
1191.79Stsutsuifile	arch/hp300/dev/dvbox.c			dvbox	needs-flag
1201.79Stsutsui
1211.79Stsutsuidevice	gbox: wsemuldisplaydev, diofb, rasops8
1221.20Sthorpejattach	gbox at intio with gbox_intio
1231.79Stsutsuiattach	gbox at dio with gbox_dio
1241.79Stsutsuifile	arch/hp300/dev/gbox.c			gbox	needs-flag
1251.79Stsutsui
1261.79Stsutsuidevice	hyper: wsemuldisplaydev, diofb_mono, rasops1
1271.79Stsutsuiattach	hyper at dio
1281.79Stsutsuifile	arch/hp300/dev/hyper.c			hyper	needs-flag
1291.79Stsutsui
1301.79Stsutsuidevice	rbox: wsemuldisplaydev, diofb, rasops8
1311.20Sthorpejattach	rbox at intio with rbox_intio
1321.79Stsutsuiattach	rbox at dio with rbox_dio
1331.79Stsutsuifile	arch/hp300/dev/rbox.c			rbox	needs-flag
1341.79Stsutsui
1351.79Stsutsuidevice	topcat: wsemuldisplaydev, diofb, rasops8
1361.20Sthorpejattach	topcat at intio with topcat_intio
1371.79Stsutsuiattach	topcat at dio with topcat_dio
1381.79Stsutsuifile	arch/hp300/dev/topcat.c			topcat	needs-flag
1391.79Stsutsui
1401.79Stsutsuidevice	tvrx: wsemuldisplaydev, diofb_mono, rasops1
1411.79Stsutsuiattach	tvrx at dio
1421.79Stsutsuifile	arch/hp300/dev/tvrx.c			tvrx	needs-flag
1431.20Sthorpej
1441.80Stsutsuidevice	gendiofb: wsemuldisplaydev, diofb, rasops8
1451.80Stsutsuiattach	gendiofb at dio
1461.80Stsutsuifile	arch/hp300/dev/gendiofb.c		gendiofb	needs-flag
1471.80Stsutsui
1481.20Sthorpej#
1491.27Sthorpej# Devices on the DIO bus
1501.20Sthorpej#
1511.20Sthorpej
1521.20Sthorpej# DCA serial interface
1531.69Stsutsuiattach	com at dio with com_dio
1541.69Stsutsuifile	arch/hp300/dev/com_dio.c	com_dio needs-flag
1551.20Sthorpej
1561.20Sthorpej# DCM serial interface
1571.34Sthorpejdevice	dcm: tty
1581.20Sthorpejattach	dcm at dio
1591.20Sthorpejfile	arch/hp300/dev/dcm.c		dcm needs-flag
1601.20Sthorpej
1611.20Sthorpej# LANCE ethernet
1621.37Sdrochnerattach	le at dio: le24
1631.20Sthorpejfile	arch/hp300/dev/if_le.c		le
1641.20Sthorpej
1651.89Stsutsui# 425e digital audio
1661.89Stsutsuiattach	arcofi at dio with arcofi_dio
1671.89Stsutsuifile	arch/hp300/dev/arcofi_dio.c	arcofi_dio
1681.89Stsutsui
1691.20Sthorpej# HP-IB interfaces
1701.20Sthorpejdefine	hpibdev { }
1711.20Sthorpej
1721.64Sthorpejdevice	nhpib: hpibdev
1731.65Sgmcgarryattach	nhpib at intio with nhpib_intio
1741.65Sgmcgarryattach	nhpib at dio with nhpib_dio
1751.20Sthorpejfile	arch/hp300/dev/nhpib.c		nhpib
1761.20Sthorpej
1771.64Sthorpejdevice	fhpib: hpibdev
1781.20Sthorpejattach	fhpib at dio
1791.20Sthorpejfile	arch/hp300/dev/fhpib.c		fhpib
1801.20Sthorpej
1811.20Sthorpej# HP-IB bus layer
1821.34Sthorpejdevice	hpibbus { slave = -1, punit = -1 }
1831.20Sthorpejattach	hpibbus at hpibdev
1841.20Sthorpejfile	arch/hp300/dev/hpib.c		hpibbus
1851.20Sthorpej
1861.20Sthorpej# HP-IB devices
1871.34Sthorpejdevice	ct: tape
1881.20Sthorpejattach	ct at hpibbus
1891.20Sthorpejfile	arch/hp300/dev/ct.c		ct needs-flag
1901.20Sthorpej
1911.34Sthorpejdevice	mt: tape
1921.20Sthorpejattach	mt at hpibbus
1931.20Sthorpejfile	arch/hp300/dev/mt.c		mt needs-flag
1941.20Sthorpej
1951.34Sthorpejdevice	rd: disk
1961.20Sthorpejattach	rd at hpibbus
1971.20Sthorpejfile	arch/hp300/dev/rd.c		rd needs-flag
1981.20Sthorpej
1991.34Sthorpejdevice	ppi
2001.20Sthorpejattach	ppi at hpibbus
2011.20Sthorpejfile	arch/hp300/dev/ppi.c		ppi needs-flag
2021.20Sthorpej
2031.68Stsutsui# MI SCSI
2041.68Stsutsuiinclude "dev/scsipi/files.scsipi"
2051.68Stsutsui
2061.68Stsutsuiattach	spc at dio
2071.68Stsutsuifile	arch/hp300/dev/spc.c		spc needs-flag
2081.42Soster
2091.84Stsutsui#
2101.84Stsutsui# Devices on the SGC bus
2111.84Stsutsui#
2121.84Stsutsui
2131.84Stsutsuiattach	sti at sgc with sti_sgc
2141.88Stsutsuifile	arch/hp300/dev/sti_sgc.c	sti_sgc needs-flag
2151.84Stsutsui
2161.55Sgmcgarry# Memory Disk for ramdisk
2171.55Sgmcgarryfile	dev/md_root.c			memory_disk_hooks
2181.55Sgmcgarry
2191.20Sthorpej#
2201.20Sthorpej# Non-device files
2211.20Sthorpej#
2221.20Sthorpej
2231.20Sthorpejfile	arch/hp300/hp300/autoconf.c
2241.31Sthorpejfile	arch/hp300/hp300/bus_space.c
2251.20Sthorpejfile	arch/hp300/hp300/clock.c
2261.20Sthorpejfile	arch/hp300/hp300/dkbad.c
2271.20Sthorpejfile	arch/hp300/hp300/machdep.c
2281.27Sthorpejfile	arch/hp300/hp300/leds.c			useleds
2291.35Sthorpejfile	arch/hp300/hp300/pmap_bootstrap.c	compile-with "${NOPROF_C}"
2301.20Sthorpejfile	arch/hp300/hp300/trap.c
2311.20Sthorpejfile	arch/hp300/hp300/disksubr.c
2321.57Schsfile	arch/m68k/m68k/cacheops.c
2331.59Schsfile	arch/m68k/m68k/db_memrw.c		ddb | kgdb
2341.90Smrgfile	arch/m68k/m68k/fpu.c			compile-with "${M68K_KERN_FPU}"
2351.60Schsfile	arch/m68k/m68k/kgdb_machdep.c		kgdb
2361.95Sthorpejfile	arch/m68k/m68k/m68k_intr.c
2371.95Sthorpejfile	arch/m68k/m68k/m68k_intr_stubs.s
2381.92Sthorpejfile	arch/m68k/m68k/m68k_trap.c
2391.93Sthorpejfile	arch/m68k/m68k/mmu_subr.s
2401.62Schsfile	arch/m68k/m68k/pmap_motorola.c
2411.73Schsfile	arch/m68k/m68k/procfs_machdep.c		procfs
2421.61Schsfile	arch/m68k/m68k/sys_machdep.c
2431.94Sthorpejfile	arch/m68k/m68k/vectors.c
2441.57Schsfile	arch/m68k/m68k/vm_machdep.c
2451.20Sthorpej
2461.20Sthorpejfile	dev/cons.c
2471.20Sthorpej
2481.86Stsutsui# Emulation modules
2491.86Stsutsui# 6888x emulator (FPU_EMULATE)
2501.86Stsutsuiinclude "arch/m68k/fpe/files.fpe"
2511.86Stsutsui
2521.43Ssimonb# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
2531.43Ssimonbinclude	"compat/aoutm68k/files.aoutm68k"
2541.30Scarrel
2551.30Scarrel# SunOS Binary Compatibility (COMPAT_SUNOS)
2561.30Scarrelinclude	"compat/sunos/files.sunos"
2571.30Scarrelfile	arch/m68k/m68k/sunos_machdep.c	compat_sunos
2581.38Sitohy
2591.38Sitohy# Linux binary compatibility (COMPAT_LINUX)
2601.38Sitohyinclude "compat/linux/files.linux"
2611.38Sitohyinclude "compat/linux/arch/m68k/files.linux_m68k"
2621.45Schristosfile arch/m68k/m68k/linux_trap.c		compat_linux
2631.39Skleink
2641.38Sitohy# OSS audio driver compatibility
2651.38Sitohyinclude "compat/ossaudio/files.ossaudio"
2661.56Sgehenna
2671.56Sgehennainclude	"arch/hp300/conf/majors.hp300"
268