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