xref: /netbsd-src/sys/arch/hpcmips/conf/files.hpcmips (revision 481fca6e59249d8ffcf24fef7cfbe7b131bfb080)
1#	$NetBSD: files.hpcmips,v 1.34 2000/07/02 10:01:30 takemura Exp $
2
3# maxpartitions must be first item in files.${ARCH}.
4maxpartitions 8
5
6maxusers 2 8 64
7
8#
9# Machine-independent SCSI drivers
10#
11
12include "dev/scsipi/files.scsipi"
13major	{sd = 3}
14major	{st = 4}
15major	{cd = 5}
16
17#
18# Machine-independent ATA drivers
19#
20
21include "dev/ata/files.ata"
22major	{wd = 1}
23
24#
25# Bus-independent devices
26#
27device mainbus { }			# no locators
28attach mainbus at root
29
30device cpu				# not optional
31attach cpu at mainbus
32file arch/hpcmips/hpcmips/cpu.c		cpu
33
34# CPU support option headers
35defopt	VR41X1
36defopt	TX39XX
37
38#
39# CPU-dependent files
40#
41file	arch/hpcmips/vr/vr.c		vr41x1	# NEC VR4000 series
42file	arch/hpcmips/vr/vr_idle.S	vr41x1
43file	arch/hpcmips/tx/tx39.c		tx39xx	# TOSHIBA TX3900 series
44
45file	arch/mips/mips/fp.S		softfloat
46
47file	arch/hpcmips/hpcmips/autoconf.c
48file	arch/hpcmips/hpcmips/conf.c
49file	arch/hpcmips/hpcmips/machdep.c
50file	arch/hpcmips/hpcmips/platid.c
51file	arch/hpcmips/hpcmips/platid_mask.c
52file	arch/hpcmips/hpcmips/platid_name.c
53file	arch/hpcmips/hpcmips/mainbus.c
54file	arch/hpcmips/hpcmips/bus_space.c
55file	arch/hpcmips/hpcmips/bus_dma.c
56file	arch/hpcmips/hpcmips/disksubr.c	disk
57file	arch/hpcmips/hpcmips/config_hook.c
58
59# Console autoconfiguration code: selects between a framebuffers
60file	dev/cons.c
61file	arch/hpcmips/dev/bicons.c
62file	arch/hpcmips/dev/bifont.c
63
64# Raster operations
65include "dev/rasops/files.rasops"
66include "dev/wsfont/files.wsfont"
67
68#
69# Workstation Console
70#
71include "dev/wscons/files.wscons"
72file	dev/pckbc/wskbdmap_mfii.c		btnmgr | vrkiu | skbd
73file	arch/hpcmips/dev/pckbd_encode.c		btnmgr | vrkiu | skbd
74defopt	PCKBD_LAYOUT
75
76define	hpcfbif {}
77device	hpcfb: wsemuldisplaydev, rasops1, rasops2, rasops8, rasops15, rasops16
78attach	hpcfb at hpcfbif
79file	arch/hpcmips/dev/hpcfb.c	hpcfb needs-flag
80
81device	bivideo: hpcfbif
82file	arch/hpcmips/dev/bivideo.c	bivideo needs-flag
83file	arch/hpcmips/dev/hpccmap.c	bivideo
84attach	bivideo at mainbus
85
86device btnmgr: wskbddev
87attach btnmgr at mainbus
88file	arch/hpcmips/dev/btnmgr.c	btnmgr
89
90file	arch/hpcmips/dev/video_subr.c	tx3912video | plumvideo
91
92#
93# power management
94#
95include "dev/apm/files.apm"
96device hpcapm: apmif
97attach hpcapm at mainbus
98file	arch/hpcmips/dev/hpcapm.c	hpcapm
99
100#
101# ISA bus support
102#
103include "dev/isa/files.isa"
104
105#
106# pseudo devices
107#
108defpseudo	biconsdev
109file	arch/hpcmips/dev/biconsdev.c	biconsdev	needs-count
110
111#
112#  Vr41x1 integrated peripherals
113#
114device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1], [pwctl=-1] }
115attach vrip at mainbus
116file arch/hpcmips/vr/vrip.c		vrip needs-flag
117
118device vrrtc
119attach vrrtc at vrip
120file arch/hpcmips/vr/rtc.c			vrrtc
121
122device vrcmu
123attach vrcmu at vrip
124file arch/hpcmips/vr/cmu.c			vrcmu
125
126device	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
127device  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]}
128device  newgpbusif { [platform = -1], [id = -1], [port = -1], [active = 1], [level = -1] }
129
130device vrgiu: vrisabif, gpbusif, newgpbusif
131attach vrgiu at vrip
132file arch/hpcmips/vr/vrgiu.c			vrgiu
133
134device gpbus
135attach gpbus at gpbusif
136file arch/hpcmips/vr/gpbus.c			gpbus
137
138device vrisab: isabus
139attach vrisab at vrisabif
140file arch/hpcmips/isa/isa_machdep.c		vrisab
141
142device pwctl
143attach pwctl at newgpbusif with pwctl_vrgiu
144file arch/hpcmips/vr/pwctl_vrgiu.c		pwctl_vrgiu
145
146device button
147attach button at newgpbusif with button_vrgiu
148file arch/hpcmips/vr/button_vrgiu.c		button_vrgiu
149
150device vrbcu
151attach vrbcu at vrip
152file arch/hpcmips/vr/bcu_vrip.c			vrbcu needs-flag
153
154device vrkiu: wskbddev
155attach vrkiu at vrip
156file arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
157
158device vrpmu
159attach vrpmu at vrip
160file arch/hpcmips/vr/vrpmu.c			vrpmu needs-flag
161
162device vrdsu
163attach vrdsu at vrip
164file arch/hpcmips/vr/vrdsu.c			vrdsu needs-flag
165
166define	tpcalib
167file arch/hpcmips/dev/tpcalib.c			tpcalib
168file arch/hpcmips/dev/mra.c			tpcalib
169
170device vrpiu: wsmousedev
171attach vrpiu at vrip: tpcalib
172file arch/hpcmips/vr/vrpiu.c			vrpiu
173
174attach ohci at vrip with ohci_vrip
175file arch/hpcmips/dev/ohci_vrip.c		ohci_vrip
176
177#
178#	TOSHIBA TX3912/3922
179#
180defopt TX39_DEBUG
181defopt TX39_WATCHDOGTIMER
182defopt TX39ICUDEBUG
183defopt TX39CLKDEBUG
184defopt TX39BIUDEBUG
185defopt TX39IODEBUG
186defopt TX39POWERDEBUG
187defopt TX39UARTDEBUG
188defopt USE_POLL
189
190device txsim { }
191device txcsbusif {[platform = -1]}
192device txcomif {[slot = -1]}
193device txsibif {[slot = -1]}
194device ucbif { }
195device irif { }
196device txiomanif {[platform = -1]}
197
198attach txsim at mainbus
199file arch/hpcmips/tx/txsim.c		txsim
200file arch/hpcmips/tx/txsnd.c		txsim
201
202device tx39biu: txcsbusif
203attach tx39biu at txsim
204file arch/hpcmips/tx/tx39biu.c		tx39biu
205
206device 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]}
207attach txcsbus at txcsbusif
208file arch/hpcmips/tx/txcsbus.c		txcsbus
209
210device tx39icu
211attach tx39icu at txsim
212file arch/hpcmips/tx/tx39icu.c		tx39icu
213
214device tx39power
215attach tx39power at txsim
216file arch/hpcmips/tx/tx39power.c	tx39power
217
218device tx39clock
219attach tx39clock at txsim
220file arch/hpcmips/tx/tx39clock.c	tx39clock
221
222device tx3912video: hpcfbif
223attach tx3912video at txsim
224file arch/hpcmips/tx/tx3912video.c	tx3912video
225
226device tx39io: txiomanif
227attach tx39io at txsim
228file arch/hpcmips/tx/tx39io.c		tx39io
229
230device txioman
231attach txioman at txiomanif
232file arch/hpcmips/tx/txioman.c		txioman
233
234device tx39sib: txsibif
235attach tx39sib at txsim
236file arch/hpcmips/tx/tx39sib.c		tx39sib
237
238#	PHILIPS UCB1200 / TOSHIBA TC35413F (modem/audio analog front-end)
239device ucb: ucbif
240attach ucb at txsibif
241file arch/hpcmips/dev/ucb1200.c		ucb
242
243device ucbtp: wsmousedev
244attach ucbtp at ucbif: tpcalib
245file arch/hpcmips/dev/ucbtp.c		ucbtp
246
247device ucbsnd
248attach ucbsnd at ucbif
249file arch/hpcmips/dev/ucbsnd.c		ucbsnd		needs-flag
250
251device ucbio: newgpbusif
252attach ucbio at ucbif
253file arch/hpcmips/dev/ucbio.c		ucbio
254
255device ucbioport
256attach ucbioport at newgpbusif
257file arch/hpcmips/dev/ucbioport.c	ucbioport
258
259device tx39uart: txcomif
260attach tx39uart at txsim
261file arch/hpcmips/tx/tx39uart.c		tx39uart	needs-flag
262
263device txcom: irif
264attach txcom at txcomif
265file arch/hpcmips/tx/txcom.c		txcom
266
267device tx39ir
268attach tx39ir at irif
269file arch/hpcmips/tx/tx39ir.c		tx39ir
270
271#	ITE IT8368E PCMCIA / TOSHIBA TC6345AF buffer chip (PCMCIA)
272device it8368e: pcmciabus
273attach it8368e at txcsbus
274file arch/hpcmips/dev/it8368.c	it8368e
275
276device skbdif {}
277
278#	MITUBISHI M38813 keryboard controller
279device m38813c: skbdif
280attach m38813c at txcsbus
281file arch/hpcmips/dev/m38813c.c		m38813c		needs-flag
282
283#	PHILIPS 74ALVC16241 / TOSHIBA TC5165BTFS buffer driver (keyboard)
284device tc5165buf: skbdif
285attach tc5165buf at txcsbus
286file arch/hpcmips/dev/tc5165buf.c	tc5165buf	needs-flag
287
288#	Simple keyboard interface for wskbd
289device skbd: wskbddev
290attach skbd at skbdif
291file arch/hpcmips/dev/skbd.c		skbd
292
293
294#	TOSHIBA TC6358E(Plum2)
295device plumif {}
296device plum: plumif
297attach plum at txcsbus
298file arch/hpcmips/dev/plum.c		plum
299
300device plumicu
301attach plumicu at plumif
302file arch/hpcmips/dev/plumicu.c		plumicu
303
304device plumpower
305attach plumpower at plumif
306file arch/hpcmips/dev/plumpower.c	plumpower
307
308device plumvideo: hpcfbif
309attach plumvideo at plumif
310file arch/hpcmips/dev/plumvideo.c	plumvideo
311
312device plumpcmcia: pcmciabus
313attach plumpcmcia at plumif
314file arch/hpcmips/dev/plumpcmcia.c	plumpcmcia
315
316device plumiobusif {[platform = -1], [slot = -1]}
317device plumiobus: plumiobusif
318attach plumiobus at plumif
319file arch/hpcmips/dev/plumiobus.c	plumiobus
320
321device plumisab: isabus
322attach plumisab at plumiobusif
323file arch/hpcmips/isa/plumisa_machdep.c	plumisab
324
325# OHCI USB controller
326attach	ohci at plumif with plumohci
327file	arch/hpcmips/dev/plumohci.c	plumohci
328
329#device txisab: isabus
330#attach txisab at txcsbus
331#file arch/hpcmips/isa/txisa_machdep.c	txisab
332
333#
334#	Real-time clock (not optional)
335#
336file	arch/hpcmips/hpcmips/clock.c
337file	dev/clock_subr.c
338
339# Floppy disk controller
340device	fdc {drive = -1}
341#attach	fdc at isa
342#device	fd: disk, isadma
343device	fd: disk
344#attach	fd at fdc
345file	arch/i386/isa/fd.c		fdc needs-flag
346major	{fd = 2}
347
348# network devices MII bus
349include "dev/mii/files.mii"
350
351# XXXX pcic here because it needs to be late.  The catch: pcic needs
352# to be late, so devices which attach to it are attached late.  But it
353# needs to be before its isa and pci attachments.  This answer is
354# non-optimal, but I don't have a better answer right now.
355
356# PCIC pcmcia contoller
357# XXX this needs to be done very late, so it's done here.  This feels
358# like a kludge, but it might be for the best.
359
360defopt	PCIC_ISA_ALLOC_IOBASE
361defopt	PCIC_ISA_ALLOC_IOSIZE
362defopt	PCIC_ISA_INTR_ALLOC_MASK
363
364device	pcic: pcmciabus
365file	dev/ic/i82365.c			pcic
366
367#
368# PCIC pcmcia controller
369#
370attach	pcic at isa with pcic_isa
371file	dev/isa/i82365_isa.c			pcic_isa
372file	dev/isa/i82365_isasubr.c		pcic_isa
373
374#
375# Machine-independent PCMCIA drivers
376#
377include "dev/pcmcia/files.pcmcia"
378
379# Serial Interface Unit
380attach com at vrip with com_vrip
381file	arch/hpcmips/vr/com_vrip.c			com_vrip
382
383# Memory Disk for boot tape
384file arch/hpcmips/dev/md_root.c		memory_disk_hooks
385major	{md = 6}
386
387include "dev/usb/files.usb"
388