GENERICSBC revision 1.26 1 # $NetBSD: GENERICSBC,v 1.26 2003/10/08 11:10:55 bouyer Exp $
2 #
3 # GENERICSBC
4
5 include "arch/mac68k/conf/std.mac68k"
6
7 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
8
9 #ident "GENERICSBC-$Revision: 1.26 $"
10
11 maxusers 16 # estimated number of users
12
13 # CPU support. At least one is REQUIRED.
14 options M68040
15 options M68030
16 options M68020 # Note: must have 68851 PMMU
17
18 # CPU-related options.
19 options FPSP
20 options FPU_EMULATE
21
22 # Standard system options
23
24 options INSECURE # disable kernel security levels
25
26 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
27 #options NTP # NTP phase/frequency locked loop
28
29 options KTRACE # system call tracing via ktrace(1)
30
31 options SYSVMSG # System V-like message queues
32 options SYSVSEM # System V-like semaphores
33 #options SEMMNI=10 # number of semaphore identifiers
34 #options SEMMNS=60 # number of semaphores in system
35 #options SEMUME=10 # max number of undo entries per process
36 #options SEMMNU=30 # number of undo structures in system
37 options SYSVSHM # System V-like memory sharing
38 #options SHMMAXPGS=1024 # 1024 pages is the default
39
40 options LKM # loadable kernel modules
41
42 options USERCONF # userconf(4) support
43 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
44
45 # Diagnostic/debugging support options
46 #options DIAGNOSTIC # cheap kernel consistency checks
47 #options DEBUG # expensive debugging checks/support
48 options KMEMSTATS # kernel memory statistics (vmstat -m)
49 options DDB # in-kernel debugger
50 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
51 #options KGDB # remote debugger
52 #options KGDB_DEV=0xc01 # kgdb device number (dev_t)
53 #options KGDB_DEVRATE=38400 # baud rate
54 #makeoptions DEBUG="-g" # compile full symbol table
55
56 # Compatibility options
57 #options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
58 #options COMPAT_09 # NetBSD 0.9,
59 options COMPAT_10 # NetBSD 1.0,
60 options COMPAT_11 # NetBSD 1.1,
61 options COMPAT_12 # NetBSD 1.2,
62 options COMPAT_13 # NetBSD 1.3,
63 options COMPAT_14 # NetBSD 1.4,
64 options COMPAT_15 # NetBSD 1.5,
65 options COMPAT_16 # NetBSD 1.6,
66 options COMPAT_43 # and 4.3BSD
67 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
68
69 # The following is needed to run pre-NetBSD 1.6 binaries under ELF.
70 options COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
71 options EXEC_AOUT # support for exec'ing a.out
72
73 #options COMPAT_LINUX # compatibility with Linux/m68k binaries
74 #options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries
75 #options COMPAT_SUNOS # compatibility with SunOS 4.x binaries
76 #options COMPAT_SVR4 # compatibility with SVR4 binaries
77
78 # File systems
79 file-system FFS # UFS
80 file-system EXT2FS # second extended file system (linux)
81 file-system LFS # log-structured file system
82 file-system MFS # memory file system
83 file-system NFS # Network File System client
84 file-system CD9660 # ISO 9660 + Rock Ridge file system
85 file-system MSDOSFS # MS-DOS file system
86 file-system FDESC # /dev/fd
87 file-system KERNFS # /kern
88 file-system NULLFS # loopback file system
89 file-system OVERLAY # overlay file system
90 file-system PORTAL # portal filesystem (still experimental)
91 file-system PROCFS # /proc
92 file-system UMAPFS # NULLFS + uid and gid remapping
93 file-system UNION # union file system
94 file-system CODA # Venus/Coda distributed file system
95
96 # File system options
97 options QUOTA # UFS quotas
98 #options FFS_EI # FFS Endian Independant support
99 options SOFTDEP # FFS soft updates support.
100 options NFSSERVER # Network File System server
101 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
102 # immutable) behave as system flags.
103
104 # Networking options
105 options GATEWAY # packet forwarding
106 options INET # IP + ICMP + TCP + UDP
107 options INET6 # IPV6
108 #options IPSEC # IP security
109 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
110 #options IPSEC_DEBUG # debug for IP security
111 #options MROUTING # IP multicast routing
112 options NS # XNS
113 #options NSIP # XNS tunneling over IP
114 options ISO,TPIP # OSI
115 #options EON # OSI tunneling over IP
116 options CCITT,LLC,HDLC # X.25
117 options NETATALK # AppleTalk networking protocols
118 options PPP_BSDCOMP # BSD-Compress compression support for PPP
119 options PPP_DEFLATE # Deflate compression support for PPP
120 options PPP_FILTER # Active filter support for PPP (requires bpf)
121 options PFIL_HOOKS # pfil(9) packet filter hooks
122 options IPFILTER_LOG # ipmon(8) log support
123 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
124 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
125
126 # These options enable verbose messages for several subsystems.
127 # Warning, these may compile large string tables into the kernel!
128 options SCSIVERBOSE # human readable SCSI error messages
129
130 # wscons options
131 #options WSEMUL_SUN # sun terminal emulation
132 options WSEMUL_VT100 # VT100 / VT220 emulation
133 options WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
134
135 # rcons options; note that 1-bit and 8-bit displays are supported by default.
136 options RCONS_2BPP # Support for 2-bit display
137 options RCONS_4BPP # Support for 4-bit display
138 options RCONS_16BPP # Support for 16-bit display
139
140 # Mac-specific options
141 #options ALTXBUTTONS # Map Opt-{1,2,3} to mouse buttons
142 #options DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
143 options GRF_COMPAT # Include grf compatibility code
144 #options MRG_ADB # Use ROM-based ADB driver
145 options ZS_CONSOLE_ABORT
146
147 options NFS_BOOT_DHCP
148
149 # Kernel root file system and dump configuration.
150 config netbsd root on ? type ?
151
152 #
153 # Device configuration
154 #
155
156 mainbus0 at root
157
158 fpu0 at mainbus? # Floating-Point Coprocessor support
159
160
161 # Basic Bus Support
162
163 # On-board I/O bus support
164 obio0 at mainbus?
165
166 # NuBus support
167 nubus0 at mainbus?
168
169
170 # Console Devices
171
172 # Apple Desktop Bus interface
173 adb0 at obio?
174 aed* at adb? # ADB event device
175 akbd* at adb? # ADB keyboard
176 ams* at adb? # ADB mouse
177
178 # Basic frame buffer support
179 intvid0 at obio? # Internal video hardware
180 macvid* at nubus? # NuBus video card
181
182 # Device-independent frame buffer interface
183 macfb* at intvid?
184 macfb* at macvid?
185
186 # Workstation Console devices
187 wsdisplay* at macfb? console ?
188 wskbd* at akbd? console ?
189 wsmouse* at ams?
190
191
192 # Serial Devices
193
194 # On-board serial interface
195 zsc0 at obio?
196 zstty* at zsc? channel ?
197
198
199 # SCSI Controllers and Devices
200
201 # SCSI controllers
202 # XXX - use only one of ncrscsi or sbc
203 #ncrscsi0 at obio? # SCSI NCR 5380
204 sbc0 at obio? flags 0x1 # MI SCSI NCR 5380
205 esp0 at obio? # SCSI NCR 53C9x
206 esp1 at obio? # SCSI NCR 53C9x
207
208 # SCSI bus support
209 scsibus* at scsi?
210
211 # SCSI devices
212 sd* at scsibus? target ? lun ? # SCSI disk drives
213 st* at scsibus? target ? lun ? # SCSI tape drives
214 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
215 ch* at scsibus? target ? lun ? # SCSI autochangers
216 se* at scsibus? target ? lun ? # SCSI ethernet
217 ss* at scsibus? target ? lun ? # SCSI scanners
218 uk* at scsibus? target ? lun ? # SCSI unknown
219
220 # IDE controller and devices
221 wdc* at obio? flags 0x1000
222 atabus* at wdc? channel ?
223 wd* at atabus? drive ?
224
225
226 # Miscellaneous mass storage devices
227
228 # IWM floppy disk controller
229 iwm0 at obio? # Sony driver (800K GCR)
230 fd* at iwm? drive ?
231
232
233 # Network Interfaces
234
235 # On-board Ethernet controllers
236 sn* at obio? # SONIC-based (DP83932, DP83916)
237 mc* at obio? # MACE-based
238
239 # NuBus Ethernet controllers
240 ae* at nubus? # DP8390-based
241 sn* at nubus? # SONIC-based (DP83932, DP83916)
242 sm* at nubus? # SMC 91cxx-based
243 netdock* at nubus? # Asante NetDock, Newer Ether MicroDock
244
245 nsphy* at mii? phy ?
246 ukphy* at mii? phy ?
247
248 # Audio Devices
249
250 # On-board audio hardware
251 asc0 at obio? # ASC/EASC audio
252
253 # Pseudo-Devices
254
255 # disk/mass storage pseudo-devices
256 pseudo-device ccd 4 # concatenated/striped disk devices
257 #pseudo-device cgd 4 # cryptographic disk devices
258 #pseudo-device raid 8 # RAIDframe disk driver
259 #options RAID_AUTOCONFIG # auto-configuration of RAID components
260 # Options to enable various other RAIDframe RAID types.
261 # options RF_INCLUDE_EVENODD=1
262 # options RF_INCLUDE_RAID5_RS=1
263 # options RF_INCLUDE_PARITYLOGGING=1
264 # options RF_INCLUDE_CHAINDECLUSTER=1
265 # options RF_INCLUDE_INTERDECLUSTER=1
266 # options RF_INCLUDE_PARITY_DECLUSTERING=1
267 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
268 pseudo-device md 1 # memory disk device (ramdisk)
269 pseudo-device vcoda 1 # Venus/Coda distributed file system
270 pseudo-device vnd 4 # disk-like interface to files
271
272 # network pseudo-devices
273 pseudo-device bpfilter 12 # Berkeley packet filter
274 pseudo-device ipfilter # IP filter (firewall) and NAT
275 pseudo-device loop # network loopback
276 pseudo-device ppp 2 # Point-to-Point Protocol
277 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
278 pseudo-device sl 2 # Serial Line IP
279 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
280 pseudo-device tun 2 # network tunneling over tty
281 #pseudo-device gre 2 # generic L3 over IP tunnel
282 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
283 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
284 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
285 pseudo-device vlan # IEEE 802.1q encapsulation
286 pseudo-device bridge # simple inter-network bridging
287
288 # miscellaneous pseudo-devices
289 pseudo-device grf 2 # grf emulation for wscons
290 pseudo-device ite 1 # ite emulation for wscons
291 pseudo-device pty # pseudo-terminals
292 #pseudo-device tb 1 # tablet line discipline
293 pseudo-device clockctl # user control of clock subsystem
294
295 # random number generator pseudo-device
296 pseudo-device rnd # /dev/random and in-kernel generator
297 #options RND_COM # use "com" randomness as well (BROKEN)
298