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