GENERIC revision 1.93 1 1.93 rin # $NetBSD: GENERIC,v 1.93 2017/02/26 12:03:14 rin Exp $
2 1.37 garbled #
3 1.48 phx # machine description file for GENERIC NAS
4 1.37 garbled #
5 1.37 garbled # This machine description file is used to generate the default NetBSD
6 1.37 garbled # kernel. The generic kernel does not include all options, subsystems
7 1.37 garbled # and device drivers, but should be useful for most applications.
8 1.37 garbled #
9 1.37 garbled # The machine description file can be customised for your specific
10 1.37 garbled # machine to reduce the kernel size and improve its performance.
11 1.37 garbled #
12 1.37 garbled # For further information on compiling NetBSD kernels, see the config(8)
13 1.37 garbled # man page.
14 1.37 garbled #
15 1.37 garbled # For further information on hardware support for this architecture, see
16 1.37 garbled # the intro(4) man page. For further information about kernel options
17 1.37 garbled # for this architecture, see the options(4) man page. For an explanation
18 1.37 garbled # of each device driver in this file see the section 4 man page for the
19 1.37 garbled # device.
20 1.37 garbled
21 1.37 garbled include "arch/sandpoint/conf/std.sandpoint"
22 1.37 garbled
23 1.37 garbled options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24 1.37 garbled
25 1.93 rin #ident "GENERIC-$Revision: 1.93 $"
26 1.37 garbled
27 1.37 garbled maxusers 32
28 1.37 garbled
29 1.48 phx #options ALTIVEC # Include AltiVec support
30 1.37 garbled
31 1.67 phx # Standard system options
32 1.67 phx #options INSECURE # disable kernel security levels
33 1.67 phx
34 1.67 phx options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
35 1.67 phx options KTRACE
36 1.67 phx
37 1.81 phx options SYSVMSG # System V message queues
38 1.81 phx options SYSVSEM # System V semaphores
39 1.81 phx options SYSVSHM # System V shared memory
40 1.67 phx
41 1.67 phx #options MODULAR # module(7) support
42 1.85 jnemeth #options MODULAR_DEFAULT_AUTOLOAD
43 1.67 phx #options USERCONF # userconf(4) support
44 1.37 garbled
45 1.67 phx #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
46 1.67 phx options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
47 1.51 nisimura
48 1.67 phx # Enable experimental buffer queue strategy for better responsiveness under
49 1.67 phx # high disk I/O load. Use it with caution - it's not proven to be stable yet.
50 1.67 phx #options BUFQ_READPRIO
51 1.67 phx #options BUFQ_PRIOCSCAN
52 1.67 phx
53 1.67 phx # Diagnostic/debugging support options
54 1.67 phx #options DIAGNOSTIC # cheap kernel consistency checks
55 1.67 phx #options DEBUG # expensive debugging checks/support
56 1.37 garbled options DDB
57 1.37 garbled #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
58 1.67 phx #options TRAP_PANICWAIT
59 1.37 garbled #options PMAPCHECK
60 1.37 garbled #options PMAPDEBUG
61 1.67 phx options MSGBUFSIZE=65536
62 1.67 phx
63 1.67 phx #makeoptions DEBUG="-g"
64 1.37 garbled
65 1.37 garbled # Compatibility options
66 1.37 garbled options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI
67 1.84 dholland options COMPAT_09 # NetBSD 0.9,
68 1.84 dholland options COMPAT_10 # NetBSD 1.0,
69 1.84 dholland options COMPAT_11 # NetBSD 1.1,
70 1.84 dholland options COMPAT_12 # NetBSD 1.2 (and 386BSD and BSDI),
71 1.84 dholland options COMPAT_13 # NetBSD 1.3 (and 386BSD and BSDI),
72 1.84 dholland options COMPAT_14 # NetBSD 1.4,
73 1.84 dholland options COMPAT_15 # NetBSD 1.5,
74 1.84 dholland options COMPAT_16 # NetBSD 1.6,
75 1.84 dholland options COMPAT_20 # NetBSD 2.0,
76 1.84 dholland options COMPAT_30 # NetBSD 3.0,
77 1.84 dholland options COMPAT_40 # NetBSD 4.0,
78 1.84 dholland options COMPAT_50 # NetBSD 5.0,
79 1.84 dholland options COMPAT_60 # NetBSD 6.0, and
80 1.84 dholland options COMPAT_70 # NetBSD 7.0 binary compatibility.
81 1.37 garbled options COMPAT_43 # 4.3BSD, 386BSD, and BSDI
82 1.37 garbled #options COMPAT_386BSD_MBRPART # recognize old partition ID
83 1.67 phx #options COMPAT_LINUX # binary compatibility with Linux
84 1.37 garbled #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
85 1.52 phx options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
86 1.37 garbled
87 1.67 phx # Wedge support
88 1.83 christos options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
89 1.83 christos options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
90 1.86 christos #options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
91 1.86 christos #options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges
92 1.83 christos options DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges
93 1.93 rin #options DKWEDGE_METHOD_RDB # Support RDB partitions as wedges
94 1.37 garbled
95 1.67 phx # File systems
96 1.37 garbled file-system FFS # UFS
97 1.37 garbled file-system EXT2FS # second extended file system (linux)
98 1.37 garbled #file-system LFS # log-structured file system
99 1.37 garbled file-system MFS # memory file system
100 1.37 garbled file-system NFS # Network File System client
101 1.37 garbled #file-system NTFS # Windows/NT file system (experimental)
102 1.69 phx file-system CD9660 # ISO 9660 + Rock Ridge file system
103 1.48 phx file-system MSDOSFS # MS-DOS file system
104 1.37 garbled file-system FDESC # /dev/fd
105 1.37 garbled file-system KERNFS # /kern
106 1.37 garbled file-system NULLFS # loopback file system
107 1.37 garbled #file-system OVERLAY # overlay file system
108 1.48 phx file-system PROCFS # /proc
109 1.37 garbled #file-system UMAPFS # NULLFS + uid and gid remapping
110 1.37 garbled #file-system UNION # union file system
111 1.37 garbled #file-system CODA # Coda File System; also needs vcoda (below)
112 1.37 garbled #file-system SMBFS # experimental - CIFS; also needs nsmb (below)
113 1.37 garbled file-system PTYFS # /dev/ptm support
114 1.37 garbled file-system TMPFS # Efficient memory file-system
115 1.37 garbled
116 1.37 garbled # File system options
117 1.55 bouyer options QUOTA # legacy UFS quotas
118 1.55 bouyer options QUOTA2 # new, in-filesystem UFS quotas
119 1.92 rin #options DISKLABEL_EI # disklabel Endian Independent support
120 1.37 garbled #options FFS_EI # FFS Endian Independent support
121 1.63 dholland options WAPBL # File system journaling support
122 1.37 garbled options NFSSERVER # Network File System server
123 1.37 garbled #options FFS_NO_SNAPSHOT # No FFS snapshot support
124 1.87 manu options UFS_EXTATTR # Extended attribute support for UFS1
125 1.37 garbled #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
126 1.37 garbled
127 1.67 phx #options NFS_BOOT_DHCP
128 1.67 phx options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
129 1.67 phx
130 1.57 phx # Networking options
131 1.57 phx #options GATEWAY # packet forwarding
132 1.57 phx options INET # IP + ICMP + TCP + UDP
133 1.52 phx options INET6 # IPV6
134 1.57 phx #options IPSEC # IP security
135 1.57 phx #options IPSEC_DEBUG # debug for IP security
136 1.57 phx #options MROUTING # IP multicast routing
137 1.57 phx #options PIM # Protocol Independent Multicast
138 1.57 phx #options NETATALK # AppleTalk networking protocols
139 1.57 phx #options PPP_BSDCOMP # BSD-Compress compression support for PPP
140 1.57 phx #options PPP_DEFLATE # Deflate compression support for PPP
141 1.57 phx #options PPP_FILTER # Active filter support for PPP (requires BPF)
142 1.57 phx #options IPFILTER_LOG # ipmon(8) log support
143 1.57 phx #options IPFILTER_LOOKUP # ippool(8) support
144 1.57 phx #options IPFILTER_COMPAT # Compat for IP-Filter
145 1.57 phx #options IPFILTER_DEFAULT_BLOCK # block all packets by default
146 1.37 garbled #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
147 1.37 garbled
148 1.37 garbled #options ALTQ # Manipulate network interfaces' output queues
149 1.37 garbled #options ALTQ_BLUE # Stochastic Fair Blue
150 1.37 garbled #options ALTQ_CBQ # Class-Based Queueing
151 1.37 garbled #options ALTQ_CDNR # Diffserv Traffic Conditioner
152 1.37 garbled #options ALTQ_FIFOQ # First-In First-Out Queue
153 1.37 garbled #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
154 1.37 garbled #options ALTQ_HFSC # Hierarchical Fair Service Curve
155 1.37 garbled #options ALTQ_LOCALQ # Local queueing discipline
156 1.37 garbled #options ALTQ_PRIQ # Priority Queueing
157 1.37 garbled #options ALTQ_RED # Random Early Detection
158 1.37 garbled #options ALTQ_RIO # RED with IN/OUT
159 1.37 garbled #options ALTQ_WFQ # Weighted Fair Queueing
160 1.37 garbled
161 1.67 phx # These options enable verbose messages for several subsystems.
162 1.67 phx # Warning, these may compile large string tables into the kernel!
163 1.67 phx #options PCIVERBOSE # verbose PCI device autoconfig messages
164 1.67 phx #options MIIVERBOSE # verbose PHY autoconfig messages
165 1.67 phx #options PCI_CONFIG_DUMP # verbosely dump PCI config space
166 1.67 phx #options SCSIVERBOSE # human readable SCSI error messages
167 1.67 phx #options USBVERBOSE # verbose USB device autoconfig messages
168 1.37 garbled
169 1.67 phx # Kernel root file system and dump configuration
170 1.37 garbled config netbsd root on ? type ?
171 1.37 garbled
172 1.37 garbled #
173 1.67 phx # Device configuration
174 1.37 garbled #
175 1.56 phx mainbus0 at root
176 1.56 phx cpu* at mainbus0
177 1.62 phx
178 1.91 phx #cfi0 at mainbus0
179 1.91 phx #nor* at cfi?
180 1.91 phx #flash* at nor?
181 1.62 phx
182 1.66 phx nhpow0 at mainbus0 # NH230/231 power,LED,buttons
183 1.66 phx
184 1.67 phx #options PCI_NETBSD_CONFIGURE
185 1.56 phx pci* at mainbus0 bus ?
186 1.56 phx pchb* at pci? dev ? function ? # PCI host bridge
187 1.37 garbled
188 1.56 phx eumb* at mainbus0
189 1.56 phx com0 at eumb? unit 0 # console at 0x4500
190 1.56 phx #com1 at eumb? unit 1
191 1.56 phx satmgr0 at eumb? unit 1 # satmgr at 0x4600
192 1.56 phx ociic* at eumb?
193 1.56 phx iic* at ociic?
194 1.91 phx lmtemp* at iic? addr 0x48 # LM75 temperature sensor
195 1.56 phx rs5c372rtc* at iic? addr 0x32
196 1.58 phx s390rtc* at iic? addr 0x30
197 1.65 phx pcf8563rtc* at iic? addr 0x51
198 1.65 phx dsrtc* at iic? addr 0x68
199 1.59 phx strtc* at iic? addr 0x68
200 1.59 phx options STRTC_NO_WATCHDOG
201 1.59 phx options STRTC_NO_USERRAM
202 1.37 garbled
203 1.37 garbled # PCI IDE controllers - see pciide(4) for supported hardware.
204 1.56 phx acardide* at pci? dev ? function ? # Acard IDE controllers
205 1.52 phx cmdide* at pci? dev ? function ? # CMD tech IDE controllers
206 1.52 phx iteide* at pci? dev ? function ? # IT Express IDE controllers
207 1.37 garbled satalink* at pci? dev ? function ? # SiI SATALink controllers
208 1.68 phx viaide* at pci? dev ? function ? # VIA IDE controllers
209 1.37 garbled
210 1.37 garbled # ATA (IDE) bus support
211 1.37 garbled atabus* at ata?
212 1.37 garbled
213 1.37 garbled # IDE drives
214 1.81 phx # Flags are used only with controllers that support DMA operations
215 1.81 phx # and mode settings (e.g. some pciide controllers)
216 1.81 phx # The lowest order four bits (rightmost digit) of the flags define the PIO
217 1.81 phx # mode to use, the next set of four bits the DMA mode and the third set the
218 1.81 phx # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
219 1.81 phx # to use, and the last bit must be 1 for this setting to be used.
220 1.81 phx # For DMA and UDMA, 0xf (1111) means 'disable'.
221 1.81 phx # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
222 1.81 phx # (0xc=1100, 0xa=1010, 0xf=1111)
223 1.81 phx # 0x0000 means "use whatever the drive claims to support".
224 1.81 phx wd* at atabus? drive ? flags 0x0000
225 1.81 phx
226 1.81 phx # ATAPI bus support
227 1.81 phx atapibus* at atapi?
228 1.81 phx
229 1.81 phx # ATAPI devices
230 1.81 phx # flags have the same meaning as for IDE drives.
231 1.81 phx cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
232 1.81 phx sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
233 1.81 phx uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown
234 1.37 garbled
235 1.37 garbled # PCI network interfaces
236 1.56 phx ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g
237 1.37 garbled re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S
238 1.46 phx skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet
239 1.46 phx sk* at skc? # Marvell Yukon Gigabit Ethernet
240 1.56 phx stge* at pci? dev ? function ? # Sundance ST1023 Gigabit
241 1.56 phx tlp* at pci? dev ? function ? # DEC Tulip and similar
242 1.56 phx wm* at pci? dev ? function ? # Intel 8254x Gigabit Ethernet
243 1.37 garbled
244 1.37 garbled inphy* at mii? phy ? # Intel 82555 PHYs
245 1.37 garbled nsphy* at mii? phy ? # NS83840 PHYs
246 1.37 garbled rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs
247 1.37 garbled makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
248 1.37 garbled ukphy* at mii? phy ? # generic unknown PHYs
249 1.37 garbled
250 1.66 phx # GPIO devices
251 1.66 phx gpio* at gpiobus?
252 1.66 phx
253 1.37 garbled # USB Controller and Devices
254 1.37 garbled ehci* at pci? dev ? function ? # Enhanced Host Controller
255 1.37 garbled ohci* at pci? dev ? function ? # Open Host Controller
256 1.37 garbled
257 1.37 garbled # USB bus support
258 1.37 garbled usb* at ehci?
259 1.37 garbled usb* at ohci?
260 1.37 garbled
261 1.37 garbled # USB Hubs
262 1.37 garbled uhub* at usb?
263 1.37 garbled uhub* at uhub? port ?
264 1.37 garbled
265 1.52 phx # USB HID devices
266 1.52 phx uhidev* at uhub? port ? configuration ? interface ? # USB HID device
267 1.52 phx uthum* at uhidev? reportid ? # TEMPerHUM sensors
268 1.52 phx uhid* at uhidev? reportid ? # USB Generic HID
269 1.52 phx
270 1.54 phx # USB video
271 1.54 phx uvideo* at uhub? # USB Video Class capture devices
272 1.54 phx video* at videobus?
273 1.54 phx
274 1.52 phx # USB printer
275 1.81 phx ulpt* at uhub? port ? configuration ? interface ?
276 1.52 phx
277 1.37 garbled # USB Mass Storage
278 1.37 garbled umass* at uhub? port ? configuration ? interface ?
279 1.37 garbled wd* at umass?
280 1.37 garbled
281 1.81 phx # USB scanners
282 1.81 phx #uscanner* at uhub? port ?
283 1.81 phx ugen* at uhub? port ? configuration ? interface ? # USB Generic driver
284 1.81 phx
285 1.81 phx # SCSI bus support
286 1.81 phx scsibus* at umass?
287 1.81 phx
288 1.81 phx # SCSI devices
289 1.81 phx sd* at scsibus? target ? lun ? # SCSI disk drives
290 1.81 phx cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
291 1.35 elad
292 1.70 phx
293 1.68 phx #
294 1.68 phx # Pseudo-Devices
295 1.68 phx #
296 1.68 phx #pseudo-device crypto # /dev/crypto device
297 1.68 phx #pseudo-device swcrypto # software crypto implementation
298 1.68 phx
299 1.68 phx # disk/mass storage pseudo-devices
300 1.77 christos #pseudo-device ccd # concatenated/striped disk devices
301 1.77 christos #pseudo-device cgd # cryptographic disk devices
302 1.68 phx pseudo-device fss # file system snapshot device
303 1.68 phx #pseudo-device putter # for puffs and pud
304 1.68 phx
305 1.78 christos pseudo-device raid # RAIDframe disk driver
306 1.68 phx options RAID_AUTOCONFIG # auto-configuration of RAID components
307 1.68 phx # Options to enable various other RAIDframe RAID types.
308 1.68 phx #options RF_INCLUDE_EVENODD=1
309 1.68 phx #options RF_INCLUDE_RAID5_RS=1
310 1.68 phx #options RF_INCLUDE_PARITYLOGGING=1
311 1.68 phx #options RF_INCLUDE_CHAINDECLUSTER=1
312 1.68 phx #options RF_INCLUDE_INTERDECLUSTER=1
313 1.68 phx #options RF_INCLUDE_PARITY_DECLUSTERING=1
314 1.68 phx #options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
315 1.67 phx
316 1.68 phx pseudo-device vnd
317 1.68 phx #options VND_COMPRESSION # compressed vnd(4)
318 1.67 phx
319 1.67 phx # network pseudo-devices
320 1.67 phx pseudo-device loop
321 1.67 phx pseudo-device bpfilter # packet filter
322 1.68 phx #pseudo-device carp # Common Address Redundancy Protocol
323 1.67 phx #pseudo-device ppp # Point-to-Point Protocol
324 1.67 phx #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
325 1.67 phx #pseudo-device ipfilter
326 1.67 phx #pseudo-device pf # PF packet filter
327 1.67 phx #pseudo-device pflog # PF log if
328 1.67 phx #pseudo-device sl # Serial Line IP
329 1.67 phx #pseudo-device tun # network tunneling over tty
330 1.67 phx #pseudo-device tap # virtual Ethernet
331 1.67 phx #pseudo-device gre # generic L3 over IP tunnel
332 1.67 phx #pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
333 1.67 phx #pseudo-device faith # IPv[46] tcp relay translation i/f
334 1.67 phx #pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
335 1.68 phx #pseudo-device vlan # IEEE 802.1q encapsulation
336 1.67 phx #pseudo-device bridge # simple inter-network bridging
337 1.67 phx #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
338 1.67 phx #pseudo-device agr # IEEE 802.3ad link aggregation
339 1.68 phx
340 1.68 phx #
341 1.68 phx # accept filters
342 1.68 phx #pseudo-device accf_data # "dataready" accept filter
343 1.68 phx #pseudo-device accf_http # "httpready" accept filter
344 1.67 phx
345 1.67 phx # miscellaneous pseudo-devices
346 1.67 phx pseudo-device pty
347 1.67 phx pseudo-device clockctl # user control of clock subsystem
348 1.67 phx pseudo-device ksyms # /dev/ksyms
349 1.68 phx #pseudo-device lockstat # lock profiling
350 1.68 phx
351 1.68 phx # a pseudo device needed for Coda # also needs CODA (above)
352 1.78 christos #pseudo-device vcoda # coda minicache <-> venus comm.
353 1.68 phx
354 1.68 phx # a pseudo device needed for SMBFS
355 1.68 phx #pseudo-device nsmb # experimental - SMB requester
356 1.67 phx
357 1.67 phx # userland interface to drivers, including autoconf and properties retrieval
358 1.67 phx pseudo-device drvctl
359 1.67 phx
360 1.35 elad # Veriexec
361 1.35 elad #
362 1.35 elad # a pseudo device needed for veriexec
363 1.78 christos #pseudo-device veriexec
364 1.35 elad #
365 1.35 elad # Uncomment the fingerprint methods below that are desired. Note that
366 1.35 elad # removing fingerprint methods will have almost no impact on the kernel
367 1.35 elad # code size.
368 1.35 elad #
369 1.68 phx #options VERIFIED_EXEC_FP_RMD160
370 1.68 phx #options VERIFIED_EXEC_FP_SHA256
371 1.68 phx #options VERIFIED_EXEC_FP_SHA384
372 1.68 phx #options VERIFIED_EXEC_FP_SHA512
373 1.68 phx #options VERIFIED_EXEC_FP_SHA1
374 1.68 phx #options VERIFIED_EXEC_FP_MD5
375 1.67 phx
376 1.68 phx #options PAX_MPROTECT=0 # PaX mprotect(2) restrictions
377 1.68 phx #options PAX_ASLR=0 # PaX Address Space Layout Randomization
378