files.hpcmips revision 1.2
1#	$NetBSD: files.hpcmips,v 1.2 1999/10/24 08:37:28 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
36
37#
38# CPU-dependent files
39#
40file	arch/hpcmips/vr/vr.c	vr41x1	# NEC VR4000 series
41
42file	arch/hpcmips/hpcmips/autoconf.c
43file	arch/hpcmips/hpcmips/conf.c
44file	arch/hpcmips/hpcmips/machdep.c
45file	arch/hpcmips/hpcmips/platid.c
46file	arch/hpcmips/hpcmips/platid_mask.c
47file	arch/hpcmips/hpcmips/mainbus.c
48file	arch/hpcmips/hpcmips/bus_space.c
49file	arch/hpcmips/hpcmips/disksubr.c	disk
50
51# Console autoconfiguration code: selects between a framebuffers
52file	dev/cons.c
53file	arch/hpcmips/dev/findcons.c
54file	arch/hpcmips/dev/bicons.c
55file	arch/hpcmips/dev/bifont.c
56defpseudo	biconsdev
57file	arch/hpcmips/dev/biconsdev.c	biconsdev	needs-count
58
59#
60# Workstation Console
61#
62include "dev/wscons/files.wscons"
63device	fb: wsemuldisplaydev, wsrasteremulops
64attach	fb at mainbus
65file	arch/hpcmips/dev/fb.c           fb needs-flag
66
67#
68# ISA bus support
69#
70include "dev/isa/files.isa"
71
72#
73#  Vr41x1 integrated peripherals
74#
75device vrip { [addr=-1], [size=-1], [addr2=-1], [size2=-1], [intr=-1] }
76attach vrip at mainbus
77file arch/hpcmips/vr/vrip.c		vrip
78
79device vrrtc
80attach vrrtc at vrip
81file arch/hpcmips/vr/rtc.c			vrrtc
82
83device vrcmu
84attach vrcmu at vrip
85file arch/hpcmips/vr/cmu.c			vrcmu
86
87device	vrisabif {[platform = -1], [isaportoffset=0], [isamemoffset=0]}		# GIU attachment
88device  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]} 
89
90device vrgiu: vrisabif, gpbusif
91attach vrgiu at vrip
92file arch/hpcmips/vr/vrgiu.c			vrgiu
93
94device gpbus
95attach gpbus at gpbusif
96file arch/hpcmips/vr/gpbus.c			gpbus
97
98device vrisab: isabus
99attach vrisab at vrisabif
100file arch/hpcmips/isa/isa_machdep.c		vrisab
101
102device vrbcu
103attach vrbcu at vrip
104file arch/hpcmips/vr/bcu_vrip.c			vrbcu
105
106device vrkiu: wskbddev
107attach vrkiu at vrip
108file arch/hpcmips/vr/vrkiu.c			vrkiu needs-flag
109file dev/pckbc/wskbdmap_mfii.c			vrkiu
110
111device vrpmu
112attach vrpmu at vrip
113file arch/hpcmips/vr/vrpmu.c			vrpmu
114
115# Real-time clock (not optional)
116file	arch/hpcmips/hpcmips/clock.c
117file	dev/clock_subr.c
118
119# Floppy disk controller
120device	fdc {drive = -1}
121#attach	fdc at isa
122#device	fd: disk, isadma
123device	fd: disk
124#attach	fd at fdc
125file	arch/i386/isa/fd.c		fdc needs-flag
126major	{fd = 2}
127
128# network devices MII bus
129include "dev/mii/files.mii"
130
131# XXXX pcic here because it needs to be late.  The catch: pcic needs
132# to be late, so devices which attach to it are attached late.  But it
133# needs to be before its isa and pci attachments.  This answer is
134# non-optimal, but I don't have a better answer right now.
135
136# PCIC pcmcia contoller
137# XXX this needs to be done very late, so it's done here.  This feels
138# like a kludge, but it might be for the best.
139
140defopt	PCIC_ISA_ALLOC_IOBASE
141defopt	PCIC_ISA_ALLOC_IOSIZE
142defopt	PCIC_ISA_INTR_ALLOC_MASK
143
144device	pcic: pcmciabus
145file	dev/ic/i82365.c			pcic
146
147#
148# PCIC pcmcia controller
149#
150attach	pcic at isa with pcic_isa
151file	dev/isa/i82365_isa.c			pcic_isa
152file	dev/isa/i82365_isasubr.c		pcic_isa
153
154#
155# Machine-independent PCMCIA drivers
156#
157include "dev/pcmcia/files.pcmcia"
158
159# Serial Interface Unit
160attach com at vrip with com_vrip
161file	arch/hpcmips/vr/com_vrip.c			com_vrip
162
163# Memory Disk for boot tape
164file arch/hpcmips/dev/md_root.c		memory_disk_hooks
165major	{md = 6}
166