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