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