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