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