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