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