GENERIC revision 1.138.2.8 1 1.138.2.8 skrll # $NetBSD: GENERIC,v 1.138.2.8 2005/03/04 16:38:47 skrll Exp $
2 1.21 cgd #
3 1.117 gmcgarry # GENERIC machine description file
4 1.117 gmcgarry #
5 1.117 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.117 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.117 gmcgarry # and device drivers, but should be useful for most applications.
8 1.117 gmcgarry #
9 1.117 gmcgarry # The machine description file can be customised for your specific
10 1.117 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.117 gmcgarry #
12 1.117 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.117 gmcgarry # man page.
14 1.117 gmcgarry #
15 1.117 gmcgarry # For further information on hardware support for this architecture, see
16 1.117 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.117 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.117 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.117 gmcgarry # device.
20 1.1 briggs
21 1.117 gmcgarry include "arch/mac68k/conf/std.mac68k"
22 1.95 hubertf
23 1.125 atatat options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.125 atatat
25 1.138.2.8 skrll #ident "GENERIC-$Revision: 1.138.2.8 $"
26 1.2 briggs
27 1.74 scottr maxusers 16 # estimated number of users
28 1.71 scottr
29 1.71 scottr # CPU support. At least one is REQUIRED.
30 1.71 scottr options M68040
31 1.71 scottr options M68030
32 1.71 scottr options M68020 # Note: must have 68851 PMMU
33 1.71 scottr
34 1.71 scottr # CPU-related options.
35 1.71 scottr options FPSP
36 1.71 scottr options FPU_EMULATE
37 1.2 briggs
38 1.2 briggs # Standard system options
39 1.71 scottr
40 1.71 scottr options INSECURE # disable kernel security levels
41 1.71 scottr
42 1.71 scottr options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
43 1.71 scottr #options NTP # NTP phase/frequency locked loop
44 1.71 scottr
45 1.71 scottr options KTRACE # system call tracing via ktrace(1)
46 1.132 provos options SYSTRACE # system call vetting via systrace(1)
47 1.71 scottr
48 1.71 scottr options SYSVMSG # System V-like message queues
49 1.71 scottr options SYSVSEM # System V-like semaphores
50 1.115 lukem #options SEMMNI=10 # number of semaphore identifiers
51 1.115 lukem #options SEMMNS=60 # number of semaphores in system
52 1.115 lukem #options SEMUME=10 # max number of undo entries per process
53 1.115 lukem #options SEMMNU=30 # number of undo structures in system
54 1.71 scottr options SYSVSHM # System V-like memory sharing
55 1.54 scottr #options SHMMAXPGS=1024 # 1024 pages is the default
56 1.138.2.1 skrll options P1003_1B_SEMAPHORE # p1003.1b semaphore support
57 1.71 scottr
58 1.54 scottr options LKM # loadable kernel modules
59 1.120 jdolecek
60 1.129 lukem options USERCONF # userconf(4) support
61 1.120 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
62 1.138.2.1 skrll options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
63 1.134 junyoung
64 1.135 wiz # Enable experimental buffer queue strategy for better responsiveness under
65 1.134 junyoung # high disk I/O load. Use it with caution - it's not proven to be stable yet.
66 1.134 junyoung #options NEW_BUFQ_STRATEGY
67 1.54 scottr
68 1.71 scottr # Diagnostic/debugging support options
69 1.121 fredb #options DIAGNOSTIC # cheap kernel consistency checks
70 1.71 scottr #options DEBUG # expensive debugging checks/support
71 1.71 scottr options KMEMSTATS # kernel memory statistics (vmstat -m)
72 1.114 lukem options DDB # in-kernel debugger
73 1.70 lukem #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
74 1.114 lukem #options KGDB # remote debugger
75 1.114 lukem #options KGDB_DEV=0xc01 # kgdb device number (dev_t)
76 1.114 lukem #options KGDB_DEVRATE=38400 # baud rate
77 1.71 scottr #makeoptions DEBUG="-g" # compile full symbol table
78 1.54 scottr
79 1.54 scottr # Compatibility options
80 1.71 scottr #options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
81 1.71 scottr #options COMPAT_09 # NetBSD 0.9,
82 1.71 scottr options COMPAT_10 # NetBSD 1.0,
83 1.71 scottr options COMPAT_11 # NetBSD 1.1,
84 1.71 scottr options COMPAT_12 # NetBSD 1.2,
85 1.72 kleink options COMPAT_13 # NetBSD 1.3,
86 1.89 augustss options COMPAT_14 # NetBSD 1.4,
87 1.122 fredb options COMPAT_15 # NetBSD 1.5,
88 1.138.2.1 skrll options COMPAT_16 # NetBSD 1.6,
89 1.138.2.8 skrll options COMPAT_20 # NetBSD 2.0,
90 1.71 scottr options COMPAT_43 # and 4.3BSD
91 1.111 abs #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
92 1.71 scottr
93 1.121 fredb # The following is needed to run pre-NetBSD 1.6 binaries under ELF.
94 1.123 shiba options COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
95 1.123 shiba options EXEC_AOUT # support for exec'ing a.out
96 1.121 fredb
97 1.121 fredb #options COMPAT_LINUX # compatibility with Linux/m68k binaries
98 1.121 fredb #options COMPAT_M68K4K # compatibility with NetBSD/m68k4k binaries
99 1.121 fredb #options COMPAT_SUNOS # compatibility with SunOS 4.x binaries
100 1.86 kleink #options COMPAT_SVR4 # compatibility with SVR4 binaries
101 1.138.2.4 skrll options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
102 1.2 briggs
103 1.65 scottr # File systems
104 1.71 scottr file-system FFS # UFS
105 1.71 scottr file-system EXT2FS # second extended file system (linux)
106 1.71 scottr file-system LFS # log-structured file system
107 1.71 scottr file-system MFS # memory file system
108 1.71 scottr file-system NFS # Network File System client
109 1.71 scottr file-system CD9660 # ISO 9660 + Rock Ridge file system
110 1.71 scottr file-system MSDOSFS # MS-DOS file system
111 1.71 scottr file-system FDESC # /dev/fd
112 1.71 scottr file-system KERNFS # /kern
113 1.71 scottr file-system NULLFS # loopback file system
114 1.94 wrstuden file-system OVERLAY # overlay file system
115 1.71 scottr file-system PORTAL # portal filesystem (still experimental)
116 1.71 scottr file-system PROCFS # /proc
117 1.71 scottr file-system UMAPFS # NULLFS + uid and gid remapping
118 1.71 scottr file-system UNION # union file system
119 1.90 fredb file-system CODA # Venus/Coda distributed file system
120 1.55 thorpej
121 1.65 scottr # File system options
122 1.71 scottr options QUOTA # UFS quotas
123 1.75 bouyer #options FFS_EI # FFS Endian Independant support
124 1.103 fvdl options SOFTDEP # FFS soft updates support.
125 1.138.2.6 skrll #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
126 1.71 scottr options NFSSERVER # Network File System server
127 1.138.2.8 skrll #options FFS_NO_SNAPSHOT # ffs snapshots
128 1.71 scottr #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
129 1.71 scottr # immutable) behave as system flags.
130 1.92 itojun
131 1.7 briggs # Networking options
132 1.71 scottr options GATEWAY # packet forwarding
133 1.71 scottr options INET # IP + ICMP + TCP + UDP
134 1.92 itojun options INET6 # IPV6
135 1.92 itojun #options IPSEC # IP security
136 1.92 itojun #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
137 1.92 itojun #options IPSEC_DEBUG # debug for IP security
138 1.71 scottr #options MROUTING # IP multicast routing
139 1.138.2.2 skrll #options PIM # Protocol Independent Multicast
140 1.71 scottr options NS # XNS
141 1.71 scottr #options NSIP # XNS tunneling over IP
142 1.71 scottr options ISO,TPIP # OSI
143 1.105 sommerfe #options EON # OSI tunneling over IP
144 1.71 scottr options CCITT,LLC,HDLC # X.25
145 1.71 scottr options NETATALK # AppleTalk networking protocols
146 1.88 christos options PPP_BSDCOMP # BSD-Compress compression support for PPP
147 1.88 christos options PPP_DEFLATE # Deflate compression support for PPP
148 1.88 christos options PPP_FILTER # Active filter support for PPP (requires bpf)
149 1.88 christos options PFIL_HOOKS # pfil(9) packet filter hooks
150 1.121 fredb options IPFILTER_LOG # ipmon(8) log support
151 1.131 martti #options IPFILTER_DEFAULT_BLOCK # block all packets by default
152 1.111 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
153 1.71 scottr
154 1.138.2.1 skrll #options ALTQ # Manipulate network interfaces' output queues
155 1.138.2.1 skrll #options ALTQ_BLUE # Stochastic Fair Blue
156 1.138.2.1 skrll #options ALTQ_CBQ # Class-Based Queueing
157 1.138.2.1 skrll #options ALTQ_CDNR # Diffserv Traffic Conditioner
158 1.138.2.1 skrll #options ALTQ_FIFOQ # First-In First-Out Queue
159 1.138.2.1 skrll #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
160 1.138.2.1 skrll #options ALTQ_HFSC # Hierarchical Fair Service Curve
161 1.138.2.1 skrll #options ALTQ_LOCALQ # Local queueing discipline
162 1.138.2.1 skrll #options ALTQ_PRIQ # Priority Queueing
163 1.138.2.1 skrll #options ALTQ_RED # Random Early Detection
164 1.138.2.1 skrll #options ALTQ_RIO # RED with IN/OUT
165 1.138.2.1 skrll #options ALTQ_WFQ # Weighted Fair Queueing
166 1.138.2.1 skrll
167 1.71 scottr # These options enable verbose messages for several subsystems.
168 1.71 scottr # Warning, these may compile large string tables into the kernel!
169 1.71 scottr options SCSIVERBOSE # human readable SCSI error messages
170 1.1 briggs
171 1.96 scottr # wscons options
172 1.96 scottr #options WSEMUL_SUN # sun terminal emulation
173 1.96 scottr options WSEMUL_VT100 # VT100 / VT220 emulation
174 1.96 scottr options WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
175 1.96 scottr
176 1.96 scottr # rcons options; note that 1-bit and 8-bit displays are supported by default.
177 1.96 scottr options RCONS_2BPP # Support for 2-bit display
178 1.96 scottr options RCONS_4BPP # Support for 4-bit display
179 1.96 scottr options RCONS_16BPP # Support for 16-bit display
180 1.96 scottr
181 1.9 briggs # Mac-specific options
182 1.79 scottr #options ALTXBUTTONS # Map Opt-{1,2,3} to mouse buttons
183 1.87 briggs #options DISABLE_EXT_CACHE # If really paranoid, disable IIci ext. cache
184 1.79 scottr options GRF_COMPAT # Include grf compatibility code
185 1.77 scottr #options MRG_ADB # Use ROM-based ADB driver
186 1.79 scottr options ZS_CONSOLE_ABORT
187 1.84 scottr
188 1.93 scottr options NFS_BOOT_DHCP
189 1.71 scottr
190 1.71 scottr # Kernel root file system and dump configuration.
191 1.55 thorpej config netbsd root on ? type ?
192 1.1 briggs
193 1.71 scottr #
194 1.71 scottr # Device configuration
195 1.71 scottr #
196 1.71 scottr
197 1.71 scottr mainbus0 at root
198 1.71 scottr
199 1.71 scottr fpu0 at mainbus? # Floating-Point Coprocessor support
200 1.71 scottr
201 1.71 scottr
202 1.71 scottr # Basic Bus Support
203 1.71 scottr
204 1.71 scottr # On-board I/O bus support
205 1.71 scottr obio0 at mainbus?
206 1.71 scottr
207 1.71 scottr # NuBus support
208 1.71 scottr nubus0 at mainbus?
209 1.71 scottr
210 1.71 scottr
211 1.71 scottr # Console Devices
212 1.71 scottr
213 1.71 scottr # Apple Desktop Bus interface
214 1.80 ender adb0 at obio?
215 1.80 ender aed* at adb? # ADB event device
216 1.96 scottr akbd* at adb? # ADB keyboard
217 1.96 scottr ams* at adb? # ADB mouse
218 1.71 scottr
219 1.71 scottr # Basic frame buffer support
220 1.71 scottr intvid0 at obio? # Internal video hardware
221 1.71 scottr macvid* at nubus? # NuBus video card
222 1.71 scottr
223 1.71 scottr # Device-independent frame buffer interface
224 1.96 scottr macfb* at intvid?
225 1.96 scottr macfb* at macvid?
226 1.71 scottr
227 1.96 scottr # Workstation Console devices
228 1.99 scottr wsdisplay* at macfb? console ?
229 1.99 scottr wskbd* at akbd? console ?
230 1.99 scottr wsmouse* at ams?
231 1.71 scottr
232 1.71 scottr
233 1.71 scottr # Serial Devices
234 1.71 scottr
235 1.71 scottr # On-board serial interface
236 1.71 scottr zsc0 at obio?
237 1.71 scottr zstty* at zsc? channel ?
238 1.71 scottr
239 1.71 scottr
240 1.71 scottr # SCSI Controllers and Devices
241 1.71 scottr
242 1.71 scottr # SCSI controllers
243 1.71 scottr # XXX - use only one of ncrscsi or sbc
244 1.138.2.5 skrll ncrscsi0 at obio? addr 0 # SCSI NCR 5380
245 1.138.2.5 skrll #sbc0 at obio? addr 0 flags 0x1 # MI SCSI NCR 5380
246 1.138.2.5 skrll esp0 at obio? addr 0 # SCSI NCR 53C9x
247 1.138.2.5 skrll esp1 at obio? addr 1 # SCSI NCR 53C9x
248 1.71 scottr
249 1.71 scottr # SCSI bus support
250 1.71 scottr scsibus* at scsi?
251 1.71 scottr
252 1.71 scottr # SCSI devices
253 1.71 scottr sd* at scsibus? target ? lun ? # SCSI disk drives
254 1.71 scottr st* at scsibus? target ? lun ? # SCSI tape drives
255 1.71 scottr cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
256 1.71 scottr ch* at scsibus? target ? lun ? # SCSI autochangers
257 1.71 scottr se* at scsibus? target ? lun ? # SCSI ethernet
258 1.71 scottr ss* at scsibus? target ? lun ? # SCSI scanners
259 1.71 scottr uk* at scsibus? target ? lun ? # SCSI unknown
260 1.126 shiba
261 1.126 shiba # IDE controller and devices
262 1.126 shiba wdc* at obio? flags 0x1000
263 1.138.2.1 skrll atabus* at ata?
264 1.138.2.1 skrll wd* at atabus? drive ?
265 1.84 scottr
266 1.84 scottr
267 1.84 scottr # Miscellaneous mass storage devices
268 1.84 scottr
269 1.84 scottr # IWM floppy disk controller
270 1.84 scottr iwm0 at obio? # Sony driver (800K GCR)
271 1.84 scottr fd* at iwm? drive ?
272 1.71 scottr
273 1.71 scottr
274 1.71 scottr # Network Interfaces
275 1.71 scottr
276 1.71 scottr # On-board Ethernet controllers
277 1.71 scottr sn* at obio? # SONIC-based (DP83932, DP83916)
278 1.71 scottr mc* at obio? # MACE-based
279 1.71 scottr
280 1.71 scottr # NuBus Ethernet controllers
281 1.71 scottr ae* at nubus? # DP8390-based
282 1.71 scottr sn* at nubus? # SONIC-based (DP83932, DP83916)
283 1.106 briggs sm* at nubus? # SMC 91cxx-based
284 1.128 itojun netdock* at nubus? # Asante NetDock, Newer Ether MicroDock
285 1.71 scottr
286 1.106 briggs nsphy* at mii? phy ?
287 1.106 briggs ukphy* at mii? phy ?
288 1.71 scottr
289 1.71 scottr # Audio Devices
290 1.71 scottr
291 1.71 scottr # On-board audio hardware
292 1.71 scottr asc0 at obio? # ASC/EASC audio
293 1.71 scottr
294 1.71 scottr # Pseudo-Devices
295 1.71 scottr
296 1.71 scottr # disk/mass storage pseudo-devices
297 1.71 scottr pseudo-device ccd 4 # concatenated/striped disk devices
298 1.133 elric #pseudo-device cgd 4 # cryptographic disk devices
299 1.119 oster #pseudo-device raid 8 # RAIDframe disk driver
300 1.98 simonb #options RAID_AUTOCONFIG # auto-configuration of RAID components
301 1.119 oster # Options to enable various other RAIDframe RAID types.
302 1.119 oster # options RF_INCLUDE_EVENODD=1
303 1.119 oster # options RF_INCLUDE_RAID5_RS=1
304 1.119 oster # options RF_INCLUDE_PARITYLOGGING=1
305 1.119 oster # options RF_INCLUDE_CHAINDECLUSTER=1
306 1.119 oster # options RF_INCLUDE_INTERDECLUSTER=1
307 1.119 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
308 1.119 oster # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
309 1.138.2.6 skrll pseudo-device fss 4 # file system snapshot device
310 1.71 scottr pseudo-device md 1 # memory disk device (ramdisk)
311 1.90 fredb pseudo-device vcoda 1 # Venus/Coda distributed file system
312 1.71 scottr pseudo-device vnd 4 # disk-like interface to files
313 1.71 scottr
314 1.71 scottr # network pseudo-devices
315 1.71 scottr pseudo-device bpfilter 12 # Berkeley packet filter
316 1.71 scottr pseudo-device ipfilter # IP filter (firewall) and NAT
317 1.71 scottr pseudo-device loop # network loopback
318 1.71 scottr pseudo-device ppp 2 # Point-to-Point Protocol
319 1.118 martin pseudo-device pppoe # PPP over Ethernet (RFC 2516)
320 1.71 scottr pseudo-device sl 2 # Serial Line IP
321 1.71 scottr #pseudo-device strip 2 # Starmode Radio IP (Metricom)
322 1.71 scottr pseudo-device tun 2 # network tunneling over tty
323 1.138.2.5 skrll pseudo-device tap # virtual Ethernet
324 1.82 hwr #pseudo-device gre 2 # generic L3 over IP tunnel
325 1.92 itojun pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
326 1.92 itojun #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
327 1.100 itojun #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
328 1.109 bouyer pseudo-device vlan # IEEE 802.1q encapsulation
329 1.116 atatat pseudo-device bridge # simple inter-network bridging
330 1.136 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
331 1.71 scottr
332 1.71 scottr # miscellaneous pseudo-devices
333 1.96 scottr pseudo-device grf 2 # grf emulation for wscons
334 1.96 scottr pseudo-device ite 1 # ite emulation for wscons
335 1.108 jdolecek pseudo-device pty # pseudo-terminals
336 1.71 scottr #pseudo-device tb 1 # tablet line discipline
337 1.127 lukem pseudo-device clockctl # user control of clock subsystem
338 1.71 scottr
339 1.101 fredb # random number generator pseudo-device
340 1.101 fredb pseudo-device rnd # /dev/random and in-kernel generator
341 1.71 scottr #options RND_COM # use "com" randomness as well (BROKEN)
342 1.138 ragge pseudo-device ksyms # /dev/ksyms
343 1.138.2.1 skrll #pseudo-device pf # PF packet filter
344 1.138.2.1 skrll #pseudo-device pflog # PF log if
345