xref: /netbsd-src/sys/arch/hp300/conf/files.hp300 (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1#	$NetBSD: files.hp300,v 1.88 2014/04/20 04:12:54 tsutsui Exp $
2#
3# hp300-specific configuration info
4
5# maxpartitions must be the first item in files.${ARCH}
6maxpartitions 8
7
8maxusers 2 8 64
9
10# SPU configuration options.
11defflag	opt_spuconf.h	HP320 HP330 HP340 HP345 HP350 HP360 HP362 HP370
12			HP375 HP380 HP382 HP385 HP400 HP425 HP433
13
14# Misc. options.
15defflag			USELEDS		# make the lights twinkle
16defflag			PANICBUTTON	# enable panic on ctl+shift+reset ...
17					# ... unless we're doing DDB
18
19# NOTE!  The order of these lines is significant!  Don't change them
20# unless you absolutely know what you're doing!
21
22#
23# Mainbus
24#
25
26device	mainbus { }
27attach	mainbus at root
28
29#
30# Internal i/o space
31#
32
33device	intio { }
34attach	intio at mainbus
35file	arch/hp300/dev/intio.c		intio
36
37#
38# DIO bus
39#
40
41device	dio { scode = -1 }
42attach	dio at mainbus
43file	arch/hp300/dev/dio.c		dio
44
45#
46# SGC bus
47#
48
49device	sgc { slot = -1 }
50attach	sgc at mainbus
51file	arch/hp300/dev/sgc.c		sgc
52
53#
54# Devices in Internal i/o space
55#
56
57# Real-time clock (not optional)
58device	rtc
59attach	rtc at intio
60file	arch/hp300/dev/rtc.c			rtc
61
62# Human (Hilarious) Interface Loop
63include "dev/hil/files.hil"
64
65attach	hil at intio with hil_intio
66file	arch/hp300/dev/hil_intio.c		hil_intio
67
68# 98620 DMA controller
69device	dma
70attach	dma at intio
71file	arch/hp300/dev/dma.c			dma
72
73# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations
74device	frodo { offset = -1 }
75attach	frodo at intio
76file	arch/hp300/dev/frodo.c		frodo
77
78# Apollo APCI 8250-like UARTs
79attach	com at frodo with com_frodo
80file	arch/hp300/dev/com_frodo.c	com_frodo needs-flag
81
82# Apollo Keyboard and mouse
83device	dnkbd: wskbddev, wsmousedev
84attach	dnkbd at frodo
85file	arch/hp300/dev/dnkbd.c			dnkbd	needs-flag
86file	arch/hp300/dev/dnkbdmap.c		dnkbd
87
88# An mc146818-like calendar on 425e
89device	mcclock: mc146818
90attach mcclock at frodo with mcclock_frodo
91file	arch/hp300/dev/mcclock_frodo.c		mcclock_frodo
92
93#
94# Frame buffer devices on Internal I/O and the DIO bus
95#
96define	diofb
97define	diofb_mono
98file	arch/hp300/dev/diofb.c			diofb | diofb_mono
99file	arch/hp300/dev/diofb_mono.c		diofb_mono
100
101device	dvbox: wsemuldisplaydev, diofb, rasops8
102attach	dvbox at intio with dvbox_intio
103attach	dvbox at dio with dvbox_dio
104file	arch/hp300/dev/dvbox.c			dvbox	needs-flag
105
106device	gbox: wsemuldisplaydev, diofb, rasops8
107attach	gbox at intio with gbox_intio
108attach	gbox at dio with gbox_dio
109file	arch/hp300/dev/gbox.c			gbox	needs-flag
110
111device	hyper: wsemuldisplaydev, diofb_mono, rasops1
112attach	hyper at dio
113file	arch/hp300/dev/hyper.c			hyper	needs-flag
114
115device	rbox: wsemuldisplaydev, diofb, rasops8
116attach	rbox at intio with rbox_intio
117attach	rbox at dio with rbox_dio
118file	arch/hp300/dev/rbox.c			rbox	needs-flag
119
120device	topcat: wsemuldisplaydev, diofb, rasops8
121attach	topcat at intio with topcat_intio
122attach	topcat at dio with topcat_dio
123file	arch/hp300/dev/topcat.c			topcat	needs-flag
124
125device	tvrx: wsemuldisplaydev, diofb_mono, rasops1
126attach	tvrx at dio
127file	arch/hp300/dev/tvrx.c			tvrx	needs-flag
128
129device	gendiofb: wsemuldisplaydev, diofb, rasops8
130attach	gendiofb at dio
131file	arch/hp300/dev/gendiofb.c		gendiofb	needs-flag
132
133#
134# Devices on the DIO bus
135#
136
137# DCA serial interface
138attach	com at dio with com_dio
139file	arch/hp300/dev/com_dio.c	com_dio needs-flag
140
141# DCM serial interface
142device	dcm: tty
143attach	dcm at dio
144file	arch/hp300/dev/dcm.c		dcm needs-flag
145
146# LANCE ethernet
147attach	le at dio: le24
148file	arch/hp300/dev/if_le.c		le
149
150# HP-IB interfaces
151define	hpibdev { }
152
153device	nhpib: hpibdev
154attach	nhpib at intio with nhpib_intio
155attach	nhpib at dio with nhpib_dio
156file	arch/hp300/dev/nhpib.c		nhpib
157
158device	fhpib: hpibdev
159attach	fhpib at dio
160file	arch/hp300/dev/fhpib.c		fhpib
161
162# HP-IB bus layer
163device	hpibbus { slave = -1, punit = -1 }
164attach	hpibbus at hpibdev
165file	arch/hp300/dev/hpib.c		hpibbus
166
167# HP-IB devices
168device	ct: tape
169attach	ct at hpibbus
170file	arch/hp300/dev/ct.c		ct needs-flag
171
172device	mt: tape
173attach	mt at hpibbus
174file	arch/hp300/dev/mt.c		mt needs-flag
175
176device	rd: disk
177attach	rd at hpibbus
178file	arch/hp300/dev/rd.c		rd needs-flag
179
180device	ppi
181attach	ppi at hpibbus
182file	arch/hp300/dev/ppi.c		ppi needs-flag
183
184# MI SCSI
185include "dev/scsipi/files.scsipi"
186
187attach	spc at dio
188file	arch/hp300/dev/spc.c		spc needs-flag
189
190#
191# Devices on the SGC bus
192#
193
194attach	sti at sgc with sti_sgc
195file	arch/hp300/dev/sti_sgc.c	sti_sgc needs-flag
196
197# Memory Disk for ramdisk
198file	dev/md_root.c			memory_disk_hooks
199
200#
201# Non-device files
202#
203
204file	arch/hp300/hp300/autoconf.c
205file	arch/hp300/hp300/bus_space.c
206file	arch/hp300/hp300/clock.c
207file	arch/hp300/hp300/dkbad.c
208file	arch/hp300/hp300/machdep.c
209file	arch/hp300/hp300/intr.c
210file	arch/hp300/hp300/leds.c			useleds
211file	arch/hp300/hp300/pmap_bootstrap.c	compile-with "${NOPROF_C}"
212file	arch/hp300/hp300/trap.c
213file	arch/hp300/hp300/disksubr.c
214file	arch/m68k/m68k/cacheops.c
215file	arch/m68k/m68k/db_memrw.c		ddb | kgdb
216file	arch/m68k/m68k/fpu.c
217file	arch/m68k/m68k/kgdb_machdep.c		kgdb
218file	arch/m68k/m68k/pmap_motorola.c
219file	arch/m68k/m68k/procfs_machdep.c		procfs
220file	arch/m68k/m68k/sys_machdep.c
221file	arch/m68k/m68k/vm_machdep.c
222
223file	dev/cons.c
224
225# Emulation modules
226# 6888x emulator (FPU_EMULATE)
227include "arch/m68k/fpe/files.fpe"
228
229# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
230include	"compat/aoutm68k/files.aoutm68k"
231
232# SVR4 Binary Compatibility (COMPAT_SVR4)
233include	"compat/svr4/files.svr4"
234
235# SunOS Binary Compatibility (COMPAT_SUNOS)
236include	"compat/sunos/files.sunos"
237file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
238
239# Linux binary compatibility (COMPAT_LINUX)
240include "compat/linux/files.linux"
241include "compat/linux/arch/m68k/files.linux_m68k"
242file arch/m68k/m68k/linux_trap.c		compat_linux
243
244# OSS audio driver compatibility
245include "compat/ossaudio/files.ossaudio"
246
247include	"arch/hp300/conf/majors.hp300"
248