files.hp300 revision 1.35
1#	$NetBSD: files.hp300,v 1.35 1998/05/31 23:18:57 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.
11defopt	opt_spuconf.h HP320 HP330 HP340 HP345 HP350 HP360 HP370
12	HP375 HP380 HP400 HP425 HP433
13
14# Misc. options.
15defopt	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# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations
48device	frodo { offset = -1 }
49attach	frodo at intio
50file	arch/hp300/dev/frodo.c		frodo
51
52# Apollo APCI 8250-like UARTs
53device	apci: tty
54attach	apci at frodo
55file	arch/hp300/dev/apci.c		apci needs-flag
56
57# Frame buffer attribute
58define	grfdev { }
59
60# Frame buffer devices
61device	dvbox: grfdev
62file	arch/hp300/dev/grf_dv.c		dvbox needs-flag
63
64device	gbox: grfdev
65file	arch/hp300/dev/grf_gb.c		gbox needs-flag
66
67device	hyper: grfdev
68file	arch/hp300/dev/grf_hy.c		hyper needs-flag
69
70device	rbox: grfdev
71file	arch/hp300/dev/grf_rb.c		rbox needs-flag
72
73device	topcat: grfdev
74file	arch/hp300/dev/grf_tc.c		topcat needs-flag
75
76# `grf' framebuffer abstraction
77device	grf { }
78attach	grf at grfdev
79file	arch/hp300/dev/grf.c		grf needs-flag
80file	arch/hp300/dev/grf_subr.c	grf
81
82# Internal Terminal Emulator
83device	ite: tty
84attach	ite at grf
85file	arch/hp300/dev/ite.c		ite needs-flag
86file	arch/hp300/dev/ite_subr.c	ite
87
88# Internal i/o framebuffer attachments
89attach	dvbox at intio with dvbox_intio
90attach	gbox at intio with gbox_intio
91attach	rbox at intio with rbox_intio
92attach	topcat at intio with topcat_intio
93
94#
95# Devices on the DIO bus
96#
97
98# DIO framebuffer attachments
99attach	dvbox at dio with dvbox_dio
100attach	gbox at dio with gbox_dio
101attach	hyper at dio with hyper_dio
102attach	rbox at dio with rbox_dio
103attach	topcat at dio with topcat_dio
104
105# DCA serial interface
106device	dca: tty
107attach	dca at dio
108file	arch/hp300/dev/dca.c		dca needs-flag
109
110# DCM serial interface
111device	dcm: tty
112attach	dcm at dio
113file	arch/hp300/dev/dcm.c		dcm needs-flag
114
115# LANCE ethernet
116attach	le at dio
117file	arch/hp300/dev/if_le.c		le
118
119# HP-IB interfaces
120define	hpibdev { }
121
122device	nhpib: hpibdev
123attach	nhpib at dio
124file	arch/hp300/dev/nhpib.c		nhpib
125
126device	fhpib: hpibdev
127attach	fhpib at dio
128file	arch/hp300/dev/fhpib.c		fhpib
129
130# HP-IB bus layer
131device	hpibbus { slave = -1, punit = -1 }
132attach	hpibbus at hpibdev
133file	arch/hp300/dev/hpib.c		hpibbus
134
135# HP-IB devices
136device	ct: tape
137attach	ct at hpibbus
138file	arch/hp300/dev/ct.c		ct needs-flag
139major	{ct = 0}
140
141device	mt: tape
142attach	mt at hpibbus
143file	arch/hp300/dev/mt.c		mt needs-flag
144major	{mt = 1}
145
146device	rd: disk
147attach	rd at hpibbus
148file	arch/hp300/dev/rd.c		rd needs-flag
149file	arch/hp300/dev/rd_compat.c	rd		# XXX
150major	{rd = 2}
151
152device	ppi
153attach	ppi at hpibbus
154file	arch/hp300/dev/ppi.c		ppi needs-flag
155
156# Old HP SCSI layer
157device	oscsi { target = -1, lun = -1 }
158attach	oscsi at dio
159file	arch/hp300/dev/scsi.c		oscsi
160
161# Old HP SCSI devices
162device	sd: disk
163attach	sd at oscsi
164file	arch/hp300/dev/sd.c		sd needs-flag
165file	arch/hp300/dev/sd_compat.c	sd		# XXX
166major	{sd = 4}
167
168device	st: tape
169attach	st at oscsi
170file	arch/hp300/dev/st.c		st needs-flag
171
172device	ac
173attach	ac at oscsi
174file	arch/hp300/dev/ac.c		ac needs-flag
175
176# Human (Hilarious) Interface Loop
177# XXX should be a real device
178file	arch/hp300/dev/hil.c
179file	arch/hp300/dev/hil_keymaps.c
180
181#
182# Non-device files
183#
184
185file	arch/hp300/hp300/autoconf.c
186file	arch/hp300/hp300/bus_space.c
187file	arch/hp300/hp300/clock.c
188file	arch/hp300/hp300/conf.c
189file	arch/hp300/hp300/db_memrw.c		ddb | kgdb
190file	arch/hp300/hp300/dkbad.c
191file	arch/hp300/hp300/kgdb_machdep.c		kgdb
192file	arch/hp300/hp300/machdep.c
193file	arch/hp300/hp300/intr.c
194file	arch/hp300/hp300/leds.c			useleds
195file	arch/hp300/hp300/mem.c
196file	arch/hp300/hp300/pmap.c
197file	arch/hp300/hp300/pmap_bootstrap.c	compile-with "${NOPROF_C}"
198file	arch/hp300/hp300/sys_machdep.c
199file	arch/hp300/hp300/trap.c
200file	arch/hp300/hp300/vm_machdep.c
201file	arch/hp300/hp300/disksubr.c
202file	arch/hp300/dev/dma.c
203file	arch/hp300/dev/md_root.c		memory_disk_hooks
204
205file	dev/cons.c
206file	dev/cninit.c
207
208file	kludge_for_in_proto.c			hy needs-flag
209
210major	{vnd = 6}
211
212#
213# HP-UX binary compatibility
214#
215include "compat/hpux/files.hpux"
216file	arch/hp300/hp300/hpux_machdep.c		compat_hpux
217
218# SunOS Binary Compatibility (COMPAT_SUNOS)
219include	"compat/sunos/files.sunos"
220file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
221