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