files.hpcmips revision 1.92 1 1.92 wiz # $NetBSD: files.hpcmips,v 1.92 2004/03/25 12:38:49 wiz Exp $
2 1.1 takemura
3 1.1 takemura # maxpartitions must be first item in files.${ARCH}.
4 1.92 wiz maxpartitions 16
5 1.1 takemura
6 1.1 takemura maxusers 2 8 64
7 1.1 takemura
8 1.1 takemura #
9 1.58 enami # Machine-independent I2O drivers.
10 1.58 enami #
11 1.58 enami
12 1.58 enami include "dev/i2o/files.i2o"
13 1.58 enami
14 1.58 enami #
15 1.1 takemura # Machine-independent SCSI drivers
16 1.1 takemura #
17 1.1 takemura
18 1.1 takemura include "dev/scsipi/files.scsipi"
19 1.1 takemura
20 1.1 takemura #
21 1.1 takemura # Machine-independent ATA drivers
22 1.1 takemura #
23 1.1 takemura
24 1.1 takemura include "dev/ata/files.ata"
25 1.1 takemura
26 1.1 takemura #
27 1.1 takemura # Bus-independent devices
28 1.1 takemura #
29 1.70 takemura device mainbus { [platform = -1] }
30 1.1 takemura attach mainbus at root
31 1.1 takemura
32 1.1 takemura device cpu # not optional
33 1.1 takemura attach cpu at mainbus
34 1.1 takemura file arch/hpcmips/hpcmips/cpu.c cpu
35 1.1 takemura
36 1.1 takemura # CPU support option headers
37 1.64 lukem defflag opt_vr41xx.h VR41XX VR4101 VR4102 VR4111 VR4121 VR4122 VR4181 VR4131
38 1.64 lukem defflag opt_tx39xx.h TX39XX TX3911 TX3912 TX3922
39 1.1 takemura
40 1.1 takemura #
41 1.1 takemura # CPU-dependent files
42 1.1 takemura #
43 1.54 sato file arch/hpcmips/vr/vr.c vr41xx # NEC VR4000 series
44 1.54 sato file arch/hpcmips/vr/vr_idle.S vr41xx
45 1.6 uch file arch/hpcmips/tx/tx39.c tx39xx # TOSHIBA TX3900 series
46 1.1 takemura
47 1.1 takemura file arch/hpcmips/hpcmips/autoconf.c
48 1.58 enami file arch/hpcmips/hpcmips/bus_dma.c
49 1.58 enami file arch/hpcmips/hpcmips/bus_space.c
50 1.62 takemura file arch/hpcmips/hpcmips/bus_space_notimpl.c
51 1.65 takemura file arch/hpcmips/hpcmips/bus_space_through.c
52 1.57 enami file arch/hpcmips/hpcmips/interrupt.c
53 1.1 takemura file arch/hpcmips/hpcmips/machdep.c
54 1.1 takemura file arch/hpcmips/hpcmips/mainbus.c
55 1.45 uch
56 1.83 shin file arch/hpc/hpc/kloader.c kloader
57 1.83 shin file arch/hpcmips/hpcmips/kloader_machdep.c kloader
58 1.83 shin file arch/hpcmips/hpcmips/kloader_vr41.S vr41xx & kloader
59 1.83 shin file arch/hpcmips/hpcmips/kloader_tx39.S tx39xx & kloader
60 1.90 igy defflag opt_no_symbolsz_entry.h NO_SYMBOLSZ_ENTRY
61 1.83 shin defflag opt_kloader.h KLOADER
62 1.69 uch defflag debug_kloader.h KLOADER_DEBUG
63 1.69 uch defparam opt_kloader_kernel_path.h KLOADER_KERNEL_PATH
64 1.69 uch
65 1.90 igy defparam opt_memsize.h MEMSIZE
66 1.90 igy
67 1.48 uch #
68 1.48 uch # H/PC Platform common files.
69 1.48 uch #
70 1.45 uch include "arch/hpc/conf/files.hpc"
71 1.51 uch file arch/hpc/hpc/disksubr.c disk
72 1.49 uch include "dev/hpc/files.bicons"
73 1.51 uch include "dev/hpc/files.hpcfb"
74 1.51 uch include "dev/hpc/files.hpckbd"
75 1.51 uch include "dev/hpc/files.hpctp"
76 1.1 takemura
77 1.69 uch #
78 1.69 uch # Debug utility
79 1.69 uch #
80 1.74 uch include "arch/hpc/conf/files.debug"
81 1.69 uch
82 1.1 takemura # Console autoconfiguration code: selects between a framebuffers
83 1.1 takemura file dev/cons.c
84 1.1 takemura
85 1.1 takemura #
86 1.1 takemura # Workstation Console
87 1.1 takemura #
88 1.1 takemura include "dev/wscons/files.wscons"
89 1.34 takemura
90 1.34 takemura #
91 1.34 takemura # power management
92 1.34 takemura #
93 1.36 takemura include "arch/hpcmips/dev/apm/files.apm"
94 1.36 takemura device hpcapm: apmdevif
95 1.34 takemura attach hpcapm at mainbus
96 1.34 takemura file arch/hpcmips/dev/hpcapm.c hpcapm
97 1.26 takemura
98 1.1 takemura #
99 1.1 takemura # ISA bus support
100 1.1 takemura #
101 1.58 enami include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too.
102 1.1 takemura include "dev/isa/files.isa"
103 1.12 takemura
104 1.12 takemura #
105 1.54 sato # Vr41xx integrated peripherals
106 1.1 takemura #
107 1.68 takemura device vripif { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [unit=-1], [pwctl=-1], [platform = -1] }
108 1.73 takemura define vrip_common
109 1.73 takemura file arch/hpcmips/vr/vrip.c vrip_common needs-flag
110 1.68 takemura device vrip: vripif
111 1.73 takemura attach vrip at mainbus: vrip_common
112 1.72 takemura device vr4102ip: vripif
113 1.73 takemura attach vr4102ip at mainbus: vrip_common
114 1.72 takemura file arch/hpcmips/vr/vr4102ip.c vr4102ip
115 1.73 takemura device vr4122ip: vripif
116 1.73 takemura attach vr4122ip at mainbus: vrip_common
117 1.73 takemura file arch/hpcmips/vr/vr4122ip.c vr4122ip
118 1.90 igy device vr4181ip: vripif
119 1.90 igy attach vr4181ip at mainbus: vrip_common
120 1.90 igy file arch/hpcmips/vr/vr4181ip.c vr4181ip
121 1.1 takemura
122 1.39 sato device vrbcu
123 1.68 takemura attach vrbcu at vripif
124 1.39 sato file arch/hpcmips/vr/bcu_vrip.c vrbcu needs-flag
125 1.39 sato
126 1.1 takemura device vrrtc
127 1.68 takemura attach vrrtc at vripif
128 1.39 sato file arch/hpcmips/vr/rtc.c vrrtc needs-flag
129 1.1 takemura
130 1.1 takemura device vrcmu
131 1.68 takemura attach vrcmu at vripif
132 1.39 sato file arch/hpcmips/vr/cmu.c vrcmu needs-flag
133 1.1 takemura
134 1.55 takemura include "dev/hpc/files.hpcio"
135 1.1 takemura device vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]} # GIU attachment
136 1.1 takemura
137 1.55 takemura device vrgiu: vrisabif, hpcioif
138 1.68 takemura attach vrgiu at vripif
139 1.1 takemura file arch/hpcmips/vr/vrgiu.c vrgiu
140 1.1 takemura
141 1.90 igy device vr4181giu: vrisabif, hpcioif
142 1.90 igy attach vr4181giu at vripif
143 1.90 igy file arch/hpcmips/vr/vr4181giu.c vr4181giu
144 1.90 igy
145 1.1 takemura device vrisab: isabus
146 1.1 takemura attach vrisab at vrisabif
147 1.1 takemura file arch/hpcmips/isa/isa_machdep.c vrisab
148 1.1 takemura
149 1.37 takemura device vrkiu: hpckbdif
150 1.68 takemura attach vrkiu at vripif
151 1.2 takemura file arch/hpcmips/vr/vrkiu.c vrkiu needs-flag
152 1.1 takemura
153 1.1 takemura device vrpmu
154 1.68 takemura attach vrpmu at vripif
155 1.10 sato file arch/hpcmips/vr/vrpmu.c vrpmu needs-flag
156 1.7 takemura
157 1.7 takemura device vrdsu
158 1.68 takemura attach vrdsu at vripif
159 1.7 takemura file arch/hpcmips/vr/vrdsu.c vrdsu needs-flag
160 1.39 sato
161 1.39 sato device vrled
162 1.68 takemura attach vrled at vripif
163 1.39 sato file arch/hpcmips/vr/vrled.c vrled needs-flag
164 1.13 takemura
165 1.89 takemura define vrpiu_common
166 1.89 takemura file arch/hpcmips/vr/vrpiu.c vrpiu_common
167 1.13 takemura device vrpiu: wsmousedev
168 1.89 takemura attach vrpiu at vripif: tpcalib, vrpiu_common
169 1.89 takemura device vrc4173piu: wsmousedev
170 1.89 takemura attach vrc4173piu at vripif: tpcalib, vrpiu_common
171 1.86 greg
172 1.86 greg device vrdsiu_mouse: wsmousedev
173 1.86 greg attach vrdsiu_mouse at vripif
174 1.86 greg file arch/hpcmips/vr/vrdsiu_mouse.c vrdsiu_mouse
175 1.33 matt
176 1.68 takemura attach ohci at vripif with ohci_vrip
177 1.33 matt file arch/hpcmips/dev/ohci_vrip.c ohci_vrip
178 1.35 takemura
179 1.58 enami device vrpciu: pcibus
180 1.68 takemura attach vrpciu at vripif
181 1.58 enami file arch/hpcmips/vr/vrpciu.c vrpciu needs-flag
182 1.58 enami
183 1.64 lukem defflag opt_mq200.h MQ200_DEBUG MQ200_USECRT
184 1.35 takemura device mqvideo: hpcfbif
185 1.68 takemura attach mqvideo at vripif with mqvideo_vrip
186 1.35 takemura file arch/hpcmips/vr/mq200_vrip.c mqvideo_vrip
187 1.35 takemura file arch/hpcmips/dev/mq200.c mqvideo
188 1.53 takemura file arch/hpcmips/dev/mq200subr.c mqvideo
189 1.53 takemura file arch/hpcmips/dev/mq200debug.c mqvideo
190 1.53 takemura file arch/hpcmips/dev/mq200machdep.c mqvideo
191 1.38 sato
192 1.58 enami attach mqvideo at pci with mqvideo_pci
193 1.85 takemura file arch/hpcmips/dev/mq200_pci.c mqvideo_pci
194 1.58 enami
195 1.76 uch device ite8181video: hpcfbif, hpccmap
196 1.68 takemura attach ite8181video at vripif with ite8181video_vrip
197 1.38 sato file arch/hpcmips/vr/ite8181_vrip.c ite8181video_vrip
198 1.38 sato file arch/hpcmips/dev/ite8181.c ite8181video
199 1.79 takemura
200 1.84 takemura defflag opt_vrc4172pci.h VRC4172PCI_MCR700_SUPPORT
201 1.79 takemura device vrc4172pci: pcibus
202 1.79 takemura attach vrc4172pci at vripif
203 1.79 takemura file arch/hpcmips/vr/vrc4172pci.c vrc4172pci
204 1.52 sato
205 1.52 sato device vrc4172pwm
206 1.68 takemura attach vrc4172pwm at vripif
207 1.52 sato file arch/hpcmips/vr/vrc4172pwm.c vrc4172pwm needs-flag
208 1.56 takemura
209 1.56 takemura device vrc4172gpio: hpcioif, vrisabif
210 1.56 takemura attach vrc4172gpio at hpcioif
211 1.56 takemura file arch/hpcmips/vr/vrc4172gpio.c vrc4172gpio
212 1.58 enami
213 1.58 enami device vrc4173cardu: pcmciabus
214 1.58 enami attach vrc4173cardu at pci
215 1.58 enami file arch/hpcmips/pci/vrc4173cardu.c vrc4173cardu
216 1.58 enami
217 1.77 takemura device vrc4173bcu: vripif
218 1.58 enami attach vrc4173bcu at pci
219 1.58 enami file arch/hpcmips/vr/vrc4173bcu.c vrc4173bcu
220 1.1 takemura
221 1.6 uch #
222 1.6 uch # TOSHIBA TX3912/3922
223 1.6 uch #
224 1.64 lukem defflag TX39_WATCHDOGTIMER
225 1.69 uch defflag TX39ICU_DEBUG
226 1.69 uch defflag TX39CLOCK_DEBUG
227 1.69 uch defflag TX39BIU_DEBUG
228 1.69 uch defflag TX39POWER_DEBUG
229 1.69 uch defflag TX39UART_DEBUG
230 1.64 lukem defflag USE_POLL
231 1.6 uch
232 1.59 uch device txsim { }
233 1.6 uch device txcsbusif {[platform = -1]}
234 1.6 uch device txcomif {[slot = -1]}
235 1.14 uch device txsibif {[slot = -1]}
236 1.17 uch device ucbif { }
237 1.18 uch device irif { }
238 1.6 uch
239 1.6 uch attach txsim at mainbus
240 1.6 uch file arch/hpcmips/tx/txsim.c txsim
241 1.17 uch file arch/hpcmips/tx/txsnd.c txsim
242 1.6 uch
243 1.6 uch device tx39biu: txcsbusif
244 1.6 uch attach tx39biu at txsim
245 1.6 uch file arch/hpcmips/tx/tx39biu.c tx39biu
246 1.6 uch
247 1.6 uch device txcsbus {[regcs=-1], [regcsbase=0], [regcssize=-1], [regcswidth=-1], [iocs=-1], [iocsbase=0], [iocssize=-1], [iocswidth=-1], [memcs=-1], [memcsbase=0], [memcssize=-1], [memcswidth=-1], [irq1=-1], [irq2=-1], [irq3=-1]}
248 1.6 uch attach txcsbus at txcsbusif
249 1.6 uch file arch/hpcmips/tx/txcsbus.c txcsbus
250 1.6 uch
251 1.6 uch device tx39icu
252 1.6 uch attach tx39icu at txsim
253 1.6 uch file arch/hpcmips/tx/tx39icu.c tx39icu
254 1.6 uch
255 1.6 uch device tx39power
256 1.6 uch attach tx39power at txsim
257 1.6 uch file arch/hpcmips/tx/tx39power.c tx39power
258 1.6 uch
259 1.6 uch device tx39clock
260 1.6 uch attach tx39clock at txsim
261 1.6 uch file arch/hpcmips/tx/tx39clock.c tx39clock
262 1.6 uch
263 1.30 uch device tx3912video: hpcfbif
264 1.6 uch attach tx3912video at txsim
265 1.6 uch file arch/hpcmips/tx/tx3912video.c tx3912video
266 1.6 uch
267 1.42 uch device tx39io
268 1.6 uch attach tx39io at txsim
269 1.6 uch file arch/hpcmips/tx/tx39io.c tx39io
270 1.6 uch
271 1.59 uch device txioman: hpcioif
272 1.42 uch attach txioman at txsim
273 1.19 uch file arch/hpcmips/tx/txioman.c txioman
274 1.42 uch
275 1.14 uch device tx39sib: txsibif
276 1.14 uch attach tx39sib at txsim
277 1.14 uch file arch/hpcmips/tx/tx39sib.c tx39sib
278 1.14 uch
279 1.17 uch # PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
280 1.17 uch device ucb: ucbif
281 1.17 uch attach ucb at txsibif
282 1.14 uch file arch/hpcmips/dev/ucb1200.c ucb
283 1.14 uch
284 1.17 uch device ucbtp: wsmousedev
285 1.17 uch attach ucbtp at ucbif: tpcalib
286 1.17 uch file arch/hpcmips/dev/ucbtp.c ucbtp
287 1.17 uch
288 1.17 uch device ucbsnd
289 1.17 uch attach ucbsnd at ucbif
290 1.23 uch file arch/hpcmips/dev/ucbsnd.c ucbsnd needs-flag
291 1.22 uch
292 1.42 uch device ucbio
293 1.22 uch attach ucbio at ucbif
294 1.22 uch file arch/hpcmips/dev/ucbio.c ucbio
295 1.22 uch
296 1.6 uch device tx39uart: txcomif
297 1.6 uch attach tx39uart at txsim
298 1.6 uch file arch/hpcmips/tx/tx39uart.c tx39uart needs-flag
299 1.6 uch
300 1.18 uch device txcom: irif
301 1.6 uch attach txcom at txcomif
302 1.6 uch file arch/hpcmips/tx/txcom.c txcom
303 1.18 uch
304 1.18 uch device tx39ir
305 1.18 uch attach tx39ir at irif
306 1.18 uch file arch/hpcmips/tx/tx39ir.c tx39ir
307 1.6 uch
308 1.17 uch # ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
309 1.6 uch device it8368e: pcmciabus
310 1.6 uch attach it8368e at txcsbus
311 1.42 uch file arch/hpcmips/dev/it8368.c it8368e
312 1.6 uch
313 1.9 uch # MITUBISHI M38813 keryboard controller
314 1.37 takemura device m38813c: hpckbdif
315 1.9 uch attach m38813c at txcsbus
316 1.9 uch file arch/hpcmips/dev/m38813c.c m38813c needs-flag
317 1.11 uch
318 1.19 uch # PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
319 1.37 takemura device tc5165buf: hpckbdif
320 1.11 uch attach tc5165buf at txcsbus
321 1.11 uch file arch/hpcmips/dev/tc5165buf.c tc5165buf needs-flag
322 1.6 uch
323 1.6 uch # TOSHIBA TC6358E(Plum2)
324 1.6 uch device plumif {}
325 1.6 uch device plum: plumif
326 1.6 uch attach plum at txcsbus
327 1.6 uch file arch/hpcmips/dev/plum.c plum
328 1.6 uch
329 1.6 uch device plumicu
330 1.6 uch attach plumicu at plumif
331 1.6 uch file arch/hpcmips/dev/plumicu.c plumicu
332 1.6 uch
333 1.6 uch device plumpower
334 1.6 uch attach plumpower at plumif
335 1.6 uch file arch/hpcmips/dev/plumpower.c plumpower
336 1.6 uch
337 1.30 uch device plumvideo: hpcfbif
338 1.6 uch attach plumvideo at plumif
339 1.6 uch file arch/hpcmips/dev/plumvideo.c plumvideo
340 1.6 uch
341 1.6 uch device plumpcmcia: pcmciabus
342 1.6 uch attach plumpcmcia at plumif
343 1.6 uch file arch/hpcmips/dev/plumpcmcia.c plumpcmcia
344 1.6 uch
345 1.6 uch device plumiobusif {[platform = -1], [slot = -1]}
346 1.6 uch device plumiobus: plumiobusif
347 1.6 uch attach plumiobus at plumif
348 1.6 uch file arch/hpcmips/dev/plumiobus.c plumiobus
349 1.6 uch
350 1.6 uch device plumisab: isabus
351 1.6 uch attach plumisab at plumiobusif
352 1.6 uch file arch/hpcmips/isa/plumisa_machdep.c plumisab
353 1.6 uch
354 1.9 uch # OHCI USB controller
355 1.29 uch attach ohci at plumif with plumohci
356 1.40 uch file arch/hpcmips/dev/plumohci.c plumohci needs-flag
357 1.9 uch
358 1.9 uch #device txisab: isabus
359 1.9 uch #attach txisab at txcsbus
360 1.9 uch #file arch/hpcmips/isa/txisa_machdep.c txisab
361 1.51 uch
362 1.51 uch file dev/hpc/video_subr.c tx3912video | plumvideo
363 1.9 uch
364 1.6 uch #
365 1.6 uch # Real-time clock (not optional)
366 1.6 uch #
367 1.1 takemura file arch/hpcmips/hpcmips/clock.c
368 1.1 takemura
369 1.1 takemura # Floppy disk controller
370 1.1 takemura device fdc {drive = -1}
371 1.1 takemura #attach fdc at isa
372 1.1 takemura #device fd: disk, isadma
373 1.1 takemura device fd: disk
374 1.1 takemura #attach fd at fdc
375 1.1 takemura file arch/i386/isa/fd.c fdc needs-flag
376 1.1 takemura
377 1.1 takemura # XXXX pcic here because it needs to be late. The catch: pcic needs
378 1.1 takemura # to be late, so devices which attach to it are attached late. But it
379 1.1 takemura # needs to be before its isa and pci attachments. This answer is
380 1.1 takemura # non-optimal, but I don't have a better answer right now.
381 1.1 takemura
382 1.1 takemura # PCIC pcmcia contoller
383 1.1 takemura # XXX this needs to be done very late, so it's done here. This feels
384 1.1 takemura # like a kludge, but it might be for the best.
385 1.1 takemura
386 1.64 lukem defparam PCIC_ISA_ALLOC_IOBASE
387 1.64 lukem defparam PCIC_ISA_ALLOC_IOSIZE
388 1.64 lukem defparam PCIC_ISA_INTR_ALLOC_MASK
389 1.1 takemura
390 1.1 takemura device pcic: pcmciabus
391 1.1 takemura file dev/ic/i82365.c pcic
392 1.1 takemura
393 1.1 takemura #
394 1.1 takemura # PCIC pcmcia controller
395 1.1 takemura #
396 1.1 takemura attach pcic at isa with pcic_isa
397 1.1 takemura file dev/isa/i82365_isa.c pcic_isa
398 1.1 takemura file dev/isa/i82365_isasubr.c pcic_isa
399 1.1 takemura
400 1.90 igy # PCIC pcmcia controller on vrip bus.
401 1.90 igy attach pcic at vripif with pcic_vrip
402 1.90 igy file arch/hpcmips/vr/vrecu.c pcic_vrip
403 1.90 igy
404 1.1 takemura #
405 1.1 takemura # Machine-independent PCMCIA drivers
406 1.1 takemura #
407 1.1 takemura include "dev/pcmcia/files.pcmcia"
408 1.1 takemura
409 1.1 takemura # Serial Interface Unit
410 1.68 takemura attach com at vripif with com_vrip
411 1.66 takemura file arch/hpcmips/vr/com_vrip.c com_vrip needs-flag
412 1.65 takemura
413 1.66 takemura attach com at hpcioif with com_hpcio
414 1.66 takemura file arch/hpcmips/dev/com_hpcio.c com_hpcio needs-flag
415 1.1 takemura
416 1.1 takemura # Memory Disk for boot tape
417 1.46 uch file dev/md_root.c memory_disk_hooks
418 1.9 uch
419 1.29 uch include "dev/usb/files.usb"
420 1.71 takemura
421 1.71 takemura # DMA Address Unit
422 1.71 takemura device vrdmaau
423 1.71 takemura attach vrdmaau at vripif
424 1.71 takemura file arch/hpcmips/vr/vrdmaau.c vrdmaau
425 1.71 takemura
426 1.71 takemura # DMA Controll Unit
427 1.71 takemura device vrdcu
428 1.71 takemura attach vrdcu at vripif
429 1.71 takemura file arch/hpcmips/vr/vrdcu.c vrdcu
430 1.80 hamajima
431 1.80 hamajima # Audio Interface Unit
432 1.82 augustss device vraiu: audiobus
433 1.80 hamajima attach vraiu at vripif
434 1.80 hamajima file arch/hpcmips/vr/vraiu.c vraiu
435 1.90 igy
436 1.90 igy # VR4181 Audio Interface Unit
437 1.90 igy device vr4181aiu
438 1.90 igy attach vr4181aiu at vripif
439 1.90 igy file arch/hpcmips/vr/vr4181aiu.c vr4181aiu needs-flag
440 1.90 igy
441 1.90 igy # Flash memory on L-card+ XXX should not be here
442 1.90 igy device flash
443 1.90 igy attach flash at vripif with flash_vrip
444 1.90 igy file arch/hpcmips/vr/flash_vrip.c flash_vrip needs-flag
445 1.87 gehenna
446 1.87 gehenna include "arch/hpcmips/conf/majors.hpcmips"
447