files.hp300 revision 1.25
1#	$NetBSD: files.hp300,v 1.25 1997/04/14 02:28:53 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# NOTE!  The order of these lines is significant!  Don't change them
11# unless you absolutely know what you're doing!
12
13# Frame buffer attribute
14define	grfdev { }
15
16# Frame buffer devices
17device	dvbox: grfdev
18file	arch/hp300/dev/grf_dv.c		dvbox needs-flag
19
20device	gbox: grfdev
21file	arch/hp300/dev/grf_gb.c		gbox needs-flag
22
23device	hyper: grfdev
24file	arch/hp300/dev/grf_hy.c		hyper needs-flag
25
26device	rbox: grfdev
27file	arch/hp300/dev/grf_rb.c		rbox needs-flag
28
29device	topcat: grfdev
30file	arch/hp300/dev/grf_tc.c		topcat needs-flag
31
32# `grf' framebuffer abstraction
33device	grf { }
34attach	grf at grfdev
35file	arch/hp300/dev/grf.c		grf needs-flag
36file	arch/hp300/dev/grf_subr.c	grf
37
38# Internal Terminal Emulator
39device	ite
40attach	ite at grf
41file	arch/hp300/dev/ite.c		ite needs-flag
42file	arch/hp300/dev/ite_subr.c	ite
43
44#
45# Mainbus
46#
47
48device	mainbus { }
49attach	mainbus at root
50
51#
52# Internal i/o space
53#
54
55device	intio { }
56attach	intio at mainbus
57file	arch/hp300/dev/intio.c		intio
58
59# Internal i/o framebuffer attachments
60attach	dvbox at intio with dvbox_intio
61attach	gbox at intio with gbox_intio
62attach	rbox at intio with rbox_intio
63attach	topcat at intio with topcat_intio
64
65#
66# DIO bus
67#
68
69device	dio { scode = -1 }
70attach	dio at mainbus
71file	arch/hp300/dev/dio.c		dio
72
73# DIO framebuffer attachments
74attach	dvbox at dio with dvbox_dio
75attach	gbox at dio with gbox_dio
76attach	hyper at dio with hyper_dio
77attach	rbox at dio with rbox_dio
78attach	topcat at dio with topcat_dio
79
80# DCA serial interface
81device	dca: tty
82attach	dca at dio
83file	arch/hp300/dev/dca.c		dca needs-flag
84
85# DCM serial interface
86device	dcm: tty
87attach	dcm at dio
88file	arch/hp300/dev/dcm.c		dcm needs-flag
89
90# LANCE ethernet
91attach	le at dio
92file	arch/hp300/dev/if_le.c		le
93
94# HP-IB interfaces
95define	hpibdev { }
96
97device	nhpib: hpibdev
98attach	nhpib at dio
99file	arch/hp300/dev/nhpib.c		nhpib
100
101device	fhpib: hpibdev
102attach	fhpib at dio
103file	arch/hp300/dev/fhpib.c		fhpib
104
105# HP-IB bus layer
106device	hpibbus { slave = -1, punit = -1 }
107attach	hpibbus at hpibdev
108file	arch/hp300/dev/hpib.c		hpibbus
109
110# HP-IB devices
111device	ct: tape
112attach	ct at hpibbus
113file	arch/hp300/dev/ct.c		ct needs-flag
114major	{ct = 0}
115
116device	mt: tape
117attach	mt at hpibbus
118file	arch/hp300/dev/mt.c		mt needs-flag
119major	{mt = 1}
120
121device	rd: disk
122attach	rd at hpibbus
123file	arch/hp300/dev/rd.c		rd needs-flag
124file	arch/hp300/dev/rd_compat.c	rd		# XXX
125major	{rd = 2}
126
127device	ppi
128attach	ppi at hpibbus
129file	arch/hp300/dev/ppi.c		ppi needs-flag
130
131# Old HP SCSI layer
132device	oscsi { target = -1, lun = -1 }
133attach	oscsi at dio
134file	arch/hp300/dev/scsi.c		oscsi
135
136# Old HP SCSI devices
137device	sd: disk
138attach	sd at oscsi
139file	arch/hp300/dev/sd.c		sd needs-flag
140file	arch/hp300/dev/sd_compat.c	sd		# XXX
141major	{sd = 4}
142
143device	st: tape
144attach	st at oscsi
145file	arch/hp300/dev/st.c		st needs-flag
146
147device	ac
148attach	ac at oscsi
149file	arch/hp300/dev/ac.c		ac needs-flag
150
151# Human (Hilarious) Interface Loop
152# XXX should be a real device
153file	arch/hp300/dev/hil.c
154file	arch/hp300/dev/hil_keymaps.c
155
156#
157# Non-device files
158#
159
160file	arch/hp300/hp300/autoconf.c
161file	arch/hp300/hp300/clock.c
162file	arch/hp300/hp300/conf.c
163file	arch/hp300/hp300/db_memrw.c		ddb | kgdb
164file	arch/hp300/hp300/dkbad.c
165file	arch/hp300/hp300/kgdb_glue.c		kgdb compile-with "${NORMAL_C} -fno-defer-pop"
166file	arch/hp300/hp300/kgdb_stub.c		kgdb
167file	arch/hp300/hp300/machdep.c
168file	arch/hp300/hp300/intr.c
169file	arch/hp300/hp300/mem.c
170file	arch/hp300/hp300/pmap.c
171file	arch/hp300/hp300/pmap_bootstrap.c
172file	arch/hp300/hp300/sys_machdep.c
173file	arch/hp300/hp300/trap.c
174file	arch/hp300/hp300/vm_machdep.c
175file	arch/hp300/hp300/disksubr.c
176file	arch/hp300/dev/dma.c
177
178file	arch/m68k/m68k/sig_machdep.c
179
180file	dev/cons.c
181file	dev/cninit.c
182
183file	kludge_for_in_proto.c			hy needs-flag
184
185major	{vnd = 6}
186
187#
188# HP-UX binary compatibility
189#
190include "compat/hpux/files.hpux"
191file	arch/hp300/hp300/hpux_machdep.c		compat_hpux
192