1 # $NetBSD: files.mac68k,v 1.121 2008/02/20 21:43:34 drochner Exp $
3 # mac68k-specific configuration info
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
10 defflag opt_wsdisplay_compat.h WSDISPLAY_COMPAT_ITEFONT
12 # maxpartitions must be first item in files.${ARCH}.newconf
17 device mainbus { } # no locators (yet?)
18 attach mainbus at root
20 device obio { [addr = -1] }
21 attach obio at mainbus
22 file arch/mac68k/obio/obio.c obio
26 file arch/mac68k/dev/adb.c adb
27 file arch/mac68k/dev/adbsysasm.s
28 file arch/mac68k/dev/adb_direct.c
29 file arch/mac68k/dev/pm_direct.c
33 file arch/mac68k/dev/aed.c aed needs-flag
37 file arch/mac68k/dev/akbd.c akbd needs-flag
39 device ams: wsmousedev
41 file arch/mac68k/dev/ams.c ams needs-flag
45 file arch/mac68k/obio/asc.c asc needs-flag
48 attach nubus at mainbus
49 file arch/mac68k/nubus/nubus.c nubus
52 file arch/mac68k/dev/grf_subr.c grfbus
56 file arch/mac68k/obio/grf_obio.c intvid
59 attach macvid at nubus
60 file arch/mac68k/nubus/grf_nubus.c macvid
62 device macfb: wsemuldisplaydev, wsrasteremulops
63 attach macfb at grfbus
64 file arch/mac68k/dev/macfb.c macfb needs-flag
66 file arch/mac68k/dev/maccons.c akbd & macfb
68 #device ite: wsemuldisplaydev
69 #attach ite at wsdisplay
70 #file arch/mac68k/dev/ite_compat.c ite needs-flag
72 device ae: ifnet, ether, arp, dp8390nic
73 attach ae at nubus with ae_nubus
74 file arch/mac68k/nubus/if_ae_nubus.c ae_nubus
75 file arch/mac68k/dev/if_ae.c ae
77 device mc: ifnet, ether, arp
78 attach mc at obio with mc_obio
79 file arch/mac68k/dev/if_mc.c mc
80 file arch/mac68k/obio/if_mc_obio.c mc_obio
82 device sn: ifnet, ether, arp
83 file dev/ic/dp83932.c sn
84 file arch/mac68k/dev/if_sn.c sn
85 attach sn at obio with sn_obio
86 file arch/mac68k/obio/if_sn_obio.c sn_obio
87 attach sn at nubus with sn_nubus
88 file arch/mac68k/nubus/if_sn_nubus.c sn_nubus
90 attach sm at nubus with sm_nubus
91 file arch/mac68k/nubus/if_sm_nubus.c sm_nubus
93 device netdock: ifnet, ether, arp
94 attach netdock at nubus with netdock_nubus
95 file arch/mac68k/nubus/if_netdock_nubus.c netdock_nubus
97 # Sony floppy disk controller
98 device iwm { drive = -1 }
103 file arch/mac68k/obio/iwm_fd.c fd needs-flag
104 file arch/mac68k/obio/iwm.s fd needs-flag
106 include "dev/scsipi/files.scsipi"
108 # Option 1 for ncr5380 support
110 attach ncrscsi at obio
111 file arch/mac68k/dev/mac68k5380.c ncrscsi needs-flag
113 # Option 2 for ncr5380 support
114 device sbc: scsi, ncr5380sbc
115 attach sbc at obio with sbc_obio
116 file arch/mac68k/dev/sbc.c sbc
117 file arch/mac68k/obio/sbc_obio.c sbc_obio
120 file arch/mac68k/obio/esp.c esp
122 #device qsc: scsi, ncr53c9x
124 #file arch/mac68k/nubus/qsc.c qsc
127 # Machine-independent ATA drivers
129 include "dev/ata/files.ata"
131 attach wdc at obio with wdc_obio
132 file arch/mac68k/obio/wdc_obio.c wdc_obio
136 file arch/mac68k/nubus/cpi_nubus.c cpi
138 device zsc { channel = -1 }
140 file arch/mac68k/dev/zs.c zsc needs-flag
141 #file arch/mac68k/dev/z8530sc.c zsc
142 file dev/ic/z8530sc.c zsc
146 file dev/ic/z8530tty.c zstty needs-flag
147 file arch/mac68k/dev/zs_kgdb.c kgdb
149 # legitimate pseudo-devices
153 include "arch/m68k/fpe/files.fpe"
155 file arch/mac68k/mac68k/autoconf.c
156 file arch/mac68k/mac68k/bus_space.c
157 file arch/mac68k/mac68k/clock.c
158 file arch/mac68k/mac68k/conf.c
159 file arch/mac68k/mac68k/disksubr.c disk
160 file arch/mac68k/mac68k/fpu.c
161 file arch/mac68k/mac68k/intr.c
162 file arch/mac68k/mac68k/iop.c
163 file arch/mac68k/mac68k/machdep.c
164 file arch/mac68k/mac68k/macrom.c
165 file arch/mac68k/mac68k/macromasm.s
166 file arch/mac68k/mac68k/mainbus.c
167 file arch/mac68k/mac68k/mem.c
168 file arch/mac68k/mac68k/pmap_bootstrap.c compile-with "${NOPROF_C}"
169 file arch/mac68k/mac68k/pram.c
170 file arch/mac68k/mac68k/pramasm.s
171 file arch/mac68k/mac68k/psc.c
172 file arch/mac68k/mac68k/trap.c
173 file arch/mac68k/mac68k/via.c
174 file arch/m68k/m68k/bus_dma.c
175 file arch/m68k/m68k/cacheops.c
176 file arch/m68k/m68k/db_memrw.c ddb | kgdb
177 file arch/m68k/m68k/kgdb_machdep.c kgdb
178 file arch/m68k/m68k/pmap_motorola.c
179 file arch/m68k/m68k/procfs_machdep.c procfs
180 file arch/m68k/m68k/sys_machdep.c
181 file arch/m68k/m68k/vm_machdep.c
183 file arch/mac68k/dev/grf_compat.c grf needs-flag
184 file arch/mac68k/dev/ite_compat.c ite needs-flag
189 # Memory Disk for installs
190 # These files are out of order
191 file dev/md_root.c memory_disk_hooks
193 # Compatibility modules
195 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
196 include "compat/aoutm68k/files.aoutm68k"
198 # SunOS Binary Compatibility (COMPAT_SUNOS)
199 include "compat/sunos/files.sunos"
200 file arch/m68k/m68k/sunos_machdep.c compat_sunos
202 # SVR4 Binary Compatibility (COMPAT_SVR4)
203 include "compat/svr4/files.svr4"
205 # Linux binary compatibility (COMPAT_LINUX)
206 include "compat/linux/files.linux"
207 include "compat/linux/arch/m68k/files.linux_m68k"
208 file arch/m68k/m68k/linux_trap.c compat_linux
210 # OSS audio driver compatibility
211 include "compat/ossaudio/files.ossaudio"
213 include "arch/mac68k/conf/majors.mac68k"