GENERIC revision 1.111 1 # $NetBSD: GENERIC,v 1.111 2008/07/31 07:41:00 simonb 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/bebox/conf/std.bebox"
22
23 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #ident "GENERIC-$Revision: 1.111 $"
26
27 maxusers 32
28
29 # Standard system options
30
31 options INSECURE # disable kernel security levels - X needs this
32
33 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
34 options NTP # NTP phase/frequency locked loop
35
36 options KTRACE # system call tracing via ktrace(1)
37
38 options SYSVMSG # System V-like message queues
39 options SYSVSEM # System V-like semaphores
40 options SYSVSHM # System V-like memory sharing
41 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
42
43 options LKM # loadable kernel modules
44 options USERCONF # userconf(4) support
45 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
46 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
47
48 # Enable experimental buffer queue strategy for better responsiveness under
49 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
50 #options BUFQ_READPRIO
51 #options BUFQ_PRIOCSCAN
52
53 # Diagnostic/debugging support options
54 #options DIAGNOSTIC # cheap kernel consistency checks
55 #options DEBUG # expensive debugging checks/support
56 #options KMEMSTATS # kernel memory statistics (vmstat -m)
57 options DDB # in-kernel debugger
58 options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
59 options DDB_HISTORY_SIZE=512 # Enable history editing in DDB
60 #makeoptions DEBUG="-g"
61
62 options COMPAT_09 # NetBSD 0.9,
63 options COMPAT_10 # NetBSD 1.0,
64 options COMPAT_11 # NetBSD 1.1,
65 options COMPAT_12 # NetBSD 1.2,
66 options COMPAT_13 # NetBSD 1.3,
67 options COMPAT_14 # NetBSD 1.4,
68 options COMPAT_15 # NetBSD 1.5,
69 options COMPAT_16 # NetBSD 1.6,
70 options COMPAT_20 # NetBSD 2.0,
71 options COMPAT_30 # NetBSD 3.0 compatibility.
72 options COMPAT_40 # NetBSD 4.0 compatibility.
73 options COMPAT_43 # 4.3BSD
74 #options COMPAT_386BSD_MBRPART # recognize old partition ID
75 #options COMPAT_LINUX # Linux binary compatibility
76 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
77 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
78
79 # File systems
80 file-system FFS # UFS
81 #file-system EXT2FS # second extended file system (linux)
82 #file-system LFS # log-structured file system
83 file-system MFS # memory file system
84 file-system NFS # Network File System client
85 #file-system NTFS # Windows/NT file system (experimental)
86 file-system CD9660 # ISO 9660 + Rock Ridge file system
87 file-system MSDOSFS # MS-DOS file system
88 #file-system FDESC # /dev/fd
89 file-system KERNFS # /kern
90 file-system NULLFS # loopback file system
91 #file-system OVERLAY # overlay file system
92 #file-system PORTAL # portal filesystem (still experimental)
93 #file-system PROCFS # /proc
94 #file-system UMAPFS # NULLFS + uid and gid remapping
95 file-system UNION # union file system
96 #file-system CODA # Coda File System; also needs vcoda (below)
97 #file-system SMBFS # CIFS; also needs nsmb (below)
98 #file-system PTYFS # /dev/pts/N support
99 #file-system TMPFS # Efficient memory file-system
100 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
101 #file-system HFS # experimental - Apple HFS+ (read-only)
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 WAPBL # File system journaling support - Experimental
108 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
109 #options NFSSERVER # Network File System server
110 #options FFS_NO_SNAPSHOT # No FFS snapshot support
111 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
112 # immutable) behave as system flags.
113 #options APPLE_UFS # Apple UFS support in FFS
114
115 # Networking options
116 #options GATEWAY # packet forwarding
117 options INET # IP + ICMP + TCP + UDP
118 options INET6 # IPV6
119 #options IPSEC # IP security
120 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
121 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
122 #options IPSEC_DEBUG # debug for IP security
123 #options MROUTING # IP multicast routing
124 #options PIM # Protocol Independent Multicast
125 #options ISO,TPIP # OSI
126 #options EON # OSI tunneling over IP
127 #options NETATALK # AppleTalk networking protocols
128 #options PPP_BSDCOMP # BSD-Compress compression support for PPP
129 #options PPP_DEFLATE # Deflate compression support for PPP
130 #options PPP_FILTER # Active filter support for PPP (requires bpf)
131 #options PFIL_HOOKS # pfil(9) packet filter hooks
132 #options IPFILTER_LOG # ipmon(8) log support
133 #options IPFILTER_LOOKUP # ippool(8) support
134 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
135 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
136
137 #options ALTQ # Manipulate network interfaces' output queues
138 #options ALTQ_BLUE # Stochastic Fair Blue
139 #options ALTQ_CBQ # Class-Based Queueing
140 #options ALTQ_CDNR # Diffserv Traffic Conditioner
141 #options ALTQ_FIFOQ # First-In First-Out Queue
142 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
143 #options ALTQ_HFSC # Hierarchical Fair Service Curve
144 #options ALTQ_LOCALQ # Local queueing discipline
145 #options ALTQ_PRIQ # Priority Queueing
146 #options ALTQ_RED # Random Early Detection
147 #options ALTQ_RIO # RED with IN/OUT
148 #options ALTQ_WFQ # Weighted Fair Queueing
149
150 # These options enable verbose messages for several subsystems.
151 # Warning, these may compile large string tables into the kernel!
152 options PCIVERBOSE # verbose PCI device autoconfig messages
153 options MIIVERBOSE # verbose PHY autoconfig messages
154 #options PCI_CONFIG_DUMP # verbosely dump PCI config space
155 options PCI_NETBSD_CONFIGURE
156 options SCSIVERBOSE # human readable SCSI error messages
157
158 #options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
159
160 # wscons options
161 # builtin terminal emulations
162 #options WSEMUL_SUN # sun terminal emulation
163 options WSEMUL_VT100 # VT100 / VT220 emulation
164 options WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
165
166 config netbsd root on ? type ?
167
168 mainbus0 at root
169
170 cpu* at mainbus0
171 pci0 at mainbus0 bus ?
172
173 pci* at ppb? bus ?
174
175 ppb* at pci? dev ? function ? # PCI-PCI bridges
176 pchb* at pci? dev ? function ? # PCI-Host bridges
177 pcib* at pci? dev ? function ? # PCI-ISA bridges
178
179 isa* at pcib? # ISA on PCI-ISA bridge
180
181 # Console Devices
182
183 # wscons
184 pckbc0 at isa? # pc keyboard controller
185 pckbd* at pckbc? # PC keyboard
186 pms* at pckbc? # PS/2 mouse for wsmouse
187 #options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume
188 options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads
189 genfb* at pci? dev ? function ?
190 vga* at pci? dev ? function ?
191 wsdisplay* at vga? console ?
192 wskbd* at pckbd? console ?
193 wsmouse* at pms? mux 0
194
195 # make sure the console display is always wsdisplay0
196 wsdisplay0 at wsemuldisplaydev? console 1
197 wsdisplay* at wsemuldisplaydev?
198
199 com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
200 com1 at isa? port 0x2f8 irq 3
201 com2 at isa? port 0x380 irq 22
202 com3 at isa? port 0x388 irq 23
203
204 lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
205
206 mcclock0 at isa? port 0x70 # time-of-day clock
207 attimer0 at isa?
208 pcppi0 at isa?
209 spkr0 at pcppi?
210
211 #wss0 at isa? port ? irq 30 drq 6 drq2 7 # Windows Sound System
212
213 # Audio support
214 #audio* at audiobus?
215
216 # MIDI support
217 midi* at pcppi? # MIDI interface to the PC speaker
218
219 # Joystick driver. Probe is a little strange; add only if you have one.
220 joy0 at isa? port 0x201
221
222 siop* at pci? dev ? function ? # NCR 538XX SCSI controllers
223 scsibus* at siop?
224
225 sd* at scsibus? target ? lun ? # SCSI disk drives
226 #st* at scsibus? target ? lun ? # SCSI tape drives
227 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
228 #ch* at scsibus? target ? lun ? # SCSI autochangers
229 #ss* at scsibus? target ? lun ? # SCSI scanners
230 #uk* at scsibus? target ? lun ? # SCSI unknown
231
232 fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
233 #fdc1 at isa? port 0x370 irq ? drq ?
234 fd0 at fdc? drive 1
235 #fd* at fdc? drive ?
236
237 wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
238
239 atabus* at ata?
240 wd* at atabus? drive ?
241
242 # ATAPI bus support
243 atapibus* at atapi?
244
245 # ATAPI devices
246 # flags have the same meaning as for IDE drives.
247 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
248 #sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
249 #st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives
250 #uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
251
252 # Network devices
253 ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
254 ne0 at isa? port 0x300 irq 5 # NE[12]000 ethernet cards
255 fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
256 ne* at pci? dev ? function ? # NE2000-compatible Ethernet
257 tlp* at pci? dev ? function ? # DECchip 21x4x and clones
258
259 # MII/PHY support
260 ukphy* at mii? phy ? # generic unknown PHYs
261
262
263 # Pseudo-Devices
264
265 pseudo-device crypto # /dev/crypto device
266 # (disabled, requires generic softints)
267 pseudo-device swcrypto # software crypto implementation
268
269 # disk/mass storage pseudo-devices
270 pseudo-device bio # RAID control device driver
271 pseudo-device ccd 4 # concatenated/striped disk devices
272 pseudo-device cgd 4 # cryptographic disk devices
273 pseudo-device raid 8 # RAIDframe disk driver
274 options RAID_AUTOCONFIG # auto-configuration of RAID components
275 # Options to enable various other RAIDframe RAID types.
276 #options RF_INCLUDE_EVENODD=1
277 #options RF_INCLUDE_RAID5_RS=1
278 #options RF_INCLUDE_PARITYLOGGING=1
279 #options RF_INCLUDE_CHAINDECLUSTER=1
280 #options RF_INCLUDE_INTERDECLUSTER=1
281 #options RF_INCLUDE_PARITY_DECLUSTERING=1
282 #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
283 pseudo-device fss 4 # file system snapshot device
284
285 pseudo-device md 1 # memory disk device
286 pseudo-device vnd # disk-like interface to files
287 options VND_COMPRESSION # compressed vnd(4)
288
289 # network pseudo-devices
290 pseudo-device bpfilter # packet filter
291 #pseudo-device carp # Common Address Redundancy Protocol
292 pseudo-device ipfilter # IP filter (firewall) and NAT
293 pseudo-device loop # network loopback
294 pseudo-device ppp # Point-to-Point Protocol
295 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
296 pseudo-device sl # Serial Line IP
297 #pseudo-device strip # Starmode Radio IP (Metricom)
298 #pseudo-device irframetty # IrDA frame line discipline
299 pseudo-device tap # virtual Ethernet
300 pseudo-device tun # network tunneling over tty
301 #pseudo-device gre # generic L3 over IP tunnel
302 #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
303 #pseudo-device faith # IPv[46] tcp relay translation i/f
304 #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
305 #pseudo-device vlan # IEEE 802.1q encapsulation
306 #pseudo-device bridge # simple inter-network bridging
307 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
308 #pseudo-device agr # IEEE 802.3ad link aggregation
309 #pseudo-device pf # PF packet filter
310 #pseudo-device pflog # PF log if
311 # srt is EXPERIMENTAL
312 #pseudo-device srt # source-address-based routing
313
314 # miscellaneous pseudo-devices
315 pseudo-device pty # pseudo-terminals
316 pseudo-device sequencer 1 # MIDI sequencer
317 pseudo-device rnd # /dev/random and in-kernel generator
318 #options RND_COM # use "com" randomness as well (BROKEN)
319 pseudo-device clockctl # user control of clock subsystem
320 pseudo-device ksyms # /dev/ksyms
321 pseudo-device lockstat # lock profiling
322 #pseudo-device bcsp # BlueCore Serial Protocol
323 #pseudo-device btuart # Bluetooth HCI UART (H4)
324
325 # a pseudo device needed for Coda # also needs CODA (above)
326 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
327
328 # a pseudo device needed for SMBFS
329 #pseudo-device nsmb # experimental - SMB requester
330
331 # wscons pseudo-devices
332 pseudo-device wsmux # mouse & keyboard multiplexor
333 pseudo-device wsfont
334
335 # pseudo audio device driver
336 #pseudo-device pad
337
338 # userland interface to drivers, including autoconf and properties retrieval
339 #pseudo-device drvctl
340
341 #options FILEASSOC # fileassoc(9) - required for Veriexec
342
343
344 # Veriexec
345 #
346 # a pseudo device needed for veriexec
347 #pseudo-device veriexec 1
348 #
349 # Uncomment the fingerprint methods below that are desired. Note that
350 # removing fingerprint methods will have almost no impact on the kernel
351 # code size.
352 #
353 #options VERIFIED_EXEC_FP_RMD160
354 #options VERIFIED_EXEC_FP_SHA256
355 #options VERIFIED_EXEC_FP_SHA384
356 #options VERIFIED_EXEC_FP_SHA512
357 #options VERIFIED_EXEC_FP_SHA1
358 #options VERIFIED_EXEC_FP_MD5
359
360 #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
361 #options PAX_ASLR=0 # PaX Address Space Layout Randomization
362