1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
|
# $OpenBSD: files.hp300,v 1.32 2007/01/06 20:17:41 miod Exp $
# $NetBSD: files.hp300,v 1.28 1997/05/12 08:23:28 thorpej Exp $
#
# hp300-specific configuration info
# maxpartitions must be the first item in files.${ARCH}
maxpartitions 16
maxusers 2 8 64
#
# Mainbus
#
device mainbus {}
attach mainbus at root
#
# Internal i/o space
#
device intio {}
attach intio at mainbus
file arch/hp300/dev/intio.c intio
#
# DIO bus
#
device dio {[scode = -1]}
attach dio at mainbus
file arch/hp300/dev/dio.c dio
#
# SGC bus
#
device sgc {[slot = -1]}
attach sgc at mainbus
file arch/hp300/dev/sgc.c sgc needs-flag
#
# Devices in Internal i/o space
#
# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations
device frodo {[offset = -1]}
attach frodo at intio
file arch/hp300/dev/frodo.c frodo
# Apollo Keyboard and mouse
device dnkbd: wskbddev, wsmousedev
attach dnkbd at frodo
file arch/hp300/dev/dnkbd.c dnkbd needs-flag
file arch/hp300/dev/dnkbdmap.c dnkbd
# Apollo APCI 8250-like UARTs
device apci
attach apci at frodo
file arch/hp300/dev/apci.c apci needs-flag
file arch/hp300/dev/apci_subr.c apci | dnkbd
# "workstation console" routines
include "dev/rasops/files.rasops"
include "dev/wscons/files.wscons"
include "dev/wsfont/files.wsfont"
file arch/hp300/hp300/wscons_machdep.c wsdisplay
#
# Frame buffer devices
#
define diofb
define diofb_mono
file arch/hp300/dev/diofb.c diofb | diofb_mono
file arch/hp300/dev/diofb_mono.c diofb_mono
device dvbox: wsemuldisplaydev, diofb, rasops8
attach dvbox at intio with dvbox_intio
attach dvbox at dio with dvbox_dio
file arch/hp300/dev/dvbox.c dvbox needs-flag
device gbox: wsemuldisplaydev, diofb, rasops8
attach gbox at intio with gbox_intio
attach gbox at dio with gbox_dio
file arch/hp300/dev/gbox.c gbox needs-flag
device hyper: wsemuldisplaydev, diofb_mono, rasops1
attach hyper at dio
file arch/hp300/dev/hyper.c hyper needs-flag
device rbox: wsemuldisplaydev, diofb, rasops8
attach rbox at intio with rbox_intio
attach rbox at dio with rbox_dio
file arch/hp300/dev/rbox.c rbox needs-flag
device topcat: wsemuldisplaydev, diofb, rasops8
attach topcat at intio with topcat_intio
attach topcat at dio with topcat_dio
file arch/hp300/dev/topcat.c topcat needs-flag
device tvrx: wsemuldisplaydev, diofb_mono, rasops1
attach tvrx at dio
file arch/hp300/dev/tvrx.c tvrx needs-flag
#
# Other devices on the DIO bus
#
# DCA serial interface
device dca: tty
attach dca at dio
file arch/hp300/dev/dca.c dca needs-flag
# DCM serial interface
device dcm: tty
attach dcm at dio
file arch/hp300/dev/dcm.c dcm needs-flag
# LANCE ethernet
attach le at dio
file arch/hp300/dev/if_le.c le
# HP-IB interfaces
define hpibdev {}
device nhpib: hpibdev
attach nhpib at dio
file arch/hp300/dev/nhpib.c nhpib
device fhpib: hpibdev
attach fhpib at dio
file arch/hp300/dev/fhpib.c fhpib
# HP-IB bus layer
device hpibbus {[slave = -1], [punit = -1]}
attach hpibbus at hpibdev
file arch/hp300/dev/hpib.c hpibbus
# HP-IB devices
device ct: tape
attach ct at hpibbus
file arch/hp300/dev/ct.c ct needs-flag
device mt: tape
attach mt at hpibbus
file arch/hp300/dev/mt.c mt needs-flag
device hd: disk
attach hd at hpibbus
file arch/hp300/dev/hd.c hd needs-flag
major {hd = 2}
device ppi
attach ppi at hpibbus
file arch/hp300/dev/ppi.c ppi needs-flag
# RAM disk
major {rd = 8}
# SCSI devices
include "scsi/files.scsi"
device spc: scsi
attach spc at dio
file arch/hp300/dev/spc.c spc needs-flag
file arch/hp300/dev/mb89352.c spc
major {sd = 4}
major {cd = 9}
#
# Devices on the SGC bus
#
attach sti at sgc with sti_sgc
file arch/hp300/dev/sti_sgc.c sti_sgc
# ISA devices
include "dev/isa/files.isa"
include "dev/isa/files.isapnp"
#
# ISA bridge
#
device isabr: isabus
attach isabr at frodo
file arch/hp300/dev/isabr.c isabr needs-flag
#
# HIL Human Interface Loop devices
#
include "dev/hil/files.hil"
attach hil at intio with hil_intio
file arch/hp300/dev/hil_intio.c hil_intio
#
# Non-device files
#
file arch/hp300/hp300/autoconf.c
file arch/hp300/hp300/bus_space.c
file arch/hp300/hp300/clock.c
file arch/hp300/hp300/conf.c
file arch/hp300/hp300/db_memrw.c ddb | kgdb
file arch/hp300/hp300/disksubr.c
file arch/hp300/hp300/kgdb_machdep.c kgdb
file arch/hp300/hp300/machdep.c
file arch/hp300/hp300/intr.c
file arch/hp300/hp300/leds.c useleds
file arch/hp300/hp300/mem.c
file arch/m68k/m68k/pmap_motorola.c
file arch/hp300/hp300/pmap_bootstrap.c
file arch/hp300/hp300/sys_machdep.c
file arch/hp300/hp300/trap.c
file arch/hp300/hp300/vm_machdep.c
file arch/hp300/dev/dma.c
#
# HP-UX binary compatibility
#
include "compat/hpux/m68k/files.hpux"
file arch/hp300/hp300/hpux_machdep.c compat_hpux
|