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