GENERIC revision 1.73 1 # $NetBSD: GENERIC,v 1.73 2002/01/19 18:45:14 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/x68k/conf/std.x68k"
22
23 #ident "GENERIC-$Revision: 1.73 $"
24
25 maxusers 8
26
27 ## System kernel configuration. See options(4) for more detail.
28
29
30 ## Options for variants of the m68k MPU
31 ## you must have at least the correct one; REQUIRED
32 options M68030
33 options M68040
34 options M68060
35 ## If you want an optimized kernel for a specific processor, use either:
36 #makeoptions CMACHFLAGS="-m68030"
37 #makeoptions CMACHFLAGS="-m68040 -Wa,-m68030 -Wa,-m68851"
38 #makeoptions CMACHFLAGS="-m68060 -Wa,-m68030 -Wa,-m68851"
39
40
41 #### System options specific to the x68k port
42
43 options EXTENDED_MEMORY # support for >16MB memory
44 options FPU_EMULATE # software fpu emulation for MC68030
45 options FPSP # floating point emulation for MC68040
46 options M060SP # int/fp emulation for MC68060
47 #options JUPITER # support for "Jupiter-X" accelerator
48 #options MAPPEDCOPY # use page mapping for large copyin/copyout
49 #options ZSCONSOLE,ZSCN_SPEED="9600" # use serial console
50
51
52 #### System options that are the same for all ports
53
54 ## Root device configuration: change the ?'s if you are going to use a
55 ## nonstandard root partition (other than where the kernel is booted from)
56 ## and/or nonstandard root type (not ffs or nfs). Normally this can be
57 ## automagically determined at boot time.
58
59 config netbsd root on ? type ?
60 #config netbsd root on sd0 type ffs
61
62 ## RTC is offset from GMT; -540 means JST-9
63 options RTC_OFFSET=-540 # hardware clock is this many mins. west of GMT
64
65 ## System call tracing (see ktrace(1)).
66 options KTRACE
67
68 ## Collect statistics on kernel malloc's and free's. This does have a
69 ## significant performance hit on slower machines, so it is intended for
70 ## diagnostic use only.
71 #options KMEMSTATS
72
73 ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
74 options SYSVMSG # System V message queues
75 options SYSVSEM # System V semaphores
76 #options SEMMNI=10 # number of semaphore identifiers
77 #options SEMMNS=60 # number of semaphores in system
78 #options SEMUME=10 # max number of undo entries per process
79 #options SEMMNU=30 # number of undo structures in system
80 options SYSVSHM # System V shared memory
81 #options SHMMAXPGS=1024 # 1024 pages is the default
82
83 ## Loadable kernel module support
84 #options LKM
85
86 ## NFS boot options; not supported currently: needs nfsboot program
87 #options NFS_BOOT_BOOTPARAM
88 #options NFS_BOOT_BOOTP
89 #options NFS_BOOT_DHCP
90
91 #### Debugging options
92
93 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
94 ## serial console break or keyboard reset, where the PROM would normally
95 ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
96 #options DDB # kernel dynamic debugger
97 #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
98 #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
99 #options PANICBUTTON # interrupt switch invokes DDB
100
101 ## You may also use gdb, on another computer connected to this machine over
102 ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
103 ## KGDB_DEV is a dev_t encoded device number of the serial port to use.
104 ## KGDB is not supported for now.
105 #options KGDB # support for kernel gdb
106 #options KGDB_DEV=0xc00 # kgdb device number
107 #options KGDB_DEVRATE=9600 # baud rate
108
109 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
110 ## such that gdb(1) can be used on a kernel coredump.
111
112 #makeoptions DEBUG="-g"
113
114 ## Adds code to the kernel that does internal consistency checks, and will
115 ## cause the kernel to panic if corruption of internal data structures
116 ## is detected.
117 #options DIAGNOSTIC # extra kernel sanity checking
118
119 ## Enable (possibly expensive) debugging code that may also display messages
120 ## on the system console
121 #options DEBUG
122
123 ## Make SCSI error messages more verbose when explaining their meanings.
124 #options SCSIVERBOSE
125
126 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
127 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
128 ## and other insecurities good only for development work. Do not use this
129 ## option on a production machine.
130 #options INSECURE
131
132 ## Allow non-root users to grab /dev/console with programs such as xconsole.
133 ## `xconsole' therefore does not need setuid root with this option enabled.
134 #options UCONSOLE
135
136 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
137 ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
138 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
139 ## opaque file mechanism. Perl calls this "secure setuid scripts."
140
141 #options FDSCRIPTS
142 #options SETUIDSCRIPTS
143
144 ## Options for compatibility with previous releases foreign system binaries.
145
146 options COMPAT_43 # 4.3BSD system interfaces
147 options COMPAT_09 # NetBSD 0.9 binary compatibility
148 options COMPAT_10 # NetBSD 1.0 binary compatibility
149 options COMPAT_11 # NetBSD 1.1 binary compatibility
150 options COMPAT_12 # NetBSD 1.2 binary compatibility
151 options COMPAT_13 # NetBSD 1.3 binary compatibility
152 options COMPAT_14 # NetBSD 1.4 binary compatibility
153 options COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
154 #options COMPAT_M68K4K # NetBSD/m68k4k binaries
155 #options COMPAT_SUNOS # SunOS 4.x binary compatibility; broken
156 #options COMPAT_SVR4 # SVR4 binary compatibility; broken
157 #options COMPAT_LINUX # Linux/m68k binary compatibility
158 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
159
160 ## File systems.
161 file-system FFS # Berkeley Fast Filesystem
162 file-system NFS # Sun NFS-compatible filesystem client
163 file-system KERNFS # kernel data-structure filesystem
164 #file-system NULLFS # NULL layered filesystem (buggy)
165 #file-system OVERLAY # overlay file system
166 file-system MFS # memory-based filesystem
167 #file-system FDESC # user file descriptor filesystem
168 file-system UMAPFS # uid/gid remapping filesystem
169 #file-system LFS # Log-structured filesystem (experimental)
170 #file-system PORTAL # portal filesystem (experimental)
171 file-system PROCFS # /proc
172 file-system CD9660 # ISO 9660 + Rock Ridge file system
173 #file-system UNION # union file system (a little buggy)
174 file-system MSDOSFS # MS-DOS FAT filesystem(s).
175 #file-system ADOSFS # AmigaDOS filesystem
176
177 ## File system options.
178 options NFSSERVER # Sun NFS-compatible filesystem server
179 #options QUOTA # FFS quotas
180 #options FFS_EI # FFS Endian Independent support
181 options SOFTDEP # FFS soft updates support.
182
183 ## Network protocol support. In most environments, INET is required.
184 options INET # IP (Internet Protocol) v4
185 options INET6 # IPV6
186 #options IPSEC # IP security
187 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
188 #options IPSEC_DEBUG # debug for IP security
189 #options GATEWAY # packet forwarding ("router switch")
190 #options MROUTING # packet forwarding of multicast packets
191 #options DIRECTED_BROADCAST # allow broadcasts through routers
192 #options NS # Xerox NS networking
193 #options NSIP # Xerox NS tunneling over IP
194 #options ISO,TPIP # OSI networking
195 #options EON # OSI tunneling over IP
196 #options CCITT,LLC,HDLC # X.25 packet switched protocol
197 #options NETATALK # AppleTalk (over Ethernet) protocol
198 #options NTP # Network Time Protocol in-kernel support
199 #options PPS_SYNC # Add serial line synchronization for NTP
200 options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
201 #options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
202 #options PPP_BSDCOMP # Add BSD compression to ppp device
203 #options PPP_DEFLATE # Add deflate (libz) compression to ppp device
204 #options PPP_FILTER # Add active filters for ppp (via bpf)
205 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
206
207
208 #### Device configurations
209
210 ## Fundamental devices; see also std.x68k
211 dmac0 at intio0 addr 0xe84000 # DMA controler
212 xel0 at intio0
213 opm0 at intio0 addr 0xe90000 # OPM: required for fdc
214
215 ## Display devices and console
216 grfbus0 at mainbus0 # bitmapped displays
217 grf0 at grfbus0 # multiplane graphics
218 grf1 at grfbus0 # flexible graphics
219
220 kbd0 at mfp0 # standard keyboard
221 ite0 at grf0 # internal terminal emulator
222 options ITE_KERNEL_ATTR=4 # bold for kernel messages
223 # see /sys/arch/x68k/dev/itevar.h
224 pseudo-device pow 2 # software power switch
225
226 ## floppy disks
227 fdc0 at intio0 addr 0xe94000 intr 96 dma 0 dmaintr 100 # floppy controler
228 fd* at fdc0 unit ? # builtin floppy drives
229
230 ## SCSI devices
231 scsirom0 at intio0 addr 0xfc0000 # Built-in SCSI BIOS
232 scsirom1 at intio0 addr 0xea0020 # External SCSI BIOS
233 spc0 at scsirom0 # genuin SCSI
234 spc1 at scsirom1 # genuin SCSI
235 scsibus* at spc?
236 mha0 at scsirom1 # Mankai MK-HA1 (Mach-2)
237 scsibus* at mha0
238
239 sd* at scsibus? target ? lun ? # SCSI disks
240 cd* at scsibus? target ? lun ? # SCSI CD-ROMs
241 #st* at scsibus? target ? lun ? # SCSI tapes
242 #ss* at scsibus? target ? lun ? # SCSI scanners
243 #ch* at scsibus? target ? lun ? # SCSI changer devices
244 #uk* at scsibus? target ? lun ? # SCSI unknown devices
245
246 ## Ports
247 zsc0 at intio0 addr 0xe98000 intr 112
248 zstty0 at zsc0 channel 0 # built-in RS-232C
249 ms0 at zsc0 channel 1 # standard mouse
250 #zsc1 at intio0 addr 0xeafc00 intr 113
251 #zstty2 at zsc1 channel 0
252 #zstty3 at zsc1 channel 1
253 #zsc2 at intio0 addr 0xeafc10 intr 114
254 #zstty4 at zsc2 channel 0
255 #zstty5 at zsc2 channel 1
256 par0 at intio0 addr 0xe8c000 # Builtin printer port
257
258 pseudo-device sram # battery-backuped static RAM
259 pseudo-device bell # OPM bell
260
261 xcom0 at mainbus0 # NS16550 fast serial
262 xcom1 at mainbus0
263
264 ## Audio device
265 vs0 at intio0 addr 0xe92000 dma 3 dmaintr 106
266 audio* at vs?
267
268 ## Network interfaces
269 ne* at intio0 addr 0xece300 intr 249 # Nereid Ethernet
270 ne* at intio0 addr 0xeceb00 intr 248 # Nereid Ethernet
271 neptune0 at intio0 addr 0xece000 intr 249 # Neptune-X
272 neptune1 at intio0 addr 0xece400 intr 249 # Neptune-X at alt. addr.
273 ne* at neptune? addr 0x300 # NE2000 or clone
274
275
276 #### Pseudo devices
277
278 ## A disk-like interface to files. Can be used to create floppy, CD,
279 ## miniroot images, etc.
280
281 pseudo-device vnd 4
282
283 ## Concatenated and striped disks; with this, you can create a software-based
284 ## disk array similar to a "RAID 0" setup. See ccd(4).
285
286 #pseudo-device ccd 4
287
288 ## RAIDframe disk driver: software RAID driver. See raid(4).
289
290 pseudo-device raid 8
291 options RAID_AUTOCONFIG # auto-configuration of RAID components
292 # Options to enable various other RAIDframe RAID types.
293 # options RF_INCLUDE_EVENODD=1
294 # options RF_INCLUDE_RAID5_RS=1
295 # options RF_INCLUDE_PARITYLOGGING=1
296 # options RF_INCLUDE_CHAINDECLUSTER=1
297 # options RF_INCLUDE_INTERDECLUSTER=1
298 # options RF_INCLUDE_PARITY_DECLUSTERING=1
299 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
300
301
302 ## Memory disk device, used on boot floppies with compressed
303 ## kernel-plus-root-disk images.
304
305 #pseudo-device md 1
306
307 ## Loopback network interface; required
308 pseudo-device loop
309
310 ## SLIP and CSLIP interfaces, for IP over a serial line.
311 pseudo-device sl 1
312
313 ## PPP, the successor to SLIP. See pppd(8).
314 pseudo-device ppp 1
315
316 ## PPP over Ethernet (RFC 2516)
317 pseudo-device pppoe
318
319 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
320 ## This is used by the third-party user-mode "ppp" program, and others.
321 #pseudo-device tun 4
322
323 ## Generic L3 over IP tunnel
324 #pseudo-device gre 2 # generic L3 over IP tunnel
325
326 ## Berkeley Packet Filter, required to run RARPD. A generic C-language
327 ## interface that allows selective examining of incoming packets.
328 pseudo-device bpfilter 4
329
330 ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
331 ## one example of the use of the IP Filter.
332 #pseudo-device ipfilter
333
334 ## for IPv6
335 pseudo-device gif 1 # IPv[46] over IPv[46] tunnel (RFC1933)
336 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
337 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
338
339 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
340 pseudo-device vlan
341
342 ## Simple inter-network traffic bridging
343 pseudo-device bridge
344
345 #### Other device configuration
346
347 ## Pseudo ttys, required for network logins and programs like screen.
348
349 pseudo-device pty # pseudo-terminals
350
351 ## Random device, used to implement /dev/random (a source of random noise),
352 ## and generate randomness for some kernel formulae.
353
354 pseudo-device rnd
355