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