GENERIC revision 1.6 1 1.6 tls # $NetBSD: GENERIC,v 1.6 2008/08/10 15:31:21 tls Exp $
2 1.1 garbled #
3 1.1 garbled # GENERIC machine description file
4 1.1 garbled #
5 1.1 garbled # This machine description file is used to generate the default NetBSD
6 1.1 garbled # kernel. The generic kernel does not include all options, subsystems
7 1.1 garbled # and device drivers, but should be useful for most applications.
8 1.1 garbled #
9 1.1 garbled # The machine description file can be customised for your specific
10 1.1 garbled # machine to reduce the kernel size and improve its performance.
11 1.1 garbled #
12 1.1 garbled # For further information on compiling NetBSD kernels, see the config(8)
13 1.1 garbled # man page.
14 1.1 garbled #
15 1.1 garbled # For further information on hardware support for this architecture, see
16 1.1 garbled # the intro(4) man page. For further information about kernel options
17 1.1 garbled # for this architecture, see the options(4) man page. For an explanation
18 1.1 garbled # of each device driver in this file see the section 4 man page for the
19 1.1 garbled # device.
20 1.1 garbled
21 1.1 garbled include "arch/rs6000/conf/std.rs6000"
22 1.1 garbled
23 1.1 garbled options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.1 garbled
25 1.1 garbled #makeoptions COPTS="-O2 -mno-powerpc -mno-power" # wheeee
26 1.1 garbled
27 1.6 tls #ident "GENERIC-$Revision: 1.6 $"
28 1.1 garbled
29 1.1 garbled maxusers 32
30 1.1 garbled
31 1.1 garbled # Platform support
32 1.1 garbled
33 1.1 garbled options PIC_IOCC
34 1.1 garbled
35 1.1 garbled # Standard system options
36 1.1 garbled
37 1.1 garbled options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
38 1.1 garbled options NTP # NTP phase/frequency locked loop
39 1.1 garbled
40 1.1 garbled options KTRACE # system call tracing via ktrace(1)
41 1.1 garbled
42 1.1 garbled options SYSVMSG # System V-like message queues
43 1.1 garbled options SYSVSEM # System V-like semaphores
44 1.1 garbled #options SEMMNI=10 # number of semaphore identifiers
45 1.1 garbled #options SEMMNS=60 # number of semaphores in system
46 1.1 garbled #options SEMUME=10 # max number of undo entries per process
47 1.1 garbled #options SEMMNU=30 # number of undo structures in system
48 1.1 garbled options SYSVSHM # System V-like memory sharing
49 1.1 garbled #options SHMMAXPGS=1024 # 1024 pages is the default
50 1.1 garbled options P1003_1B_SEMAPHORE # p1003.1b semaphore support
51 1.1 garbled
52 1.1 garbled options LKM # loadable kernel modules
53 1.1 garbled
54 1.1 garbled options USERCONF # userconf(4) support
55 1.1 garbled #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
56 1.1 garbled options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
57 1.1 garbled
58 1.1 garbled # Enable experimental buffer queue strategy for better responsiveness under
59 1.1 garbled # high disk I/O load. Use it with caution - it's not proven to be stable yet.
60 1.1 garbled #options BUFQ_READPRIO
61 1.1 garbled #options BUFQ_PRIOCSCAN
62 1.1 garbled
63 1.1 garbled # Diagnostic/debugging support options
64 1.1 garbled #options DIAGNOSTIC # cheap kernel consistency checks
65 1.1 garbled options DEBUG # expensive debugging checks/support
66 1.1 garbled options PMAPDEBUG
67 1.1 garbled #options KMEMSTATS # kernel memory statistics (vmstat -m)
68 1.1 garbled options DDB # in-kernel debugger
69 1.1 garbled #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
70 1.1 garbled #makeoptions DEBUG="-g"
71 1.1 garbled
72 1.1 garbled # Compatibility options
73 1.1 garbled #options COMPAT_13 # NetBSD 1.3,
74 1.1 garbled #options COMPAT_14 # NetBSD 1.4,
75 1.1 garbled #options COMPAT_15 # NetBSD 1.5,
76 1.1 garbled #options COMPAT_16 # NetBSD 1.6,
77 1.1 garbled #options COMPAT_20 # NetBSD 2.0,
78 1.4 tsutsui #options COMPAT_30 # NetBSD 3.0,
79 1.4 tsutsui #options COMPAT_40 # NetBSD 4.0 compatibility.
80 1.1 garbled options COMPAT_43 # and 4.3BSD
81 1.1 garbled #options COMPAT_LINUX # Linux binary compatibility
82 1.1 garbled #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
83 1.1 garbled options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
84 1.1 garbled
85 1.1 garbled # File systems
86 1.1 garbled file-system FFS # UFS
87 1.1 garbled file-system EXT2FS # second extended file system (linux)
88 1.1 garbled #file-system LFS # log-structured file system
89 1.1 garbled file-system MFS # memory file system
90 1.1 garbled file-system NFS # Network File System client
91 1.1 garbled #file-system NTFS # Windows/NT file system (experimental)
92 1.1 garbled file-system CD9660 # ISO 9660 + Rock Ridge file system
93 1.1 garbled file-system MSDOSFS # MS-DOS file system
94 1.1 garbled #file-system FDESC # /dev/fd
95 1.1 garbled file-system KERNFS # /kern
96 1.1 garbled file-system NULLFS # loopback file system
97 1.1 garbled #file-system OVERLAY # overlay file system
98 1.1 garbled #file-system PORTAL # portal filesystem (still experimental)
99 1.1 garbled file-system PROCFS # /proc
100 1.1 garbled #file-system UMAPFS # NULLFS + uid and gid remapping
101 1.1 garbled file-system UNION # union file system
102 1.1 garbled #file-system CODA # Coda File System; also needs vcoda (below)
103 1.1 garbled file-system PTYFS # /dev/pts/N support
104 1.1 garbled #file-system TMPFS # experimental - Efficient memory file-system
105 1.1 garbled #file-system UDF # experimental - OSTA UDF CD/DVD file-system
106 1.1 garbled
107 1.1 garbled # File system options
108 1.1 garbled options QUOTA # UFS quotas
109 1.1 garbled #options FFS_EI # FFS Endian Independant support
110 1.1 garbled options SOFTDEP # FFS soft updates support.
111 1.5 simonb options WAPBL # File system journaling support - Experimental
112 1.1 garbled #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
113 1.1 garbled options NFSSERVER # Network File System server
114 1.1 garbled #options FFS_NO_SNAPSHOT # No FFS snapshot support
115 1.1 garbled #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
116 1.1 garbled # immutable) behave as system flags.
117 1.1 garbled
118 1.1 garbled # Networking options
119 1.1 garbled #options GATEWAY # packet forwarding
120 1.1 garbled options INET # IP + ICMP + TCP + UDP
121 1.1 garbled options INET6 # IPv6
122 1.1 garbled #options IPSEC # IP security
123 1.1 garbled #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
124 1.1 garbled #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
125 1.1 garbled #options IPSEC_DEBUG # debug for IP security
126 1.1 garbled #options MROUTING # IP multicast routing
127 1.1 garbled #options PIM # Protocol Independent Multicast
128 1.1 garbled #options NETATALK # AppleTalk networking protocols
129 1.1 garbled options PPP_BSDCOMP # BSD-Compress compression support for PPP
130 1.1 garbled options PPP_DEFLATE # Deflate compression support for PPP
131 1.1 garbled options PPP_FILTER # Active filter support for PPP (requires bpf)
132 1.1 garbled options PFIL_HOOKS # pfil(9) packet filter hooks
133 1.1 garbled options IPFILTER_LOG # ipmon(8) log support
134 1.1 garbled #options IPFILTER_DEFAULT_BLOCK # block all packets by default
135 1.1 garbled #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
136 1.1 garbled
137 1.1 garbled #options ALTQ # Manipulate network interfaces' output queues
138 1.1 garbled #options ALTQ_BLUE # Stochastic Fair Blue
139 1.1 garbled #options ALTQ_CBQ # Class-Based Queueing
140 1.1 garbled #options ALTQ_CDNR # Diffserv Traffic Conditioner
141 1.1 garbled #options ALTQ_FIFOQ # First-In First-Out Queue
142 1.1 garbled #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
143 1.1 garbled #options ALTQ_HFSC # Hierarchical Fair Service Curve
144 1.1 garbled #options ALTQ_LOCALQ # Local queueing discipline
145 1.1 garbled #options ALTQ_PRIQ # Priority Queueing
146 1.1 garbled #options ALTQ_RED # Random Early Detection
147 1.1 garbled #options ALTQ_RIO # RED with IN/OUT
148 1.1 garbled #options ALTQ_WFQ # Weighted Fair Queueing
149 1.1 garbled
150 1.1 garbled # These options enable verbose messages for several subsystems.
151 1.1 garbled # Warning, these may compile large string tables into the kernel!
152 1.1 garbled #options MIIVERBOSE # verbose PHY autoconfig messages
153 1.1 garbled options SCSIVERBOSE # human readable SCSI error messages
154 1.1 garbled options MCAVERBOSE # verbose MCA device autoconfig messages
155 1.1 garbled
156 1.1 garbled #options NFS_BOOT_BOOTP
157 1.1 garbled options NFS_BOOT_BOOTPARAM
158 1.1 garbled options NFS_BOOT_DHCP
159 1.1 garbled
160 1.1 garbled #
161 1.1 garbled # wscons options
162 1.1 garbled #
163 1.1 garbled # builtin terminal emulations
164 1.1 garbled options WSEMUL_VT100 # VT100 / VT220 emulation
165 1.1 garbled # different kernel output - see dev/wscons/wsdisplayvar.h
166 1.1 garbled options WS_KERNEL_FG=WSCOL_GREEN
167 1.1 garbled #options WS_KERNEL_BG=WSCOL_BLACK
168 1.1 garbled # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
169 1.1 garbled #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
170 1.1 garbled # allocate a number of virtual screens at autoconfiguration time
171 1.1 garbled #options WSDISPLAY_DEFAULTSCREENS=4
172 1.1 garbled # use a large software cursor that doesn't blink
173 1.1 garbled options PCDISPLAY_SOFTCURSOR
174 1.1 garbled
175 1.1 garbled # Kernel root file system and dump configuration.
176 1.1 garbled config netbsd root on ? type ?
177 1.1 garbled #config netbsd root on tlp0 type nfs
178 1.1 garbled #config netbsd root on pcn0 type nfs
179 1.1 garbled
180 1.1 garbled
181 1.1 garbled #
182 1.1 garbled # Device configuration
183 1.1 garbled #
184 1.1 garbled
185 1.1 garbled mainbus0 at root
186 1.1 garbled cpu0 at mainbus0
187 1.1 garbled mca0 at mainbus0
188 1.1 garbled
189 1.1 garbled com* at mca? slot ?
190 1.1 garbled
191 1.1 garbled # I/O Planar
192 1.1 garbled ioplanar* at mca? slot ?
193 1.1 garbled
194 1.1 garbled # I/O Planar devices
195 1.1 garbled com* at ioplanar?
196 1.1 garbled
197 1.1 garbled # Basic Bus Support
198 1.1 garbled
199 1.1 garbled # SCSI devices
200 1.1 garbled #sd* at scsibus? target ? lun ? # SCSI disk drives
201 1.1 garbled #st* at scsibus? target ? lun ? # SCSI tape drives
202 1.1 garbled #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
203 1.1 garbled #ch* at scsibus? target ? lun ? # SCSI autochangers
204 1.1 garbled #ss* at scsibus? target ? lun ? # SCSI scanners
205 1.1 garbled #uk* at scsibus? target ? lun ? # SCSI unknown
206 1.1 garbled
207 1.1 garbled # Pull in optional local configuration
208 1.3 jmmv cinclude "arch/rs6000/conf/GENERIC.local"
209 1.1 garbled
210 1.1 garbled # Pseudo-Devices
211 1.1 garbled
212 1.1 garbled # Not yet ready -- prep lacks generic soft interrupts
213 1.1 garbled #pseudo-device crypto # /dev/crypto device
214 1.1 garbled #pseudo-device swcrypto # software crypto implementation
215 1.1 garbled
216 1.1 garbled # disk/mass storage pseudo-devices
217 1.1 garbled #pseudo-device ccd 4 # concatenated/striped disk devices
218 1.1 garbled #pseudo-device cgd 4 # cryptographic disk devices
219 1.1 garbled #pseudo-device raid 8 # RAIDframe disk driver
220 1.1 garbled #options RAID_AUTOCONFIG # auto-configuration of RAID components
221 1.1 garbled # Options to enable various other RAIDframe RAID types.
222 1.1 garbled # options RF_INCLUDE_EVENODD=1
223 1.1 garbled # options RF_INCLUDE_RAID5_RS=1
224 1.1 garbled # options RF_INCLUDE_PARITYLOGGING=1
225 1.1 garbled # options RF_INCLUDE_CHAINDECLUSTER=1
226 1.1 garbled # options RF_INCLUDE_INTERDECLUSTER=1
227 1.1 garbled # options RF_INCLUDE_PARITY_DECLUSTERING=1
228 1.1 garbled # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
229 1.1 garbled pseudo-device fss 4 # file system snapshot device
230 1.1 garbled pseudo-device md 1 # memory disk device (ramdisk)
231 1.1 garbled pseudo-device vnd # disk-like interface to files
232 1.1 garbled #options VND_COMPRESSION # compressed vnd(4)
233 1.1 garbled
234 1.1 garbled # network pseudo-devices
235 1.1 garbled pseudo-device loop # network loopback
236 1.1 garbled pseudo-device bpfilter # Berkeley packet filter
237 1.1 garbled #pseudo-device carp # Common Address Redundancy Protocol
238 1.1 garbled pseudo-device ipfilter # IP filter (firewall) and NAT
239 1.1 garbled pseudo-device ppp # Point-to-Point Protocol
240 1.1 garbled pseudo-device pppoe # PPP over Ethernet (RFC 2516)
241 1.1 garbled #pseudo-device sl # Serial Line IP
242 1.1 garbled pseudo-device strip # Starmode Radio IP (Metricom)
243 1.1 garbled pseudo-device tun # network tunneling over tty
244 1.1 garbled pseudo-device tap # virtual Ethernet
245 1.1 garbled pseudo-device gre # generic L3 over IP tunnel
246 1.1 garbled pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
247 1.1 garbled #pseudo-device faith # IPv[46] tcp relay translation i/f
248 1.1 garbled pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
249 1.1 garbled pseudo-device vlan # IEEE 802.1q encapsulation
250 1.1 garbled pseudo-device bridge # simple inter-network bridging
251 1.1 garbled #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
252 1.1 garbled
253 1.6 tls #
254 1.6 tls # accept filters
255 1.6 tls pseudo-device accf_data # "dataready" accept filter
256 1.6 tls pseudo-device accf_http # "httpready" accept filter
257 1.6 tls
258 1.1 garbled # miscellaneous pseudo-devices
259 1.1 garbled pseudo-device pty # pseudo-terminals
260 1.1 garbled #pseudo-device sequencer 1 # MIDI sequencer
261 1.1 garbled pseudo-device rnd # /dev/random and in-kernel generator
262 1.1 garbled #options RND_COM # use "com" randomness as well
263 1.1 garbled pseudo-device clockctl # user control of clock subsystem
264 1.1 garbled pseudo-device ksyms # /dev/ksyms
265 1.1 garbled #pseudo-device pf # PF packet filter
266 1.1 garbled #pseudo-device pflog # PF log if
267 1.1 garbled
268 1.1 garbled # a pseudo device needed for Coda # also needs CODA (above)
269 1.1 garbled #pseudo-device vcoda 4 # coda minicache <-> venus comm.
270 1.1 garbled
271 1.1 garbled # wscons pseudo-devices
272 1.1 garbled pseudo-device wsmux # mouse & keyboard multiplexor
273 1.1 garbled pseudo-device wsfont
274 1.1 garbled
275 1.1 garbled # Veriexec
276 1.1 garbled #options VERIFIED_EXEC
277 1.1 garbled #
278 1.1 garbled # a pseudo device needed for veriexec
279 1.1 garbled #pseudo-device veriexec 1
280 1.1 garbled #
281 1.1 garbled # Uncomment the fingerprint methods below that are desired. Note that
282 1.1 garbled # removing fingerprint methods will have almost no impact on the kernel
283 1.1 garbled # code size.
284 1.1 garbled #
285 1.1 garbled #options VERIFIED_EXEC_FP_RMD160
286 1.1 garbled #options VERIFIED_EXEC_FP_SHA256
287 1.1 garbled #options VERIFIED_EXEC_FP_SHA384
288 1.1 garbled #options VERIFIED_EXEC_FP_SHA512
289 1.1 garbled #options VERIFIED_EXEC_FP_SHA1
290 1.1 garbled #options VERIFIED_EXEC_FP_MD5
291