files.mac68k revision 1.104 1 # $NetBSD: files.mac68k,v 1.104 2002/04/16 20:50:21 thorpej Exp $
2
3 # mac68k-specific configuration info
4
5 # options understood by the mac68k-specific part of the kernel
6 # (note, these are case-sensitive)
7 defflag opt_adb.h ADB_DEBUG MRG_ADB ALTXBUTTONS
8 defflag opt_mac68k.h DISABLE_EXT_CACHE ZS_CONSOLE_ABORT
9
10 defflag opt_wsdisplay_compat.h WSDISPLAY_COMPAT_ITEFONT
11
12 # maxpartitions must be first item in files.${ARCH}.newconf
13 maxpartitions 8
14
15 maxusers 2 8 64
16
17 device mainbus { } # no locators (yet?)
18 attach mainbus at root
19
20 include "dev/wscons/files.wscons"
21
22 define obio_norm { [addr = -1], ["no drq" = -1], ["no hsk" = -1] }
23 define obio_scsi5380 { [addr = -1], [drq = -1], [hsk = -1] }
24 device obio: obio_norm, obio_scsi5380
25 attach obio at mainbus
26 file arch/mac68k/obio/obio.c obio
27
28 device adb { }
29 attach adb at obio_norm
30 file arch/mac68k/dev/adb.c adb
31 file arch/mac68k/dev/adbsysasm.s
32 file arch/mac68k/dev/adb_direct.c
33 file arch/mac68k/dev/pm_direct.c
34
35 device aed
36 attach aed at adb
37 file arch/mac68k/dev/aed.c aed needs-flag
38
39 device akbd: wskbddev
40 attach akbd at adb
41 file arch/mac68k/dev/akbd.c akbd needs-flag
42
43 device ams: wsmousedev
44 attach ams at adb
45 file arch/mac68k/dev/ams.c ams needs-flag
46
47 device asc
48 attach asc at obio_norm
49 file arch/mac68k/obio/asc.c asc needs-flag
50
51 device nubus { }
52 attach nubus at mainbus
53 file arch/mac68k/nubus/nubus.c nubus
54
55 define grfbus { }
56 file arch/mac68k/dev/grf_subr.c grfbus
57
58 device intvid: grfbus
59 attach intvid at obio_norm
60 file arch/mac68k/obio/grf_obio.c intvid
61
62 device macvid: grfbus
63 attach macvid at nubus
64 file arch/mac68k/nubus/grf_nubus.c macvid
65
66 device macfb: wsemuldisplaydev, wsrasteremulops
67 attach macfb at grfbus
68 file arch/mac68k/dev/macfb.c macfb needs-flag
69
70 file arch/mac68k/dev/maccons.c akbd & macfb
71
72 #device ite: wsemuldisplaydev
73 #attach ite at wsdisplay
74 #file arch/mac68k/dev/ite_compat.c ite needs-flag
75
76 device ae: ifnet, ether, arp, dp8390nic
77 attach ae at nubus with ae_nubus
78 file arch/mac68k/nubus/if_ae_nubus.c ae_nubus
79 file arch/mac68k/dev/if_ae.c ae
80
81 device mc: ifnet, ether, arp
82 attach mc at obio_norm with mc_obio
83 file arch/mac68k/dev/if_mc.c mc
84 file arch/mac68k/obio/if_mc_obio.c mc_obio
85
86 device sn: ifnet, ether, arp
87 attach sn at obio_norm with sn_obio
88 attach sn at nubus with sn_nubus
89 file arch/mac68k/dev/if_sn.c sn
90 file arch/mac68k/obio/if_sn_obio.c sn_obio
91 file arch/mac68k/nubus/if_sn_nubus.c sn_nubus
92
93 attach sm at nubus with sm_nubus
94 file arch/mac68k/nubus/if_sm_nubus.c sm_nubus
95
96 # Sony floppy disk controller
97 device iwm { drive = -1 }
98 attach iwm at obio_norm
99
100 device fd: disk
101 attach fd at iwm
102 file arch/mac68k/obio/iwm_fd.c fd needs-flag
103 file arch/mac68k/obio/iwm.s fd needs-flag
104
105 include "dev/scsipi/files.scsipi"
106
107 # Option 1 for ncr5380 support
108 device ncrscsi: scsi
109 attach ncrscsi at obio_scsi5380
110 file arch/mac68k/dev/mac68k5380.c ncrscsi needs-flag
111
112 # Option 2 for ncr5380 support
113 device sbc: scsi, ncr5380sbc
114 attach sbc at obio_scsi5380 with sbc_obio
115 file arch/mac68k/dev/sbc.c sbc
116 file arch/mac68k/obio/sbc_obio.c sbc_obio
117
118 attach esp at obio_norm
119 file arch/mac68k/obio/esp.c esp
120
121 #device qsc: scsi, ncr53c9x
122 #attach qsc at nubus
123 #file arch/mac68k/nubus/qsc.c qsc
124
125 device zsc { channel = -1 }
126 attach zsc at obio_norm
127 file arch/mac68k/dev/zs.c zsc needs-flag
128 #file arch/mac68k/dev/z8530sc.c zsc
129 file dev/ic/z8530sc.c zsc
130
131 device zstty: tty
132 attach zstty at zsc
133 file dev/ic/z8530tty.c zstty needs-flag
134 file arch/mac68k/dev/zs_kgdb.c kgdb
135
136 # This one is out of alphabetical order
137 device fpu
138 attach fpu at mainbus
139 file arch/mac68k/mac68k/fpu.c fpu
140
141 file arch/m68k/m68k/db_memrw.c ddb | kgdb
142 include "arch/m68k/fpe/files.fpe"
143
144 file arch/m68k/m68k/bus_dma.c
145 file arch/m68k/m68k/cacheops.c
146
147 # legitimate pseudo-devices
148 defpseudo grf
149 defpseudo ite
150
151 file arch/mac68k/mac68k/autoconf.c
152 file arch/mac68k/mac68k/bus_space.c
153 file arch/mac68k/mac68k/clock.c
154 file arch/mac68k/mac68k/conf.c
155 file arch/mac68k/mac68k/disksubr.c disk
156 file arch/mac68k/mac68k/intr.c
157 file arch/mac68k/mac68k/iop.c
158 file arch/mac68k/mac68k/kgdb_machdep.c kgdb
159 file arch/mac68k/mac68k/machdep.c
160 file arch/mac68k/mac68k/macrom.c
161 file arch/mac68k/mac68k/macromasm.s
162 file arch/mac68k/mac68k/mainbus.c
163 file arch/mac68k/mac68k/mem.c
164 file arch/mac68k/mac68k/pmap.c
165 file arch/mac68k/mac68k/pmap_bootstrap.c compile-with "${NOPROF_C}"
166 file arch/mac68k/mac68k/pram.c
167 file arch/mac68k/mac68k/pramasm.s
168 file arch/mac68k/mac68k/procfs_machdep.c procfs
169 file arch/mac68k/mac68k/psc.c
170 file arch/mac68k/mac68k/sys_machdep.c
171 file arch/mac68k/mac68k/trap.c
172 file arch/mac68k/mac68k/via.c
173 file arch/mac68k/mac68k/vm_machdep.c
174
175 file arch/mac68k/dev/grf_compat.c grf needs-flag
176 file arch/mac68k/dev/ite_compat.c ite needs-flag
177
178 file dev/cons.c
179 file dev/cninit.c
180
181 # Memory Disk for installs
182 # These files are out of order
183 file dev/md_root.c memory_disk_hooks
184
185 major {sd = 4}
186 major {cd = 6}
187 major {md = 13}
188
189 # RAIDframe
190 major {raid = 20}
191
192 # Compatibility modules
193
194 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
195 include "compat/aoutm68k/files.aoutm68k"
196
197 # SunOS Binary Compatibility (COMPAT_SUNOS)
198 include "compat/sunos/files.sunos"
199 file arch/m68k/m68k/sunos_machdep.c compat_sunos
200
201 # SVR4 Binary Compatibility (COMPAT_SVR4)
202 include "compat/svr4/files.svr4"
203
204 # Linux binary compatibility (COMPAT_LINUX)
205 include "compat/linux/files.linux"
206 include "compat/linux/arch/m68k/files.linux_m68k"
207 file arch/m68k/m68k/linux_trap.c compat_linux
208
209 # OSS audio driver compatibility
210 include "compat/ossaudio/files.ossaudio"
211