GENERICSBC revision 1.45 1 # $NetBSD: GENERICSBC,v 1.45 2005/07/30 06:35:36 yamt 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.45 $"
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 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
40
41 options LKM # loadable kernel modules
42
43 options USERCONF # userconf(4) support
44 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
45 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
46
47 # Diagnostic/debugging support options
48 #options DIAGNOSTIC # cheap kernel consistency checks
49 #options DEBUG # expensive debugging checks/support
50 options KMEMSTATS # kernel memory statistics (vmstat -m)
51 options DDB # in-kernel debugger
52 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
53 #options KGDB # remote debugger
54 #options KGDB_DEV=0xc01 # kgdb device number (dev_t)
55 #options KGDB_DEVRATE=38400 # baud rate
56 #makeoptions DEBUG="-g" # compile full symbol table
57
58 # Compatibility options
59 #options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
60 #options COMPAT_09 # NetBSD 0.9,
61 options COMPAT_10 # NetBSD 1.0,
62 options COMPAT_11 # NetBSD 1.1,
63 options COMPAT_12 # NetBSD 1.2,
64 options COMPAT_13 # NetBSD 1.3,
65 options COMPAT_14 # NetBSD 1.4,
66 options COMPAT_15 # NetBSD 1.5,
67 options COMPAT_16 # NetBSD 1.6,
68 options COMPAT_20 # NetBSD 2.0,
69 options COMPAT_43 # and 4.3BSD
70 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
71
72 # The following is needed to run pre-NetBSD 1.6 binaries under ELF.
73 options COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
74 options EXEC_AOUT # support for exec'ing a.out
75
76 #options COMPAT_LINUX # compatibility with Linux/m68k binaries
77 #options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries
78 #options COMPAT_SUNOS # compatibility with SunOS 4.x binaries
79 #options COMPAT_SVR4 # compatibility with SVR4 binaries
80 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
81
82 # File systems
83 file-system FFS # UFS
84 file-system EXT2FS # second extended file system (linux)
85 file-system LFS # log-structured file system
86 file-system MFS # memory file system
87 file-system NFS # Network File System client
88 file-system CD9660 # ISO 9660 + Rock Ridge file system
89 file-system MSDOSFS # MS-DOS file system
90 file-system FDESC # /dev/fd
91 file-system KERNFS # /kern
92 file-system NULLFS # loopback file system
93 file-system OVERLAY # overlay file system
94 file-system PORTAL # portal filesystem (still experimental)
95 file-system PROCFS # /proc
96 file-system UMAPFS # NULLFS + uid and gid remapping
97 file-system UNION # union file system
98 file-system CODA # Venus/Coda distributed file system
99 #file-system PTYFS # experimental - /dev/ptm support
100
101 # File system options
102 options QUOTA # UFS quotas
103 #options FFS_EI # FFS Endian Independant support
104 options SOFTDEP # FFS soft updates support.
105 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
106 options NFSSERVER # Network File System server
107 #options FFS_NO_SNAPSHOT # ffs snapshots
108 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
109 # immutable) behave as system flags.
110
111 # Networking options
112 options GATEWAY # packet forwarding
113 options INET # IP + ICMP + TCP + UDP
114 options INET6 # IPV6
115 #options IPSEC # IP security
116 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
117 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
118 #options IPSEC_DEBUG # debug for IP security
119 #options MROUTING # IP multicast routing
120 #options PIM # Protocol Independent Multicast
121 options NS # XNS
122 #options NSIP # XNS tunneling over IP
123 options ISO,TPIP # OSI
124 #options EON # OSI tunneling over IP
125 options CCITT,LLC,HDLC # X.25
126 options NETATALK # AppleTalk networking protocols
127 options PPP_BSDCOMP # BSD-Compress compression support for PPP
128 options PPP_DEFLATE # Deflate compression support for PPP
129 options PPP_FILTER # Active filter support for PPP (requires bpf)
130 options PFIL_HOOKS # pfil(9) packet filter hooks
131 options IPFILTER_LOG # ipmon(8) log support
132 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
133 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
134
135 #options ALTQ # Manipulate network interfaces' output queues
136 #options ALTQ_BLUE # Stochastic Fair Blue
137 #options ALTQ_CBQ # Class-Based Queueing
138 #options ALTQ_CDNR # Diffserv Traffic Conditioner
139 #options ALTQ_FIFOQ # First-In First-Out Queue
140 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
141 #options ALTQ_HFSC # Hierarchical Fair Service Curve
142 #options ALTQ_LOCALQ # Local queueing discipline
143 #options ALTQ_PRIQ # Priority Queueing
144 #options ALTQ_RED # Random Early Detection
145 #options ALTQ_RIO # RED with IN/OUT
146 #options ALTQ_WFQ # Weighted Fair Queueing
147
148 # These options enable verbose messages for several subsystems.
149 # Warning, these may compile large string tables into the kernel!
150 options SCSIVERBOSE # human readable SCSI error messages
151
152 # wscons options
153 #options WSEMUL_SUN # sun terminal emulation
154 options WSEMUL_VT100 # VT100 / VT220 emulation
155 options WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
156
157 # rcons options; note that 1-bit and 8-bit displays are supported by default.
158 options RCONS_2BPP # Support for 2-bit display
159 options RCONS_4BPP # Support for 4-bit display
160 options RCONS_16BPP # Support for 16-bit display
161
162 # Mac-specific options
163 #options ALTXBUTTONS # Map Opt-{1,2,3} to mouse buttons
164 #options DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
165 options GRF_COMPAT # Include grf compatibility code
166 #options MRG_ADB # Use ROM-based ADB driver
167 options ZS_CONSOLE_ABORT
168
169 options NFS_BOOT_DHCP
170
171 # Kernel root file system and dump configuration.
172 config netbsd root on ? type ?
173
174 #
175 # Device configuration
176 #
177
178 mainbus0 at root
179
180 fpu0 at mainbus? # Floating-Point Coprocessor support
181
182
183 # Basic Bus Support
184
185 # On-board I/O bus support
186 obio0 at mainbus?
187
188 # NuBus support
189 nubus0 at mainbus?
190
191
192 # Console Devices
193
194 # Apple Desktop Bus interface
195 adb0 at obio?
196 aed* at adb? # ADB event device
197 akbd* at adb? # ADB keyboard
198 ams* at adb? # ADB mouse
199
200 # Basic frame buffer support
201 intvid0 at obio? # Internal video hardware
202 macvid* at nubus? # NuBus video card
203
204 # Device-independent frame buffer interface
205 macfb* at intvid?
206 macfb* at macvid?
207
208 # Workstation Console devices
209 wsdisplay* at macfb? console ?
210 wskbd* at akbd? console ?
211 wsmouse* at ams?
212
213
214 # Serial Devices
215
216 # On-board serial interface
217 zsc0 at obio?
218 zstty* at zsc? channel ?
219
220
221 # SCSI Controllers and Devices
222
223 # SCSI controllers
224 # XXX - use only one of ncrscsi or sbc
225 #ncrscsi0 at obio? addr 0 # SCSI NCR 5380
226 sbc0 at obio? addr 0 flags 0x1 # MI SCSI NCR 5380
227 esp0 at obio? addr 0 # SCSI NCR 53C9x
228 esp1 at obio? addr 1 # SCSI NCR 53C9x
229
230 # SCSI bus support
231 scsibus* at scsi?
232
233 # SCSI devices
234 sd* at scsibus? target ? lun ? # SCSI disk drives
235 st* at scsibus? target ? lun ? # SCSI tape drives
236 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
237 ch* at scsibus? target ? lun ? # SCSI autochangers
238 se* at scsibus? target ? lun ? # SCSI ethernet
239 ss* at scsibus? target ? lun ? # SCSI scanners
240 uk* at scsibus? target ? lun ? # SCSI unknown
241
242 # IDE controller and devices
243 wdc* at obio? flags 0x1000
244 atabus* at ata?
245 wd* at atabus? drive ?
246
247
248 # Miscellaneous mass storage devices
249
250 # IWM floppy disk controller
251 iwm0 at obio? # Sony driver (800K GCR)
252 fd* at iwm? drive ?
253
254
255 # Network Interfaces
256
257 # On-board Ethernet controllers
258 sn* at obio? # SONIC-based (DP83932, DP83916)
259 mc* at obio? # MACE-based
260
261 # NuBus Ethernet controllers
262 ae* at nubus? # DP8390-based
263 sn* at nubus? # SONIC-based (DP83932, DP83916)
264 sm* at nubus? # SMC 91cxx-based
265 netdock* at nubus? # Asante NetDock, Newer Ether MicroDock
266
267 nsphy* at mii? phy ?
268 ukphy* at mii? phy ?
269
270 # Audio Devices
271
272 # On-board audio hardware
273 asc0 at obio? # ASC/EASC audio
274
275 # Pseudo-Devices
276
277 # disk/mass storage pseudo-devices
278 pseudo-device ccd 4 # concatenated/striped disk devices
279 #pseudo-device cgd 4 # cryptographic disk devices
280 #pseudo-device raid 8 # RAIDframe disk driver
281 #options RAID_AUTOCONFIG # auto-configuration of RAID components
282 # Options to enable various other RAIDframe RAID types.
283 # options RF_INCLUDE_EVENODD=1
284 # options RF_INCLUDE_RAID5_RS=1
285 # options RF_INCLUDE_PARITYLOGGING=1
286 # options RF_INCLUDE_CHAINDECLUSTER=1
287 # options RF_INCLUDE_INTERDECLUSTER=1
288 # options RF_INCLUDE_PARITY_DECLUSTERING=1
289 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
290 pseudo-device fss 4 # file system snapshot device
291 pseudo-device md 1 # memory disk device (ramdisk)
292 pseudo-device vcoda 1 # Venus/Coda distributed file system
293 pseudo-device vnd 4 # disk-like interface to files
294 #options VND_COMPRESSION # compressed vnd(4)
295
296 # network pseudo-devices
297 pseudo-device bpfilter 12 # Berkeley packet filter
298 pseudo-device ipfilter # IP filter (firewall) and NAT
299 pseudo-device loop # network loopback
300 pseudo-device ppp 2 # Point-to-Point Protocol
301 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
302 pseudo-device sl 2 # Serial Line IP
303 #pseudo-device strip 2 # Starmode Radio IP (Metricom)
304 pseudo-device tun 2 # network tunneling over tty
305 pseudo-device tap # virtual Ethernet
306 #pseudo-device gre 2 # generic L3 over IP tunnel
307 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
308 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
309 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
310 pseudo-device vlan # IEEE 802.1q encapsulation
311 pseudo-device bridge # simple inter-network bridging
312
313 # miscellaneous pseudo-devices
314 pseudo-device grf 2 # grf emulation for wscons
315 pseudo-device ite 1 # ite emulation for wscons
316 pseudo-device pty # pseudo-terminals
317 #pseudo-device tb 1 # tablet line discipline
318 pseudo-device clockctl # user control of clock subsystem
319
320 # random number generator pseudo-device
321 pseudo-device rnd # /dev/random and in-kernel generator
322 #options RND_COM # use "com" randomness as well (BROKEN)
323
324 options VMSWAP # Swap device/file support
325