files.hp300 revision 1.51
1#	$NetBSD: files.hp300,v 1.51 2001/12/02 01:28:54 gmcgarry 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 HP370
12			HP375 HP380 HP385 HP400 HP425 HP433
13
14# Misc. options.
15defflag			USELEDS		# make the lights twinkle
16
17# NOTE!  The order of these lines is significant!  Don't change them
18# unless you absolutely know what you're doing!
19
20#
21# Mainbus
22#
23
24device	mainbus { }
25attach	mainbus at root
26
27#
28# Internal i/o space
29#
30
31device	intio { }
32attach	intio at mainbus
33file	arch/hp300/dev/intio.c		intio
34
35# Human (Hilarious) Interface Loop
36device	hil { }
37attach	hil at intio
38file	arch/hp300/dev/hil.c			hil	needs-flag
39file	arch/hp300/dev/hil_keymaps.c		hil
40
41#
42# DIO bus
43#
44
45device	dio { scode = -1 }
46attach	dio at mainbus
47file	arch/hp300/dev/dio.c		dio
48
49#
50# Devices in Internal i/o space
51#
52
53# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations
54device	frodo { offset = -1 }
55attach	frodo at intio
56file	arch/hp300/dev/frodo.c		frodo
57
58# Apollo APCI 8250-like UARTs
59device	apci: tty
60attach	apci at frodo
61file	arch/hp300/dev/apci.c		apci needs-flag
62
63# Frame buffer attribute
64define	grfdev { }
65
66# Frame buffer devices
67device	dvbox: grfdev
68file	arch/hp300/dev/grf_dv.c		dvbox needs-flag
69
70device	gbox: grfdev
71file	arch/hp300/dev/grf_gb.c		gbox needs-flag
72
73device	hyper: grfdev
74file	arch/hp300/dev/grf_hy.c		hyper needs-flag
75
76device	rbox: grfdev
77file	arch/hp300/dev/grf_rb.c		rbox needs-flag
78
79device	topcat: grfdev
80file	arch/hp300/dev/grf_tc.c		topcat needs-flag
81
82# `grf' framebuffer abstraction
83device	grf { }
84attach	grf at grfdev
85file	arch/hp300/dev/grf.c		grf needs-flag
86file	arch/hp300/dev/grf_subr.c	grf
87
88# Internal Terminal Emulator
89device	ite: tty
90attach	ite at grf
91file	arch/hp300/dev/ite.c		ite needs-flag
92file	arch/hp300/dev/ite_subr.c	ite
93
94# Internal i/o framebuffer attachments
95attach	dvbox at intio with dvbox_intio
96attach	gbox at intio with gbox_intio
97attach	rbox at intio with rbox_intio
98attach	topcat at intio with topcat_intio
99
100#
101# Devices on the DIO bus
102#
103
104# DIO framebuffer attachments
105attach	dvbox at dio with dvbox_dio
106attach	gbox at dio with gbox_dio
107attach	hyper at dio with hyper_dio
108attach	rbox at dio with rbox_dio
109attach	topcat at dio with topcat_dio
110
111# DCA serial interface
112device	dca: tty
113attach	dca at dio
114file	arch/hp300/dev/dca.c		dca needs-flag
115
116# DCM serial interface
117device	dcm: tty
118attach	dcm at dio
119file	arch/hp300/dev/dcm.c		dcm needs-flag
120
121# LANCE ethernet
122attach	le at dio: le24
123file	arch/hp300/dev/if_le.c		le
124
125# HP-IB interfaces
126define	hpibdev { }
127
128device	nhpib: hpibdev
129attach	nhpib at dio
130file	arch/hp300/dev/nhpib.c		nhpib
131
132device	fhpib: hpibdev
133attach	fhpib at dio
134file	arch/hp300/dev/fhpib.c		fhpib
135
136# HP-IB bus layer
137device	hpibbus { slave = -1, punit = -1 }
138attach	hpibbus at hpibdev
139file	arch/hp300/dev/hpib.c		hpibbus
140
141# HP-IB devices
142device	ct: tape
143attach	ct at hpibbus
144file	arch/hp300/dev/ct.c		ct needs-flag
145
146device	mt: tape
147attach	mt at hpibbus
148file	arch/hp300/dev/mt.c		mt needs-flag
149
150device	rd: disk
151attach	rd at hpibbus
152file	arch/hp300/dev/rd.c		rd needs-flag
153file	arch/hp300/dev/rd_compat.c	rd		# XXX
154major	{rd = 2}
155
156device	ppi
157attach	ppi at hpibbus
158file	arch/hp300/dev/ppi.c		ppi needs-flag
159
160# Old HP SCSI layer
161device	oscsi { target = -1, lun = -1 }
162attach	oscsi at dio
163file	arch/hp300/dev/scsi.c		oscsi
164
165# Old HP SCSI devices
166device	sd: disk
167attach	sd at oscsi
168file	arch/hp300/dev/sd.c		sd needs-flag
169file	arch/hp300/dev/sd_compat.c	sd		# XXX
170major	{sd = 4}
171
172device	st: tape
173attach	st at oscsi
174file	arch/hp300/dev/st.c		st needs-flag
175
176device	ac
177attach	ac at oscsi
178file	arch/hp300/dev/ac.c		ac needs-flag
179
180# RAIDframe
181major	{raid = 15}
182
183# Real-time clock (not optional)
184device	rtc
185attach	rtc at intio
186file	arch/hp300/dev/rtc.c			rtc
187
188#
189# Non-device files
190#
191
192file	arch/hp300/hp300/autoconf.c
193file	arch/hp300/hp300/bus_space.c
194file	arch/hp300/hp300/clock.c
195file	arch/hp300/hp300/conf.c
196file	arch/hp300/hp300/db_memrw.c		ddb | kgdb
197file	arch/hp300/hp300/dkbad.c
198file	arch/hp300/hp300/kgdb_machdep.c		kgdb
199file	arch/hp300/hp300/machdep.c
200file	arch/hp300/hp300/intr.c
201file	arch/hp300/hp300/leds.c			useleds
202file	arch/hp300/hp300/mem.c
203file	arch/hp300/hp300/pmap.c
204file	arch/hp300/hp300/pmap_bootstrap.c	compile-with "${NOPROF_C}"
205file	arch/hp300/hp300/procfs_machdep.c	procfs
206file	arch/hp300/hp300/sys_machdep.c
207file	arch/hp300/hp300/trap.c
208file	arch/hp300/hp300/vm_machdep.c
209file	arch/hp300/hp300/disksubr.c
210file	arch/hp300/dev/dma.c
211file	arch/hp300/dev/md_root.c		memory_disk_hooks
212
213file	dev/clock_subr.c
214file	dev/cons.c
215
216#
217# HP-UX binary compatibility
218#
219include "compat/hpux/files.hpux"
220file	arch/hp300/hp300/hpux_machdep.c		compat_hpux
221
222# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
223include	"compat/aoutm68k/files.aoutm68k"
224
225# SVR4 Binary Compatibility (COMPAT_SVR4)
226include	"compat/svr4/files.svr4"
227
228# SunOS Binary Compatibility (COMPAT_SUNOS)
229include	"compat/sunos/files.sunos"
230file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
231
232# Linux binary compatibility (COMPAT_LINUX)
233include "compat/linux/files.linux"
234include "compat/linux/arch/m68k/files.linux_m68k"
235file arch/m68k/m68k/linux_trap.c		compat_linux
236
237# a.out binary compatibility (COMPAT_AOUT)
238include "compat/aout/files.aout"
239
240# OSS audio driver compatibility
241include "compat/ossaudio/files.ossaudio"
242