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