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