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