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