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