files.hpcmips revision 1.15 1 1.15 shin # $NetBSD: files.hpcmips,v 1.15 2000/01/09 07:57:43 shin 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.6 uch file arch/hpcmips/tx/tx39.c tx39xx # TOSHIBA TX3900 series
43 1.15 shin
44 1.15 shin file arch/mips/mips/fp.S softfloat
45 1.1 takemura
46 1.1 takemura file arch/hpcmips/hpcmips/autoconf.c
47 1.1 takemura file arch/hpcmips/hpcmips/conf.c
48 1.1 takemura file arch/hpcmips/hpcmips/machdep.c
49 1.1 takemura file arch/hpcmips/hpcmips/platid.c
50 1.1 takemura file arch/hpcmips/hpcmips/platid_mask.c
51 1.1 takemura file arch/hpcmips/hpcmips/mainbus.c
52 1.1 takemura file arch/hpcmips/hpcmips/bus_space.c
53 1.9 uch #file arch/hpcmips/hpcmips/bus_dma.c
54 1.1 takemura file arch/hpcmips/hpcmips/disksubr.c disk
55 1.12 takemura file arch/hpcmips/hpcmips/config_hook.c
56 1.1 takemura
57 1.1 takemura # Console autoconfiguration code: selects between a framebuffers
58 1.1 takemura file dev/cons.c
59 1.1 takemura file arch/hpcmips/dev/bicons.c
60 1.1 takemura file arch/hpcmips/dev/bifont.c
61 1.1 takemura
62 1.3 takemura # Raster operations
63 1.3 takemura include "dev/rasops/files.rasops"
64 1.3 takemura include "dev/wsfont/files.wsfont"
65 1.3 takemura
66 1.1 takemura #
67 1.1 takemura # Workstation Console
68 1.1 takemura #
69 1.1 takemura include "dev/wscons/files.wscons"
70 1.3 takemura #device fb: wsemuldisplaydev, wsrasteremulops
71 1.4 shin device fb: wsemuldisplaydev, rasops1, rasops2, rasops8, rasops15, rasops16
72 1.1 takemura attach fb at mainbus
73 1.1 takemura file arch/hpcmips/dev/fb.c fb needs-flag
74 1.1 takemura
75 1.1 takemura #
76 1.1 takemura # ISA bus support
77 1.1 takemura #
78 1.1 takemura include "dev/isa/files.isa"
79 1.1 takemura
80 1.1 takemura #
81 1.12 takemura # pseudo devices
82 1.12 takemura #
83 1.12 takemura defpseudo biconsdev
84 1.12 takemura file arch/hpcmips/dev/biconsdev.c biconsdev needs-count
85 1.12 takemura defpseudo btnmgr
86 1.12 takemura file arch/hpcmips/dev/btnmgr.c btnmgr
87 1.12 takemura
88 1.12 takemura #
89 1.1 takemura # Vr41x1 integrated peripherals
90 1.1 takemura #
91 1.12 takemura device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
92 1.1 takemura attach vrip at mainbus
93 1.8 takemura file arch/hpcmips/vr/vrip.c vrip needs-flag
94 1.1 takemura
95 1.1 takemura device vrrtc
96 1.1 takemura attach vrrtc at vrip
97 1.1 takemura file arch/hpcmips/vr/rtc.c vrrtc
98 1.1 takemura
99 1.1 takemura device vrcmu
100 1.1 takemura attach vrcmu at vrip
101 1.1 takemura file arch/hpcmips/vr/cmu.c vrcmu
102 1.1 takemura
103 1.1 takemura device vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]} # GIU attachment
104 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]}
105 1.12 takemura device newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1] }
106 1.1 takemura
107 1.12 takemura device vrgiu: vrisabif, gpbusif, newgpbusif
108 1.1 takemura attach vrgiu at vrip
109 1.1 takemura file arch/hpcmips/vr/vrgiu.c vrgiu
110 1.1 takemura
111 1.1 takemura device gpbus
112 1.1 takemura attach gpbus at gpbusif
113 1.1 takemura file arch/hpcmips/vr/gpbus.c gpbus
114 1.1 takemura
115 1.1 takemura device vrisab: isabus
116 1.1 takemura attach vrisab at vrisabif
117 1.1 takemura file arch/hpcmips/isa/isa_machdep.c vrisab
118 1.12 takemura
119 1.12 takemura device pwctl
120 1.12 takemura attach pwctl at newgpbusif with pwctl_vrgiu
121 1.12 takemura file arch/hpcmips/vr/pwctl_vrgiu.c pwctl_vrgiu
122 1.12 takemura
123 1.12 takemura device button
124 1.12 takemura attach button at newgpbusif with button_vrgiu
125 1.12 takemura file arch/hpcmips/vr/button_vrgiu.c button_vrgiu
126 1.1 takemura
127 1.1 takemura device vrbcu
128 1.1 takemura attach vrbcu at vrip
129 1.10 sato file arch/hpcmips/vr/bcu_vrip.c vrbcu needs-flag
130 1.1 takemura
131 1.2 takemura device vrkiu: wskbddev
132 1.1 takemura attach vrkiu at vrip
133 1.2 takemura file arch/hpcmips/vr/vrkiu.c vrkiu needs-flag
134 1.6 uch #
135 1.6 uch # XXX files.pckbc XXX
136 1.6 uch #
137 1.6 uch device pckbd: wskbddev
138 1.6 uch attach pckbd at pckbc
139 1.6 uch file dev/pckbc/pckbd.c pckbd needs-flag
140 1.9 uch file dev/pckbc/wskbdmap_mfii.c pckbd | vrkiu | skbd
141 1.6 uch defopt PCKBD_LAYOUT
142 1.1 takemura
143 1.1 takemura device vrpmu
144 1.1 takemura attach vrpmu at vrip
145 1.10 sato file arch/hpcmips/vr/vrpmu.c vrpmu needs-flag
146 1.7 takemura
147 1.7 takemura device vrdsu
148 1.7 takemura attach vrdsu at vrip
149 1.7 takemura file arch/hpcmips/vr/vrdsu.c vrdsu needs-flag
150 1.13 takemura
151 1.14 uch define mra
152 1.14 uch file arch/hpcmips/vr/mra.c mra
153 1.14 uch
154 1.13 takemura device vrpiu: wsmousedev
155 1.14 uch attach vrpiu at vrip: mra
156 1.13 takemura file arch/hpcmips/vr/vrpiu.c vrpiu
157 1.1 takemura
158 1.6 uch #
159 1.6 uch # TOSHIBA TX3912/3922
160 1.6 uch #
161 1.6 uch defopt TX39_DEBUG
162 1.6 uch defopt TX39_WATCHDOGTIMER
163 1.6 uch defopt TX39ICUDEBUG
164 1.9 uch defopt TX39CLKDEBUG
165 1.6 uch defopt TX39BIUDEBUG
166 1.6 uch defopt TX39IODEBUG
167 1.6 uch defopt TX39POWERDEBUG
168 1.6 uch defopt TX39UARTDEBUG
169 1.9 uch defopt USE_POLL
170 1.6 uch
171 1.6 uch device txsim { }
172 1.6 uch device txcsbusif {[platform = -1]}
173 1.6 uch device txcomif {[slot = -1]}
174 1.14 uch device txsibif {[slot = -1]}
175 1.6 uch
176 1.6 uch attach txsim at mainbus
177 1.6 uch file arch/hpcmips/tx/txsim.c txsim
178 1.6 uch
179 1.6 uch device tx39biu: txcsbusif
180 1.6 uch attach tx39biu at txsim
181 1.6 uch file arch/hpcmips/tx/tx39biu.c tx39biu
182 1.6 uch
183 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]}
184 1.6 uch attach txcsbus at txcsbusif
185 1.6 uch file arch/hpcmips/tx/txcsbus.c txcsbus
186 1.6 uch
187 1.6 uch device tx39icu
188 1.6 uch attach tx39icu at txsim
189 1.6 uch file arch/hpcmips/tx/tx39icu.c tx39icu
190 1.6 uch
191 1.6 uch device tx39power
192 1.6 uch attach tx39power at txsim
193 1.6 uch file arch/hpcmips/tx/tx39power.c tx39power
194 1.6 uch
195 1.6 uch device tx39clock
196 1.6 uch attach tx39clock at txsim
197 1.6 uch file arch/hpcmips/tx/tx39clock.c tx39clock
198 1.6 uch
199 1.6 uch device tx3912video: mainbus # XXX crazy XXX
200 1.6 uch attach tx3912video at txsim
201 1.6 uch file arch/hpcmips/tx/tx3912video.c tx3912video
202 1.6 uch
203 1.6 uch device tx39io
204 1.6 uch attach tx39io at txsim
205 1.6 uch file arch/hpcmips/tx/tx39io.c tx39io
206 1.6 uch
207 1.14 uch device tx39sib: txsibif
208 1.14 uch attach tx39sib at txsim
209 1.14 uch file arch/hpcmips/tx/tx39sib.c tx39sib
210 1.14 uch
211 1.14 uch # PHILIPS UCB1200 modem/audio analog front-end
212 1.14 uch device ucb: wsmousedev
213 1.14 uch attach ucb at txsibif: mra
214 1.14 uch file arch/hpcmips/dev/ucb1200.c ucb
215 1.14 uch
216 1.14 uch
217 1.6 uch device tx39uart: txcomif
218 1.6 uch attach tx39uart at txsim
219 1.6 uch file arch/hpcmips/tx/tx39uart.c tx39uart needs-flag
220 1.6 uch
221 1.6 uch device txcom
222 1.6 uch attach txcom at txcomif
223 1.6 uch file arch/hpcmips/tx/txcom.c txcom
224 1.6 uch
225 1.6 uch # ITE 8368E PCMCIA controller
226 1.6 uch device it8368e: pcmciabus
227 1.6 uch attach it8368e at txcsbus
228 1.6 uch file arch/hpcmips/dev/it8368.c it8368e
229 1.6 uch
230 1.9 uch device skbdif {}
231 1.9 uch
232 1.9 uch # MITUBISHI M38813 keryboard controller
233 1.9 uch device m38813c: skbdif
234 1.9 uch attach m38813c at txcsbus
235 1.9 uch file arch/hpcmips/dev/m38813c.c m38813c needs-flag
236 1.11 uch
237 1.11 uch # TOSHIBA TC5165BTFS buffer driver (keyboard)
238 1.14 uch # PHILIPS 74ALVC16241 buffer driver (keyboard)
239 1.11 uch device tc5165buf: skbdif
240 1.11 uch attach tc5165buf at txcsbus
241 1.11 uch file arch/hpcmips/dev/tc5165buf.c tc5165buf needs-flag
242 1.9 uch
243 1.9 uch # Simple keyboard interface for wskbd
244 1.9 uch device skbd: wskbddev
245 1.9 uch attach skbd at skbdif
246 1.9 uch file arch/hpcmips/dev/skbd.c skbd
247 1.9 uch
248 1.6 uch
249 1.6 uch # TOSHIBA TC6358E(Plum2)
250 1.6 uch device plumif {}
251 1.6 uch device plum: plumif
252 1.6 uch attach plum at txcsbus
253 1.6 uch file arch/hpcmips/dev/plum.c plum
254 1.6 uch
255 1.6 uch device plumicu
256 1.6 uch attach plumicu at plumif
257 1.6 uch file arch/hpcmips/dev/plumicu.c plumicu
258 1.6 uch
259 1.6 uch device plumpower
260 1.6 uch attach plumpower at plumif
261 1.6 uch file arch/hpcmips/dev/plumpower.c plumpower
262 1.6 uch
263 1.6 uch device plumvideo: mainbus # XXX crazy XXX
264 1.6 uch attach plumvideo at plumif
265 1.6 uch file arch/hpcmips/dev/plumvideo.c plumvideo
266 1.6 uch
267 1.6 uch device plumpcmcia: pcmciabus
268 1.6 uch attach plumpcmcia at plumif
269 1.6 uch file arch/hpcmips/dev/plumpcmcia.c plumpcmcia
270 1.6 uch
271 1.6 uch device plumiobusif {[platform = -1], [slot = -1]}
272 1.6 uch device plumiobus: plumiobusif
273 1.6 uch attach plumiobus at plumif
274 1.6 uch file arch/hpcmips/dev/plumiobus.c plumiobus
275 1.6 uch
276 1.6 uch device plumisab: isabus
277 1.6 uch attach plumisab at plumiobusif
278 1.6 uch file arch/hpcmips/isa/plumisa_machdep.c plumisab
279 1.6 uch
280 1.9 uch # OHCI USB controller
281 1.9 uch #attach ohci at plumif with plumohci
282 1.9 uch #file arch/hpcmips/dev/plumohci.c plumohci
283 1.9 uch
284 1.9 uch #device txisab: isabus
285 1.9 uch #attach txisab at txcsbus
286 1.9 uch #file arch/hpcmips/isa/txisa_machdep.c txisab
287 1.9 uch
288 1.6 uch #
289 1.6 uch # Real-time clock (not optional)
290 1.6 uch #
291 1.1 takemura file arch/hpcmips/hpcmips/clock.c
292 1.1 takemura file dev/clock_subr.c
293 1.1 takemura
294 1.1 takemura # Floppy disk controller
295 1.1 takemura device fdc {drive = -1}
296 1.1 takemura #attach fdc at isa
297 1.1 takemura #device fd: disk, isadma
298 1.1 takemura device fd: disk
299 1.1 takemura #attach fd at fdc
300 1.1 takemura file arch/i386/isa/fd.c fdc needs-flag
301 1.1 takemura major {fd = 2}
302 1.1 takemura
303 1.1 takemura # network devices MII bus
304 1.1 takemura include "dev/mii/files.mii"
305 1.1 takemura
306 1.1 takemura # XXXX pcic here because it needs to be late. The catch: pcic needs
307 1.1 takemura # to be late, so devices which attach to it are attached late. But it
308 1.1 takemura # needs to be before its isa and pci attachments. This answer is
309 1.1 takemura # non-optimal, but I don't have a better answer right now.
310 1.1 takemura
311 1.1 takemura # PCIC pcmcia contoller
312 1.1 takemura # XXX this needs to be done very late, so it's done here. This feels
313 1.1 takemura # like a kludge, but it might be for the best.
314 1.1 takemura
315 1.1 takemura defopt PCIC_ISA_ALLOC_IOBASE
316 1.1 takemura defopt PCIC_ISA_ALLOC_IOSIZE
317 1.1 takemura defopt PCIC_ISA_INTR_ALLOC_MASK
318 1.1 takemura
319 1.1 takemura device pcic: pcmciabus
320 1.1 takemura file dev/ic/i82365.c pcic
321 1.1 takemura
322 1.1 takemura #
323 1.1 takemura # PCIC pcmcia controller
324 1.1 takemura #
325 1.1 takemura attach pcic at isa with pcic_isa
326 1.1 takemura file dev/isa/i82365_isa.c pcic_isa
327 1.1 takemura file dev/isa/i82365_isasubr.c pcic_isa
328 1.1 takemura
329 1.1 takemura #
330 1.1 takemura # Machine-independent PCMCIA drivers
331 1.1 takemura #
332 1.1 takemura include "dev/pcmcia/files.pcmcia"
333 1.1 takemura
334 1.1 takemura # Serial Interface Unit
335 1.1 takemura attach com at vrip with com_vrip
336 1.1 takemura file arch/hpcmips/vr/com_vrip.c com_vrip
337 1.1 takemura
338 1.1 takemura # Memory Disk for boot tape
339 1.1 takemura file arch/hpcmips/dev/md_root.c memory_disk_hooks
340 1.1 takemura major {md = 6}
341 1.9 uch
342 1.10 sato #include "dev/usb/files.usb"
343