files.hpcmips revision 1.48 1 1.48 uch # $NetBSD: files.hpcmips,v 1.48 2001/02/05 17:41:23 uch 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.1 takemura defopt VR41X1
36 1.6 uch defopt TX39XX
37 1.1 takemura
38 1.1 takemura #
39 1.1 takemura # CPU-dependent files
40 1.1 takemura #
41 1.6 uch file arch/hpcmips/vr/vr.c vr41x1 # NEC VR4000 series
42 1.20 takemura file arch/hpcmips/vr/vr_idle.S vr41x1
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.1 takemura file arch/hpcmips/hpcmips/disksubr.c disk
54 1.43 fvdl file arch/hpcmips/hpcmips/procfs_machdep.c procfs
55 1.45 uch
56 1.48 uch #
57 1.48 uch # H/PC Platform common files.
58 1.48 uch #
59 1.45 uch include "arch/hpc/conf/files.hpc"
60 1.1 takemura
61 1.1 takemura # Console autoconfiguration code: selects between a framebuffers
62 1.1 takemura file dev/cons.c
63 1.1 takemura file arch/hpcmips/dev/bicons.c
64 1.1 takemura file arch/hpcmips/dev/bifont.c
65 1.1 takemura
66 1.3 takemura # Raster operations
67 1.3 takemura include "dev/rasops/files.rasops"
68 1.3 takemura include "dev/wsfont/files.wsfont"
69 1.3 takemura
70 1.1 takemura #
71 1.1 takemura # Workstation Console
72 1.1 takemura #
73 1.1 takemura include "dev/wscons/files.wscons"
74 1.37 takemura file dev/pckbc/wskbdmap_mfii.c btnmgr | hpckbd
75 1.37 takemura file arch/hpcmips/dev/pckbd_encode.c btnmgr | hpckbd
76 1.31 takemura defopt PCKBD_LAYOUT
77 1.25 takemura
78 1.37 takemura # Simple framebuffer interface for wsdisplay
79 1.25 takemura define hpcfbif {}
80 1.44 takemura device hpcfb: wsemuldisplaydev, rasops1, rasops2, rasops4, rasops8, rasops15, rasops16
81 1.25 takemura attach hpcfb at hpcfbif
82 1.25 takemura file arch/hpcmips/dev/hpcfb.c hpcfb needs-flag
83 1.25 takemura
84 1.37 takemura # Simple keyboard interface for wskbd
85 1.37 takemura device hpckbdif {}
86 1.37 takemura device hpckbd: wskbddev
87 1.37 takemura attach hpckbd at hpckbdif
88 1.37 takemura file arch/hpcmips/dev/hpckbd.c hpckbd
89 1.37 takemura
90 1.25 takemura device bivideo: hpcfbif
91 1.25 takemura file arch/hpcmips/dev/bivideo.c bivideo needs-flag
92 1.28 takemura file arch/hpcmips/dev/hpccmap.c bivideo
93 1.25 takemura attach bivideo at mainbus
94 1.1 takemura
95 1.26 takemura device btnmgr: wskbddev
96 1.26 takemura attach btnmgr at mainbus
97 1.26 takemura file arch/hpcmips/dev/btnmgr.c btnmgr
98 1.32 uch
99 1.32 uch file arch/hpcmips/dev/video_subr.c tx3912video | plumvideo
100 1.34 takemura
101 1.34 takemura #
102 1.34 takemura # power management
103 1.34 takemura #
104 1.36 takemura include "arch/hpcmips/dev/apm/files.apm"
105 1.36 takemura device hpcapm: apmdevif
106 1.34 takemura attach hpcapm at mainbus
107 1.34 takemura file arch/hpcmips/dev/hpcapm.c hpcapm
108 1.26 takemura
109 1.1 takemura #
110 1.1 takemura # ISA bus support
111 1.1 takemura #
112 1.1 takemura include "dev/isa/files.isa"
113 1.1 takemura
114 1.1 takemura #
115 1.12 takemura # pseudo devices
116 1.12 takemura #
117 1.12 takemura defpseudo biconsdev
118 1.12 takemura file arch/hpcmips/dev/biconsdev.c biconsdev needs-count
119 1.12 takemura
120 1.12 takemura #
121 1.1 takemura # Vr41x1 integrated peripherals
122 1.1 takemura #
123 1.12 takemura device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
124 1.1 takemura attach vrip at mainbus
125 1.8 takemura file arch/hpcmips/vr/vrip.c vrip needs-flag
126 1.1 takemura
127 1.39 sato device vrbcu
128 1.39 sato attach vrbcu at vrip
129 1.39 sato file arch/hpcmips/vr/bcu_vrip.c vrbcu needs-flag
130 1.39 sato
131 1.1 takemura device vrrtc
132 1.1 takemura attach vrrtc at vrip
133 1.39 sato file arch/hpcmips/vr/rtc.c vrrtc needs-flag
134 1.1 takemura
135 1.1 takemura device vrcmu
136 1.1 takemura attach vrcmu at vrip
137 1.39 sato file arch/hpcmips/vr/cmu.c vrcmu needs-flag
138 1.1 takemura
139 1.1 takemura device vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]} # GIU attachment
140 1.1 takemura device gpbusif {[platform = -1], [comctrl = -1], [button0 = -1], [button1 = -1], [button2 = -1], [button3 = -1], [button4 = -1], [button5 = -1], [button6 = -1], [button7 = -1], [button8 = -1], [button9 = -1], [button10 = -1], [button11 = -1]}
141 1.41 sato device newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1], [initvalue = -1] }
142 1.1 takemura
143 1.12 takemura device vrgiu: vrisabif, gpbusif, newgpbusif
144 1.1 takemura attach vrgiu at vrip
145 1.1 takemura file arch/hpcmips/vr/vrgiu.c vrgiu
146 1.1 takemura
147 1.1 takemura device gpbus
148 1.1 takemura attach gpbus at gpbusif
149 1.1 takemura file arch/hpcmips/vr/gpbus.c gpbus
150 1.1 takemura
151 1.1 takemura device vrisab: isabus
152 1.1 takemura attach vrisab at vrisabif
153 1.1 takemura file arch/hpcmips/isa/isa_machdep.c vrisab
154 1.12 takemura
155 1.12 takemura device pwctl
156 1.12 takemura attach pwctl at newgpbusif with pwctl_vrgiu
157 1.12 takemura file arch/hpcmips/vr/pwctl_vrgiu.c pwctl_vrgiu
158 1.12 takemura
159 1.12 takemura device button
160 1.12 takemura attach button at newgpbusif with button_vrgiu
161 1.12 takemura file arch/hpcmips/vr/button_vrgiu.c button_vrgiu
162 1.1 takemura
163 1.37 takemura device vrkiu: hpckbdif
164 1.1 takemura attach vrkiu at vrip
165 1.2 takemura file arch/hpcmips/vr/vrkiu.c vrkiu needs-flag
166 1.1 takemura
167 1.1 takemura device vrpmu
168 1.1 takemura attach vrpmu at vrip
169 1.10 sato file arch/hpcmips/vr/vrpmu.c vrpmu needs-flag
170 1.7 takemura
171 1.7 takemura device vrdsu
172 1.7 takemura attach vrdsu at vrip
173 1.7 takemura file arch/hpcmips/vr/vrdsu.c vrdsu needs-flag
174 1.39 sato
175 1.39 sato device vrled
176 1.39 sato attach vrled at vrip
177 1.39 sato file arch/hpcmips/vr/vrled.c vrled needs-flag
178 1.13 takemura
179 1.16 takemura define tpcalib
180 1.16 takemura file arch/hpcmips/dev/tpcalib.c tpcalib
181 1.16 takemura file arch/hpcmips/dev/mra.c tpcalib
182 1.14 uch
183 1.13 takemura device vrpiu: wsmousedev
184 1.16 takemura attach vrpiu at vrip: tpcalib
185 1.13 takemura file arch/hpcmips/vr/vrpiu.c vrpiu
186 1.33 matt
187 1.33 matt attach ohci at vrip with ohci_vrip
188 1.33 matt file arch/hpcmips/dev/ohci_vrip.c ohci_vrip
189 1.35 takemura
190 1.35 takemura device mqvideo: hpcfbif
191 1.35 takemura attach mqvideo at vrip with mqvideo_vrip
192 1.35 takemura file arch/hpcmips/vr/mq200_vrip.c mqvideo_vrip
193 1.35 takemura file arch/hpcmips/dev/mq200.c mqvideo
194 1.38 sato
195 1.38 sato device ite8181video: hpcfbif
196 1.38 sato attach ite8181video at vrip 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.1 takemura
200 1.6 uch #
201 1.6 uch # TOSHIBA TX3912/3922
202 1.6 uch #
203 1.6 uch defopt TX39_DEBUG
204 1.6 uch defopt TX39_WATCHDOGTIMER
205 1.6 uch defopt TX39ICUDEBUG
206 1.9 uch defopt TX39CLKDEBUG
207 1.6 uch defopt TX39BIUDEBUG
208 1.6 uch defopt TX39POWERDEBUG
209 1.6 uch defopt TX39UARTDEBUG
210 1.9 uch defopt USE_POLL
211 1.6 uch
212 1.42 uch device txsim {[platform = -1]}
213 1.6 uch device txcsbusif {[platform = -1]}
214 1.6 uch device txcomif {[slot = -1]}
215 1.14 uch device txsibif {[slot = -1]}
216 1.17 uch device ucbif { }
217 1.18 uch device irif { }
218 1.42 uch device txiomanif {[evtype = -1], [id = -1], [group = -1], [port = -1], [edge = -1], [initial = -1]}
219 1.6 uch
220 1.6 uch attach txsim at mainbus
221 1.6 uch file arch/hpcmips/tx/txsim.c txsim
222 1.17 uch file arch/hpcmips/tx/txsnd.c txsim
223 1.6 uch
224 1.6 uch device tx39biu: txcsbusif
225 1.6 uch attach tx39biu at txsim
226 1.6 uch file arch/hpcmips/tx/tx39biu.c tx39biu
227 1.6 uch
228 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]}
229 1.6 uch attach txcsbus at txcsbusif
230 1.6 uch file arch/hpcmips/tx/txcsbus.c txcsbus
231 1.6 uch
232 1.6 uch device tx39icu
233 1.6 uch attach tx39icu at txsim
234 1.6 uch file arch/hpcmips/tx/tx39icu.c tx39icu
235 1.6 uch
236 1.6 uch device tx39power
237 1.6 uch attach tx39power at txsim
238 1.6 uch file arch/hpcmips/tx/tx39power.c tx39power
239 1.6 uch
240 1.6 uch device tx39clock
241 1.6 uch attach tx39clock at txsim
242 1.6 uch file arch/hpcmips/tx/tx39clock.c tx39clock
243 1.6 uch
244 1.30 uch device tx3912video: hpcfbif
245 1.6 uch attach tx3912video at txsim
246 1.6 uch file arch/hpcmips/tx/tx3912video.c tx3912video
247 1.6 uch
248 1.42 uch device tx39io
249 1.6 uch attach tx39io at txsim
250 1.6 uch file arch/hpcmips/tx/tx39io.c tx39io
251 1.6 uch
252 1.42 uch device txioman: txiomanif
253 1.42 uch attach txioman at txsim
254 1.19 uch file arch/hpcmips/tx/txioman.c txioman
255 1.19 uch
256 1.42 uch device txin
257 1.42 uch attach txin at txiomanif
258 1.42 uch file arch/hpcmips/tx/txioman_in.c txin
259 1.42 uch
260 1.42 uch device txout
261 1.42 uch attach txout at txiomanif
262 1.42 uch file arch/hpcmips/tx/txioman_out.c txout
263 1.42 uch
264 1.14 uch device tx39sib: txsibif
265 1.14 uch attach tx39sib at txsim
266 1.14 uch file arch/hpcmips/tx/tx39sib.c tx39sib
267 1.14 uch
268 1.17 uch # PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
269 1.17 uch device ucb: ucbif
270 1.17 uch attach ucb at txsibif
271 1.14 uch file arch/hpcmips/dev/ucb1200.c ucb
272 1.14 uch
273 1.17 uch device ucbtp: wsmousedev
274 1.17 uch attach ucbtp at ucbif: tpcalib
275 1.17 uch file arch/hpcmips/dev/ucbtp.c ucbtp
276 1.17 uch
277 1.17 uch device ucbsnd
278 1.17 uch attach ucbsnd at ucbif
279 1.23 uch file arch/hpcmips/dev/ucbsnd.c ucbsnd needs-flag
280 1.22 uch
281 1.42 uch device ucbio
282 1.22 uch attach ucbio at ucbif
283 1.22 uch file arch/hpcmips/dev/ucbio.c ucbio
284 1.22 uch
285 1.6 uch device tx39uart: txcomif
286 1.6 uch attach tx39uart at txsim
287 1.6 uch file arch/hpcmips/tx/tx39uart.c tx39uart needs-flag
288 1.6 uch
289 1.18 uch device txcom: irif
290 1.6 uch attach txcom at txcomif
291 1.6 uch file arch/hpcmips/tx/txcom.c txcom
292 1.18 uch
293 1.18 uch device tx39ir
294 1.18 uch attach tx39ir at irif
295 1.18 uch file arch/hpcmips/tx/tx39ir.c tx39ir
296 1.6 uch
297 1.17 uch # ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
298 1.6 uch device it8368e: pcmciabus
299 1.6 uch attach it8368e at txcsbus
300 1.42 uch file arch/hpcmips/dev/it8368.c it8368e
301 1.6 uch
302 1.9 uch # MITUBISHI M38813 keryboard controller
303 1.37 takemura device m38813c: hpckbdif
304 1.9 uch attach m38813c at txcsbus
305 1.9 uch file arch/hpcmips/dev/m38813c.c m38813c needs-flag
306 1.11 uch
307 1.19 uch # PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
308 1.37 takemura device tc5165buf: hpckbdif
309 1.11 uch attach tc5165buf at txcsbus
310 1.11 uch file arch/hpcmips/dev/tc5165buf.c tc5165buf needs-flag
311 1.6 uch
312 1.6 uch # TOSHIBA TC6358E(Plum2)
313 1.6 uch device plumif {}
314 1.6 uch device plum: plumif
315 1.6 uch attach plum at txcsbus
316 1.6 uch file arch/hpcmips/dev/plum.c plum
317 1.6 uch
318 1.6 uch device plumicu
319 1.6 uch attach plumicu at plumif
320 1.6 uch file arch/hpcmips/dev/plumicu.c plumicu
321 1.6 uch
322 1.6 uch device plumpower
323 1.6 uch attach plumpower at plumif
324 1.6 uch file arch/hpcmips/dev/plumpower.c plumpower
325 1.6 uch
326 1.30 uch device plumvideo: hpcfbif
327 1.6 uch attach plumvideo at plumif
328 1.6 uch file arch/hpcmips/dev/plumvideo.c plumvideo
329 1.6 uch
330 1.6 uch device plumpcmcia: pcmciabus
331 1.6 uch attach plumpcmcia at plumif
332 1.6 uch file arch/hpcmips/dev/plumpcmcia.c plumpcmcia
333 1.6 uch
334 1.6 uch device plumiobusif {[platform = -1], [slot = -1]}
335 1.6 uch device plumiobus: plumiobusif
336 1.6 uch attach plumiobus at plumif
337 1.6 uch file arch/hpcmips/dev/plumiobus.c plumiobus
338 1.6 uch
339 1.6 uch device plumisab: isabus
340 1.6 uch attach plumisab at plumiobusif
341 1.6 uch file arch/hpcmips/isa/plumisa_machdep.c plumisab
342 1.6 uch
343 1.9 uch # OHCI USB controller
344 1.29 uch attach ohci at plumif with plumohci
345 1.40 uch file arch/hpcmips/dev/plumohci.c plumohci needs-flag
346 1.9 uch
347 1.9 uch #device txisab: isabus
348 1.9 uch #attach txisab at txcsbus
349 1.9 uch #file arch/hpcmips/isa/txisa_machdep.c txisab
350 1.9 uch
351 1.6 uch #
352 1.6 uch # Real-time clock (not optional)
353 1.6 uch #
354 1.1 takemura file arch/hpcmips/hpcmips/clock.c
355 1.1 takemura file dev/clock_subr.c
356 1.1 takemura
357 1.1 takemura # Floppy disk controller
358 1.1 takemura device fdc {drive = -1}
359 1.1 takemura #attach fdc at isa
360 1.1 takemura #device fd: disk, isadma
361 1.1 takemura device fd: disk
362 1.1 takemura #attach fd at fdc
363 1.1 takemura file arch/i386/isa/fd.c fdc needs-flag
364 1.1 takemura major {fd = 2}
365 1.1 takemura
366 1.1 takemura # network devices MII bus
367 1.1 takemura include "dev/mii/files.mii"
368 1.1 takemura
369 1.1 takemura # XXXX pcic here because it needs to be late. The catch: pcic needs
370 1.1 takemura # to be late, so devices which attach to it are attached late. But it
371 1.1 takemura # needs to be before its isa and pci attachments. This answer is
372 1.1 takemura # non-optimal, but I don't have a better answer right now.
373 1.1 takemura
374 1.1 takemura # PCIC pcmcia contoller
375 1.1 takemura # XXX this needs to be done very late, so it's done here. This feels
376 1.1 takemura # like a kludge, but it might be for the best.
377 1.1 takemura
378 1.1 takemura defopt PCIC_ISA_ALLOC_IOBASE
379 1.1 takemura defopt PCIC_ISA_ALLOC_IOSIZE
380 1.1 takemura defopt PCIC_ISA_INTR_ALLOC_MASK
381 1.1 takemura
382 1.1 takemura device pcic: pcmciabus
383 1.1 takemura file dev/ic/i82365.c pcic
384 1.1 takemura
385 1.1 takemura #
386 1.1 takemura # PCIC pcmcia controller
387 1.1 takemura #
388 1.1 takemura attach pcic at isa with pcic_isa
389 1.1 takemura file dev/isa/i82365_isa.c pcic_isa
390 1.1 takemura file dev/isa/i82365_isasubr.c pcic_isa
391 1.1 takemura
392 1.1 takemura #
393 1.1 takemura # Machine-independent PCMCIA drivers
394 1.1 takemura #
395 1.1 takemura include "dev/pcmcia/files.pcmcia"
396 1.1 takemura
397 1.1 takemura # Serial Interface Unit
398 1.1 takemura attach com at vrip with com_vrip
399 1.1 takemura file arch/hpcmips/vr/com_vrip.c com_vrip
400 1.1 takemura
401 1.1 takemura # Memory Disk for boot tape
402 1.46 uch file dev/md_root.c memory_disk_hooks
403 1.1 takemura major {md = 6}
404 1.9 uch
405 1.29 uch include "dev/usb/files.usb"
406