files.hpcmips revision 1.6 1 1.6 uch # $NetBSD: files.hpcmips,v 1.6 1999/11/21 07:04:32 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.6 uch file arch/hpcmips/tx/tx39.c tx39xx # TOSHIBA TX3900 series
43 1.1 takemura
44 1.1 takemura file arch/hpcmips/hpcmips/autoconf.c
45 1.1 takemura file arch/hpcmips/hpcmips/conf.c
46 1.1 takemura file arch/hpcmips/hpcmips/machdep.c
47 1.1 takemura file arch/hpcmips/hpcmips/platid.c
48 1.1 takemura file arch/hpcmips/hpcmips/platid_mask.c
49 1.1 takemura file arch/hpcmips/hpcmips/mainbus.c
50 1.1 takemura file arch/hpcmips/hpcmips/bus_space.c
51 1.1 takemura file arch/hpcmips/hpcmips/disksubr.c disk
52 1.1 takemura
53 1.1 takemura # Console autoconfiguration code: selects between a framebuffers
54 1.1 takemura file dev/cons.c
55 1.1 takemura file arch/hpcmips/dev/bicons.c
56 1.1 takemura file arch/hpcmips/dev/bifont.c
57 1.1 takemura defpseudo biconsdev
58 1.1 takemura file arch/hpcmips/dev/biconsdev.c biconsdev needs-count
59 1.1 takemura
60 1.3 takemura # Raster operations
61 1.3 takemura include "dev/rasops/files.rasops"
62 1.3 takemura include "dev/wsfont/files.wsfont"
63 1.3 takemura
64 1.1 takemura #
65 1.1 takemura # Workstation Console
66 1.1 takemura #
67 1.1 takemura include "dev/wscons/files.wscons"
68 1.3 takemura #device fb: wsemuldisplaydev, wsrasteremulops
69 1.4 shin device fb: wsemuldisplaydev, rasops1, rasops2, rasops8, rasops15, rasops16
70 1.1 takemura attach fb at mainbus
71 1.1 takemura file arch/hpcmips/dev/fb.c fb needs-flag
72 1.1 takemura
73 1.1 takemura #
74 1.1 takemura # ISA bus support
75 1.1 takemura #
76 1.1 takemura include "dev/isa/files.isa"
77 1.1 takemura
78 1.1 takemura #
79 1.1 takemura # Vr41x1 integrated peripherals
80 1.1 takemura #
81 1.1 takemura device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1] }
82 1.1 takemura attach vrip at mainbus
83 1.1 takemura file arch/hpcmips/vr/vrip.c vrip
84 1.1 takemura
85 1.1 takemura device vrrtc
86 1.1 takemura attach vrrtc at vrip
87 1.1 takemura file arch/hpcmips/vr/rtc.c vrrtc
88 1.1 takemura
89 1.1 takemura device vrcmu
90 1.1 takemura attach vrcmu at vrip
91 1.1 takemura file arch/hpcmips/vr/cmu.c vrcmu
92 1.1 takemura
93 1.1 takemura device vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]} # GIU attachment
94 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]}
95 1.1 takemura
96 1.1 takemura device vrgiu: vrisabif, gpbusif
97 1.1 takemura attach vrgiu at vrip
98 1.1 takemura file arch/hpcmips/vr/vrgiu.c vrgiu
99 1.1 takemura
100 1.1 takemura device gpbus
101 1.1 takemura attach gpbus at gpbusif
102 1.1 takemura file arch/hpcmips/vr/gpbus.c gpbus
103 1.1 takemura
104 1.1 takemura device vrisab: isabus
105 1.1 takemura attach vrisab at vrisabif
106 1.1 takemura file arch/hpcmips/isa/isa_machdep.c vrisab
107 1.1 takemura
108 1.1 takemura device vrbcu
109 1.1 takemura attach vrbcu at vrip
110 1.1 takemura file arch/hpcmips/vr/bcu_vrip.c vrbcu
111 1.1 takemura
112 1.2 takemura device vrkiu: wskbddev
113 1.1 takemura attach vrkiu at vrip
114 1.2 takemura file arch/hpcmips/vr/vrkiu.c vrkiu needs-flag
115 1.6 uch #
116 1.6 uch # XXX files.pckbc XXX
117 1.6 uch #
118 1.6 uch device pckbd: wskbddev
119 1.6 uch attach pckbd at pckbc
120 1.6 uch file dev/pckbc/pckbd.c pckbd needs-flag
121 1.6 uch file dev/pckbc/wskbdmap_mfii.c pckbd | vrkiu | cckbd
122 1.6 uch defopt PCKBD_LAYOUT
123 1.1 takemura
124 1.1 takemura device vrpmu
125 1.1 takemura attach vrpmu at vrip
126 1.1 takemura file arch/hpcmips/vr/vrpmu.c vrpmu
127 1.1 takemura
128 1.6 uch #
129 1.6 uch # TOSHIBA TX3912/3922
130 1.6 uch #
131 1.6 uch defopt TX39_DEBUG
132 1.6 uch defopt TX39_WATCHDOGTIMER
133 1.6 uch defopt TX39ICUDEBUG
134 1.6 uch defopt USE_POLL
135 1.6 uch defopt CCKBD_POLL
136 1.6 uch defopt TX39BIUDEBUG
137 1.6 uch defopt TX39IODEBUG
138 1.6 uch defopt TX39POWERDEBUG
139 1.6 uch defopt TX39UARTDEBUG
140 1.6 uch defopt IT8368DEBUG
141 1.6 uch
142 1.6 uch device txsim { }
143 1.6 uch device txcsbusif {[platform = -1]}
144 1.6 uch device txcomif {[slot = -1]}
145 1.6 uch
146 1.6 uch attach txsim at mainbus
147 1.6 uch file arch/hpcmips/tx/txsim.c txsim
148 1.6 uch
149 1.6 uch device tx39biu: txcsbusif
150 1.6 uch attach tx39biu at txsim
151 1.6 uch file arch/hpcmips/tx/tx39biu.c tx39biu
152 1.6 uch
153 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]}
154 1.6 uch attach txcsbus at txcsbusif
155 1.6 uch file arch/hpcmips/tx/txcsbus.c txcsbus
156 1.6 uch
157 1.6 uch device tx39icu
158 1.6 uch attach tx39icu at txsim
159 1.6 uch file arch/hpcmips/tx/tx39icu.c tx39icu
160 1.6 uch
161 1.6 uch device tx39power
162 1.6 uch attach tx39power at txsim
163 1.6 uch file arch/hpcmips/tx/tx39power.c tx39power
164 1.6 uch
165 1.6 uch device tx39clock
166 1.6 uch attach tx39clock at txsim
167 1.6 uch file arch/hpcmips/tx/tx39clock.c tx39clock
168 1.6 uch
169 1.6 uch device tx3912video: mainbus # XXX crazy XXX
170 1.6 uch attach tx3912video at txsim
171 1.6 uch file arch/hpcmips/tx/tx3912video.c tx3912video
172 1.6 uch
173 1.6 uch device tx39io
174 1.6 uch attach tx39io at txsim
175 1.6 uch file arch/hpcmips/tx/tx39io.c tx39io
176 1.6 uch
177 1.6 uch device tx39uart: txcomif
178 1.6 uch attach tx39uart at txsim
179 1.6 uch file arch/hpcmips/tx/tx39uart.c tx39uart needs-flag
180 1.6 uch
181 1.6 uch device txcom
182 1.6 uch attach txcom at txcomif
183 1.6 uch file arch/hpcmips/tx/txcom.c txcom
184 1.6 uch
185 1.6 uch # ITE 8368E PCMCIA controller
186 1.6 uch device it8368e: pcmciabus
187 1.6 uch attach it8368e at txcsbus
188 1.6 uch file arch/hpcmips/dev/it8368.c it8368e
189 1.6 uch
190 1.6 uch # Compaq C-series keyboard
191 1.6 uch device cckbd: wskbddev
192 1.6 uch attach cckbd at txcsbus
193 1.6 uch file arch/hpcmips/dev/cckbd.c cckbd needs-flag
194 1.6 uch
195 1.6 uch # TOSHIBA TC6358E(Plum2)
196 1.6 uch device plumif {}
197 1.6 uch device plum: plumif
198 1.6 uch attach plum at txcsbus
199 1.6 uch file arch/hpcmips/dev/plum.c plum
200 1.6 uch
201 1.6 uch device plumicu
202 1.6 uch attach plumicu at plumif
203 1.6 uch file arch/hpcmips/dev/plumicu.c plumicu
204 1.6 uch
205 1.6 uch device plumpower
206 1.6 uch attach plumpower at plumif
207 1.6 uch file arch/hpcmips/dev/plumpower.c plumpower
208 1.6 uch
209 1.6 uch device plumvideo: mainbus # XXX crazy XXX
210 1.6 uch attach plumvideo at plumif
211 1.6 uch file arch/hpcmips/dev/plumvideo.c plumvideo
212 1.6 uch
213 1.6 uch device plumpcmcia: pcmciabus
214 1.6 uch attach plumpcmcia at plumif
215 1.6 uch file arch/hpcmips/dev/plumpcmcia.c plumpcmcia
216 1.6 uch
217 1.6 uch device plumiobusif {[platform = -1], [slot = -1]}
218 1.6 uch device plumiobus: plumiobusif
219 1.6 uch attach plumiobus at plumif
220 1.6 uch file arch/hpcmips/dev/plumiobus.c plumiobus
221 1.6 uch
222 1.6 uch device plumisab: isabus
223 1.6 uch attach plumisab at plumiobusif
224 1.6 uch file arch/hpcmips/isa/plumisa_machdep.c plumisab
225 1.6 uch
226 1.6 uch #
227 1.6 uch # Real-time clock (not optional)
228 1.6 uch #
229 1.1 takemura file arch/hpcmips/hpcmips/clock.c
230 1.1 takemura file dev/clock_subr.c
231 1.1 takemura
232 1.1 takemura # Floppy disk controller
233 1.1 takemura device fdc {drive = -1}
234 1.1 takemura #attach fdc at isa
235 1.1 takemura #device fd: disk, isadma
236 1.1 takemura device fd: disk
237 1.1 takemura #attach fd at fdc
238 1.1 takemura file arch/i386/isa/fd.c fdc needs-flag
239 1.1 takemura major {fd = 2}
240 1.1 takemura
241 1.1 takemura # network devices MII bus
242 1.1 takemura include "dev/mii/files.mii"
243 1.1 takemura
244 1.1 takemura # XXXX pcic here because it needs to be late. The catch: pcic needs
245 1.1 takemura # to be late, so devices which attach to it are attached late. But it
246 1.1 takemura # needs to be before its isa and pci attachments. This answer is
247 1.1 takemura # non-optimal, but I don't have a better answer right now.
248 1.1 takemura
249 1.1 takemura # PCIC pcmcia contoller
250 1.1 takemura # XXX this needs to be done very late, so it's done here. This feels
251 1.1 takemura # like a kludge, but it might be for the best.
252 1.1 takemura
253 1.1 takemura defopt PCIC_ISA_ALLOC_IOBASE
254 1.1 takemura defopt PCIC_ISA_ALLOC_IOSIZE
255 1.1 takemura defopt PCIC_ISA_INTR_ALLOC_MASK
256 1.1 takemura
257 1.1 takemura device pcic: pcmciabus
258 1.1 takemura file dev/ic/i82365.c pcic
259 1.1 takemura
260 1.1 takemura #
261 1.1 takemura # PCIC pcmcia controller
262 1.1 takemura #
263 1.1 takemura attach pcic at isa with pcic_isa
264 1.1 takemura file dev/isa/i82365_isa.c pcic_isa
265 1.1 takemura file dev/isa/i82365_isasubr.c pcic_isa
266 1.1 takemura
267 1.1 takemura #
268 1.1 takemura # Machine-independent PCMCIA drivers
269 1.1 takemura #
270 1.1 takemura include "dev/pcmcia/files.pcmcia"
271 1.1 takemura
272 1.1 takemura # Serial Interface Unit
273 1.1 takemura attach com at vrip with com_vrip
274 1.1 takemura file arch/hpcmips/vr/com_vrip.c com_vrip
275 1.1 takemura
276 1.1 takemura # Memory Disk for boot tape
277 1.1 takemura file arch/hpcmips/dev/md_root.c memory_disk_hooks
278 1.1 takemura major {md = 6}
279