files.sun3 revision 1.12 1 # $NetBSD: files.sun3,v 1.12 1995/10/08 23:38:45 gwr Exp $
2
3 #
4 # sun3-specific configuration info
5 #
6
7 # maxpartitions must be first item in files.${ARCH}.newconf
8 maxpartitions 8
9
10 maxusers 2 8 64
11
12 # Standard stuff
13 file arch/sun3/sun3/autoconf.c
14 file arch/sun3/sun3/cache.c havecache
15 file arch/sun3/sun3/conf.c
16 file arch/sun3/sun3/control.c
17 file arch/sun3/sun3/ctrlsp.S
18 file arch/sun3/sun3/dvma.c
19 file arch/sun3/sun3/db_machdep.c ddb
20 file arch/sun3/sun3/disksubr.c
21 file arch/sun3/sun3/isr.c
22 file arch/sun3/sun3/machdep.c
23 file arch/sun3/sun3/mem.c
24 file arch/sun3/sun3/pmap.c
25 #file arch/sun3/sun3/stub.c
26 file arch/sun3/sun3/sun3_startup.c
27 file arch/sun3/sun3/sys_machdep.c
28 file arch/sun3/sun3/trap.c
29 file arch/sun3/sun3/vector.c
30 file arch/sun3/sun3/vm_machdep.c
31
32 file arch/m68k/fpe/fpu_emulate.c fpu_emulate
33 file arch/m68k/m68k/copy.s
34 file dev/cons.c
35 file dev/cninit.c
36
37 # Declare our "catch-all" root node.
38 device mainbus at root {}
39 # Misc. mainbus things (catch-all)
40 # Control space hack
41 device obctl at mainbus {addr = -1, [level = -1]}
42 # Floating Point Unit
43 device fpu at mainbus {}
44 file arch/sun3/sun3/fpu.c fpu
45
46 # Bus types
47 #
48 # The implementation of the bus_* functions in autoconfig.c
49 # requires these all to agree with <autoconf.h> struct bus_loc
50
51 # On-board MEMory space
52 device obmem at mainbus {addr = -1, [level = -1]}
53 # On-board I/O space
54 device obio at mainbus {addr = -1, [level = -1]}
55 # VME Short space (D16)
56 device vmes at mainbus {addr = -1, [level = -1], [vect = -1]}
57 # VME Long space (D32)
58 device vmel at mainbus {addr = -1, [level = -1], [vect = -1]}
59
60 file arch/sun3/dev/obctl.c obctl
61 file arch/sun3/dev/obio.c obio
62 file arch/sun3/dev/obmem.c obmem
63 file arch/sun3/dev/vme.c vmes vmel
64
65 #
66 # Sun-compatible Frame Buffers (?)
67 #
68 define sunfb {}
69
70 #
71 # SCSI driver and associated stuff
72 #
73 define scsi {}
74 file scsi/scsi_base.c scsi
75 file scsi/scsi_ioctl.c scsi
76 file scsi/scsiconf.c scsi
77
78 device scsibus at scsi {target = -1, lun = -1}
79
80 device sd at scsibus: disk
81 file scsi/sd.c sd needs-flag
82
83 device st at scsibus: tape
84 file scsi/st.c st needs-flag
85
86 device cd at scsibus: disk
87 file scsi/cd.c cd needs-flag
88
89 device ch at scsibus: disk
90 file scsi/ch.c ch needs-flag
91
92 file scsi/uk.c uk needs-flag
93 file scsi/su.c su needs-flag
94
95 #
96 # On-Board I/O (OBIO)
97 #
98 device zs at obio: tty
99 file arch/sun3/dev/zs.c zs needs-count
100
101 device eeprom at obio
102 file arch/sun3/dev/eeprom.c eeprom
103
104 device clock at obio
105 file arch/sun3/sun3/clock.c clock
106
107 device ie at obio, vmes: ifnet, ether
108 file arch/sun3/dev/if_ie.c ie
109 file arch/sun3/dev/if_ie_subr.c ie
110
111 device le at obio: ifnet, ether
112 file arch/sun3/dev/if_le.c le
113 file arch/sun3/dev/if_le_subr.c le
114
115 device si at obio, vmes: scsi
116 file arch/sun3/dev/si.c si
117
118 #
119 # On-Board MEMory (OBMEM)
120 #
121 device bwtwo at obmem: sunfb
122 file arch/sun3/dev/bw2.c bwtwo needs-flag
123
124 device cgtwo at vmes: sunfb
125 file arch/sun3/dev/cg2.c cgtwo needs-flag
126
127 device cgfour at obmem: sunfb
128 file arch/sun3/dev/cg4.c cgfour needs-flag
129
130 file arch/sun3/dev/bt_subr.c cgfour
131
132 #
133 # VME
134 #
135 device xdc at vmel {drive = -1}
136 device xd at xdc: disk
137 file arch/sun3/dev/xd.c xd needs-flag
138
139 device xyc at vmel {drive = -1}
140 device xy at xyc: disk
141 file arch/sun3/dev/xy.c xy needs-flag
142
143
144 #
145 # On-Board Control (OBCTL)
146 #
147 device idprom at obctl
148 file arch/sun3/dev/idprom.c idprom needs-count
149
150 #
151 # Console (zs) related stuff
152 #
153 file arch/sun3/dev/kbd.c zs
154 file arch/sun3/dev/event.c zs
155 file arch/sun3/dev/kd.c zs
156 file arch/sun3/dev/ms.c zs
157 file arch/sun3/dev/fb.c
158
159 # RAM Disk for boot tape
160 device rd at mainbus
161 file dev/ramdisk.c rd needs-count
162 file arch/sun3/dev/rd_root.c ramdisk_hooks
163
164 # Major numbers for root/swap device configuration
165 major {xy=3} # Xylogics 450 and 451
166 major {vnd=5} # vnode pseudo-device
167 major {sd=7} # SCSI disk
168 major {xd=10} # Xylogics 7053
169 major {rd=13} # RAM disk (for mini-kernel)
170
171 # Compatibility modules
172
173 # SunOS Binary Compatibility (COMPAT_SUNOS)
174 include "../../../compat/sunos/files.sunos"
175 file arch/m68k/m68k/sunos_machdep.c compat_sunos
176