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