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