files.acorn32 revision 1.11.2.2 1 # $NetBSD: files.acorn32,v 1.11.2.2 2002/05/17 15:09:00 gehenna Exp $
2 #
3 # First try for arm-specific configuration info
4 #
5
6 maxpartitions 8
7 maxusers 2 8 64
8
9 # Maintain Interrupt statistics
10 defflag IRQSTATS
11
12 # X server support in console drivers
13 defflag XSERVER
14
15 #
16 # predefine some variables ... not that we have one but the arm framework
17 # needs it to compile ... esp. the isadma bothers me (used by pmap.c)
18 # it is never included but i need the isadma.h it generates
19 #
20 defflag FOOTBRIDGE
21 define isadma
22 file dev/isa/isadma.c isadma needs-flag
23
24
25 #
26 # Machine-independent ATA drivers
27 #
28 include "dev/ata/files.ata"
29
30 # PIOC (Peripheral IO Controller) device
31 # parent to wdc, fdc, com and lpt
32 device pioc { [offset = -1], [dack = -1], [irq = -1] }
33 attach pioc at mainbus
34 file arch/acorn32/mainbus/pioc.c
35
36 # Standard NetBSD wdc driver
37 attach wdc at pioc with wdc_pioc
38 file arch/acorn32/mainbus/wdc_pioc.c wdc_pioc
39
40 # Standard parallel driver
41 # including dev/ic/lpt.c from the ISA file ... this sux
42 device lpt
43 file dev/ic/lpt.c lpt needs-flag
44
45 attach lpt at pioc with lpt_pioc
46 file arch/acorn32/mainbus/lpt_pioc.c lpt_pioc needs-flag
47
48 # Standard NetBSD fd driver
49 device fdc {drive = -1}
50 attach fdc at pioc
51 device fd: disk
52 attach fd at fdc
53 file arch/acorn32/mainbus/fd.c fdc needs-flag
54
55 # Standard serial driver
56 attach com at pioc with com_pioc
57 file arch/acorn32/mainbus/com_pioc.c com_pioc
58
59 # Memory disk driver
60 file arch/acorn32/dev/md_hooks.c md & memory_disk_hooks
61
62 # IOMD device
63 # parent to kbd, qms, opms, iic
64 # also provides irq and timer services
65 device iomd {}
66 attach iomd at mainbus
67 file arch/arm/iomd/iomd.c iomd needs-flag
68 file arch/arm/iomd/iomd_io.c iomd
69 file arch/arm/iomd/iomd_io_asm.S iomd
70 file arch/arm/iomd/iomd_irq.S iomd
71 file arch/arm/iomd/iomd_irqhandler.c iomd
72 file arch/arm/iomd/iomd_fiq.S iomd
73 file arch/arm/iomd/iomd_dma.c iomd
74
75 # IIC device
76 device iic { addr = -1 }
77 file arch/arm/iomd/iic.c iic needs-flag
78
79 attach iic at iomd with iic_iomd
80 file arch/arm/iomd/iic_iomd.c iic_iomd
81 file arch/arm/iomd/iomd_iic.S iic_iomd
82
83 # IIC based RTC
84 define todservice {}
85 device rtc : todservice
86 attach rtc at iic
87 file arch/arm/iomd/rtc.c rtc needs-flag
88
89 device todclock
90 attach todclock at todservice
91 file arch/arm/iomd/todclock.c todclock needs-count
92
93 # IOMD mouse devices
94 # clock device
95 device clock
96 attach clock at iomd
97 file arch/arm/iomd/iomd_clock.c iomd
98
99 # quadmouse device
100 device qms
101 file arch/arm/iomd/qms.c qms needs-flag
102
103 attach qms at iomd with qms_iomd
104 file arch/arm/iomd/qms_iomd.c qms_iomd
105
106 # PS/2 mouse device
107 device opms: tty
108 file arch/arm/iomd/opms.c opms & opms_iomd needs-flag
109
110 attach opms at iomd with opms_iomd
111 file arch/arm/iomd/opms_iomd.c opms_iomd
112
113 # Standard keyboard driver (obsolete ... old vidc console)
114 device kbd
115 file arch/arm/iomd/kbd.c kbd needs-flag
116
117 attach kbd at iomd with kbd_iomd
118 file arch/arm/iomd/kbd_iomd.c kbd_iomd
119
120 #
121 # wscons
122 #
123
124 # Include MI WSCONS stuff
125 include "dev/wscons/files.wscons"
126 include "dev/rasops/files.rasops"
127 include "dev/wsfont/files.wsfont"
128
129 # wscons quadmouse device
130 device wsqms : wsmousedev
131 file arch/arm/iomd/wsqms.c wsqms needs-flag
132
133 attach wsqms at iomd with wsqms_iomd
134 file arch/arm/iomd/wsqms_iomd.c wsqms_iomd
135
136 # RPC wscons keyboard driver
137 device rpckbd : wskbddev
138 file arch/arm/iomd/rpckbd.c rpckbd needs-flag
139 file arch/acorn32/dev/wskbdmap_mfii.c rpckbd
140
141 attach rpckbd at iomd with rpckbd_iomd
142 file arch/arm/iomd/rpckbd_iomd.c rpckbd_iomd
143
144 # VIDC device
145 # parent to vidcconsole, vidcaudio, beep
146 device vidc { [base = -1], [dack = -1], [irq = -1] }
147 attach vidc at mainbus
148 file arch/arm/iomd/vidc20.c vidc needs-count
149
150 # VIDC video wscons device
151 device vidcvideo: rasops4, rasops8, rasops16, rasops32, wsemuldisplaydev
152 attach vidcvideo at vidc
153 file arch/arm/iomd/vidc20config.c vidcvideo needs-flag
154 file arch/arm/iomd/vidcvideo.c vidcvideo needs-flag
155
156 # Audio devices
157 device beep
158 attach beep at vidc
159 file arch/arm/iomd/beep.c beep needs-flag
160
161 device vidcaudio: audiobus
162 attach vidcaudio at vidc
163 file arch/arm/iomd/vidcaudio.c vidcaudio needs-flag
164
165 device lmcaudio: audiobus
166 attach lmcaudio at vidc
167 file arch/arm/iomd/lmcaudio.c lmcaudio needs-flag
168 file arch/arm/iomd/lmc1982.S lmcaudio
169
170 # Podule bus device
171 include "dev/podulebus/files.podulebus"
172
173 attach podulebus at root
174 file arch/acorn32/podulebus/podulebus.c podulebus needs-flag
175 file arch/acorn32/podulebus/podulebus_io.c podulebus
176 file arch/acorn32/podulebus/podulebus_io_asm.S podulebus
177 file arch/acorn32/podulebus/netslot.c podulebus
178
179
180 # Ethernet devices
181
182 # Novell NE1000 and NE2000 clones (EtherM, EtherH)
183 attach ne at podulebus with ne_pbus: dp83905, mx98905
184 file arch/acorn32/podulebus/if_ne_pbus.c ne_pbus
185
186 device ie: ether, ifnet, arp
187 attach ie at podulebus
188 file arch/acorn32/podulebus/if_ie.c ie
189
190 #define ipkdb
191
192 #device kie: ipkdb
193 #attach kie at podule
194 #file arch/acorn32/podulebus/ipkdb_ie.c kie
195
196 #file arch/arm32/arm32/ipkdb_glue.c ipkdb
197 #file arch/arm32/arm32/ipkdb_step.c ipkdb
198
199 #
200 # Machine-independent SCSI drivers
201 #
202
203 include "dev/scsipi/files.scsipi"
204
205 #
206 # Miscelanious podulebus devices not moved yet to dev/podules
207 #
208
209 # Generic sbic (WD3393) driver
210 define sbic
211 file arch/acorn32/podulebus/sbic.c sbic
212
213 # Acorn SCSI I specific layer for sbic
214 device asc: scsi, sbic, podloader
215 attach asc at podulebus
216 file arch/acorn32/podulebus/asc.c asc needs-flag
217
218 # Generic AMD AM53C94 driver
219 define esc
220 file arch/acorn32/podulebus/esc.c esc
221
222 # Connect32 specific layer for esc
223 device cosc: scsi, esc
224 attach cosc at podulebus
225 file arch/acorn32/podulebus/cosc.c cosc
226
227 # Generic fas216 + esp216 driver
228 define sfas
229 file arch/acorn32/podulebus/sfas.c sfas
230
231 device ptsc: scsi, sfas, podloader
232 attach ptsc at podulebus
233 file arch/acorn32/podulebus/ptsc.c ptsc
234
235 device csc: scsi, sfas, podloader
236 attach csc at podulebus
237 file arch/acorn32/podulebus/csc.c csc
238
239 # Cumana SCSI1 specific layer for ncr5380
240 device csa: scsi, ncr5380sbc, podloader
241 attach csa at podulebus
242 file arch/acorn32/podulebus/csa.c csa
243
244 # ICS IDE driver
245 device icside {[channel = -1]}: wdc_base, ata, atapi
246 attach icside at podulebus
247 file arch/acorn32/podulebus/icside.c icside
248 file arch/acorn32/podulebus/icside_io_asm.S icside
249
250 # Yellowstone RapIDE driver
251 device rapide {[channel = -1]}: wdc_base, ata, atapi
252 attach rapide at podulebus
253 file arch/acorn32/podulebus/rapide.c rapide
254 file arch/acorn32/podulebus/rapide_io_asm.S rapide
255
256 # Simtec IDE driver
257 device simide {[channel = -1]}: wdc_base, ata, atapi
258 attach simide at podulebus
259 file arch/acorn32/podulebus/simide.c simide
260 file arch/acorn32/podulebus/simide_io_asm.S simide
261
262 # Atomwide Multi-Port Serial driver
263 device amps {}
264 attach amps at podulebus
265 attach com at amps with com_amps
266 file arch/acorn32/podulebus/amps.c amps
267
268
269 #
270 # VIDC console stuff (old)
271 #
272
273 device vidcconsole
274 attach vidcconsole at vidc
275 file arch/arm/iomd/console/vidcconsole.c vidcconsole needs-count
276 file arch/arm/iomd/console/consinit.c vidc needs-count
277 device vt: tty
278 attach vt at vidc
279
280 file dev/cninit.c vt
281 file arch/arm/iomd/console/console.c vt needs-count
282 file arch/arm/iomd/console/vidcrender.c vt
283 file arch/arm/iomd/console/vidc_mc.S vt
284 file arch/arm/iomd/console/vidc.c vt
285 file arch/arm/iomd/console/vt220.c vt
286 file arch/arm/iomd/console/debugconsole.c vt
287 file arch/arm/iomd/console/dumb.c vt
288
289 # Generic MD files
290 file arch/acorn32/acorn32/autoconf.c
291 file arch/acorn32/acorn32/conf.c
292
293 file arch/arm/arm/disksubr.c disk
294 file arch/arm/arm/disksubr_acorn.c disk
295 file arch/arm/arm/disksubr_mbr.c disk
296
297 file arch/arm/arm32/intr.c
298 file arch/arm/arm32/spl.S
299
300 # RiscPC specific files
301 file arch/acorn32/acorn32/rpc_machdep.c
302 file arch/acorn32/acorn32/rpc_kbd_map.c
303
304 device sysbeep
305 attach sysbeep at vidc with sysbeep_vidc
306 file arch/arm/iomd/sysbeep_vidc.c sysbeep_vidc
307
308 #
309 # Machine-independent I2O drivers.
310 #
311 include "dev/i2o/files.i2o"
312
313
314 #
315 # maybe we will use these later one time :
316 #
317 # Include USB stuff
318 #include "dev/usb/files.usb"
319
320 #
321 # we need this for rpcwskbd.c to compile
322 #
323 include "dev/pckbc/files.pckbc"
324
325 include "arch/acorn32/conf/majors.acorn32"
326