GENERIC revision 1.92
11.92Srin# $NetBSD: GENERIC,v 1.92 2017/02/19 07:47:01 rin Exp $ 21.37Sgarbled# 31.48Sphx# machine description file for GENERIC NAS 41.37Sgarbled# 51.37Sgarbled# This machine description file is used to generate the default NetBSD 61.37Sgarbled# kernel. The generic kernel does not include all options, subsystems 71.37Sgarbled# and device drivers, but should be useful for most applications. 81.37Sgarbled# 91.37Sgarbled# The machine description file can be customised for your specific 101.37Sgarbled# machine to reduce the kernel size and improve its performance. 111.37Sgarbled# 121.37Sgarbled# For further information on compiling NetBSD kernels, see the config(8) 131.37Sgarbled# man page. 141.37Sgarbled# 151.37Sgarbled# For further information on hardware support for this architecture, see 161.37Sgarbled# the intro(4) man page. For further information about kernel options 171.37Sgarbled# for this architecture, see the options(4) man page. For an explanation 181.37Sgarbled# of each device driver in this file see the section 4 man page for the 191.37Sgarbled# device. 201.37Sgarbled 211.37Sgarbledinclude "arch/sandpoint/conf/std.sandpoint" 221.37Sgarbled 231.37Sgarbledoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.37Sgarbled 251.92Srin#ident "GENERIC-$Revision: 1.92 $" 261.37Sgarbled 271.37Sgarbledmaxusers 32 281.37Sgarbled 291.48Sphx#options ALTIVEC # Include AltiVec support 301.37Sgarbled 311.67Sphx# Standard system options 321.67Sphx#options INSECURE # disable kernel security levels 331.67Sphx 341.67Sphxoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 351.67Sphxoptions KTRACE 361.67Sphx 371.81Sphxoptions SYSVMSG # System V message queues 381.81Sphxoptions SYSVSEM # System V semaphores 391.81Sphxoptions SYSVSHM # System V shared memory 401.67Sphx 411.67Sphx#options MODULAR # module(7) support 421.85Sjnemeth#options MODULAR_DEFAULT_AUTOLOAD 431.67Sphx#options USERCONF # userconf(4) support 441.37Sgarbled 451.67Sphx#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 461.67Sphxoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 471.51Snisimura 481.67Sphx# Enable experimental buffer queue strategy for better responsiveness under 491.67Sphx# high disk I/O load. Use it with caution - it's not proven to be stable yet. 501.67Sphx#options BUFQ_READPRIO 511.67Sphx#options BUFQ_PRIOCSCAN 521.67Sphx 531.67Sphx# Diagnostic/debugging support options 541.67Sphx#options DIAGNOSTIC # cheap kernel consistency checks 551.67Sphx#options DEBUG # expensive debugging checks/support 561.37Sgarbledoptions DDB 571.37Sgarbled#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 581.67Sphx#options TRAP_PANICWAIT 591.37Sgarbled#options PMAPCHECK 601.37Sgarbled#options PMAPDEBUG 611.67Sphxoptions MSGBUFSIZE=65536 621.67Sphx 631.67Sphx#makeoptions DEBUG="-g" 641.37Sgarbled 651.37Sgarbled# Compatibility options 661.37Sgarbledoptions COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI 671.84Sdhollandoptions COMPAT_09 # NetBSD 0.9, 681.84Sdhollandoptions COMPAT_10 # NetBSD 1.0, 691.84Sdhollandoptions COMPAT_11 # NetBSD 1.1, 701.84Sdhollandoptions COMPAT_12 # NetBSD 1.2 (and 386BSD and BSDI), 711.84Sdhollandoptions COMPAT_13 # NetBSD 1.3 (and 386BSD and BSDI), 721.84Sdhollandoptions COMPAT_14 # NetBSD 1.4, 731.84Sdhollandoptions COMPAT_15 # NetBSD 1.5, 741.84Sdhollandoptions COMPAT_16 # NetBSD 1.6, 751.84Sdhollandoptions COMPAT_20 # NetBSD 2.0, 761.84Sdhollandoptions COMPAT_30 # NetBSD 3.0, 771.84Sdhollandoptions COMPAT_40 # NetBSD 4.0, 781.84Sdhollandoptions COMPAT_50 # NetBSD 5.0, 791.84Sdhollandoptions COMPAT_60 # NetBSD 6.0, and 801.84Sdhollandoptions COMPAT_70 # NetBSD 7.0 binary compatibility. 811.37Sgarbledoptions COMPAT_43 # 4.3BSD, 386BSD, and BSDI 821.37Sgarbled#options COMPAT_386BSD_MBRPART # recognize old partition ID 831.67Sphx#options COMPAT_LINUX # binary compatibility with Linux 841.37Sgarbled#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 851.52Sphxoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 861.37Sgarbled 871.67Sphx# Wedge support 881.83Schristosoptions DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances 891.83Schristosoptions DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges 901.86Schristos#options DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges 911.86Schristos#options DKWEDGE_METHOD_MBR # Support MBR partitions as wedges 921.83Schristosoptions DKWEDGE_METHOD_APPLE # Support Apple partitions as wedges 931.37Sgarbled 941.67Sphx# File systems 951.37Sgarbledfile-system FFS # UFS 961.37Sgarbledfile-system EXT2FS # second extended file system (linux) 971.37Sgarbled#file-system LFS # log-structured file system 981.37Sgarbledfile-system MFS # memory file system 991.37Sgarbledfile-system NFS # Network File System client 1001.37Sgarbled#file-system NTFS # Windows/NT file system (experimental) 1011.69Sphxfile-system CD9660 # ISO 9660 + Rock Ridge file system 1021.48Sphxfile-system MSDOSFS # MS-DOS file system 1031.37Sgarbledfile-system FDESC # /dev/fd 1041.37Sgarbledfile-system KERNFS # /kern 1051.37Sgarbledfile-system NULLFS # loopback file system 1061.37Sgarbled#file-system OVERLAY # overlay file system 1071.48Sphxfile-system PROCFS # /proc 1081.37Sgarbled#file-system UMAPFS # NULLFS + uid and gid remapping 1091.37Sgarbled#file-system UNION # union file system 1101.37Sgarbled#file-system CODA # Coda File System; also needs vcoda (below) 1111.37Sgarbled#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 1121.37Sgarbledfile-system PTYFS # /dev/ptm support 1131.37Sgarbledfile-system TMPFS # Efficient memory file-system 1141.37Sgarbled 1151.37Sgarbled# File system options 1161.55Sbouyeroptions QUOTA # legacy UFS quotas 1171.55Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 1181.92Srin#options DISKLABEL_EI # disklabel Endian Independent support 1191.37Sgarbled#options FFS_EI # FFS Endian Independent support 1201.63Sdhollandoptions WAPBL # File system journaling support 1211.37Sgarbledoptions NFSSERVER # Network File System server 1221.37Sgarbled#options FFS_NO_SNAPSHOT # No FFS snapshot support 1231.87Smanuoptions UFS_EXTATTR # Extended attribute support for UFS1 1241.37Sgarbled#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1251.37Sgarbled 1261.67Sphx#options NFS_BOOT_DHCP 1271.67Sphxoptions NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP 1281.67Sphx 1291.57Sphx# Networking options 1301.57Sphx#options GATEWAY # packet forwarding 1311.57Sphxoptions INET # IP + ICMP + TCP + UDP 1321.52Sphxoptions INET6 # IPV6 1331.57Sphx#options IPSEC # IP security 1341.57Sphx#options IPSEC_DEBUG # debug for IP security 1351.57Sphx#options MROUTING # IP multicast routing 1361.57Sphx#options PIM # Protocol Independent Multicast 1371.57Sphx#options NETATALK # AppleTalk networking protocols 1381.57Sphx#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1391.57Sphx#options PPP_DEFLATE # Deflate compression support for PPP 1401.57Sphx#options PPP_FILTER # Active filter support for PPP (requires BPF) 1411.57Sphx#options IPFILTER_LOG # ipmon(8) log support 1421.57Sphx#options IPFILTER_LOOKUP # ippool(8) support 1431.57Sphx#options IPFILTER_COMPAT # Compat for IP-Filter 1441.57Sphx#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1451.37Sgarbled#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1461.37Sgarbled 1471.37Sgarbled#options ALTQ # Manipulate network interfaces' output queues 1481.37Sgarbled#options ALTQ_BLUE # Stochastic Fair Blue 1491.37Sgarbled#options ALTQ_CBQ # Class-Based Queueing 1501.37Sgarbled#options ALTQ_CDNR # Diffserv Traffic Conditioner 1511.37Sgarbled#options ALTQ_FIFOQ # First-In First-Out Queue 1521.37Sgarbled#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1531.37Sgarbled#options ALTQ_HFSC # Hierarchical Fair Service Curve 1541.37Sgarbled#options ALTQ_LOCALQ # Local queueing discipline 1551.37Sgarbled#options ALTQ_PRIQ # Priority Queueing 1561.37Sgarbled#options ALTQ_RED # Random Early Detection 1571.37Sgarbled#options ALTQ_RIO # RED with IN/OUT 1581.37Sgarbled#options ALTQ_WFQ # Weighted Fair Queueing 1591.37Sgarbled 1601.67Sphx# These options enable verbose messages for several subsystems. 1611.67Sphx# Warning, these may compile large string tables into the kernel! 1621.67Sphx#options PCIVERBOSE # verbose PCI device autoconfig messages 1631.67Sphx#options MIIVERBOSE # verbose PHY autoconfig messages 1641.67Sphx#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1651.67Sphx#options SCSIVERBOSE # human readable SCSI error messages 1661.67Sphx#options USBVERBOSE # verbose USB device autoconfig messages 1671.37Sgarbled 1681.67Sphx# Kernel root file system and dump configuration 1691.37Sgarbledconfig netbsd root on ? type ? 1701.37Sgarbled 1711.37Sgarbled# 1721.67Sphx# Device configuration 1731.37Sgarbled# 1741.56Sphxmainbus0 at root 1751.56Sphxcpu* at mainbus0 1761.62Sphx 1771.91Sphx#cfi0 at mainbus0 1781.91Sphx#nor* at cfi? 1791.91Sphx#flash* at nor? 1801.62Sphx 1811.66Sphxnhpow0 at mainbus0 # NH230/231 power,LED,buttons 1821.66Sphx 1831.67Sphx#options PCI_NETBSD_CONFIGURE 1841.56Sphxpci* at mainbus0 bus ? 1851.56Sphxpchb* at pci? dev ? function ? # PCI host bridge 1861.37Sgarbled 1871.56Sphxeumb* at mainbus0 1881.56Sphxcom0 at eumb? unit 0 # console at 0x4500 1891.56Sphx#com1 at eumb? unit 1 1901.56Sphxsatmgr0 at eumb? unit 1 # satmgr at 0x4600 1911.56Sphxociic* at eumb? 1921.56Sphxiic* at ociic? 1931.91Sphxlmtemp* at iic? addr 0x48 # LM75 temperature sensor 1941.56Sphxrs5c372rtc* at iic? addr 0x32 1951.58Sphxs390rtc* at iic? addr 0x30 1961.65Sphxpcf8563rtc* at iic? addr 0x51 1971.65Sphxdsrtc* at iic? addr 0x68 1981.59Sphxstrtc* at iic? addr 0x68 1991.59Sphxoptions STRTC_NO_WATCHDOG 2001.59Sphxoptions STRTC_NO_USERRAM 2011.37Sgarbled 2021.37Sgarbled# PCI IDE controllers - see pciide(4) for supported hardware. 2031.56Sphxacardide* at pci? dev ? function ? # Acard IDE controllers 2041.52Sphxcmdide* at pci? dev ? function ? # CMD tech IDE controllers 2051.52Sphxiteide* at pci? dev ? function ? # IT Express IDE controllers 2061.37Sgarbledsatalink* at pci? dev ? function ? # SiI SATALink controllers 2071.68Sphxviaide* at pci? dev ? function ? # VIA IDE controllers 2081.37Sgarbled 2091.37Sgarbled# ATA (IDE) bus support 2101.37Sgarbledatabus* at ata? 2111.37Sgarbled 2121.37Sgarbled# IDE drives 2131.81Sphx# Flags are used only with controllers that support DMA operations 2141.81Sphx# and mode settings (e.g. some pciide controllers) 2151.81Sphx# The lowest order four bits (rightmost digit) of the flags define the PIO 2161.81Sphx# mode to use, the next set of four bits the DMA mode and the third set the 2171.81Sphx# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2181.81Sphx# to use, and the last bit must be 1 for this setting to be used. 2191.81Sphx# For DMA and UDMA, 0xf (1111) means 'disable'. 2201.81Sphx# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2211.81Sphx# (0xc=1100, 0xa=1010, 0xf=1111) 2221.81Sphx# 0x0000 means "use whatever the drive claims to support". 2231.81Sphxwd* at atabus? drive ? flags 0x0000 2241.81Sphx 2251.81Sphx# ATAPI bus support 2261.81Sphxatapibus* at atapi? 2271.81Sphx 2281.81Sphx# ATAPI devices 2291.81Sphx# flags have the same meaning as for IDE drives. 2301.81Sphxcd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 2311.81Sphxsd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 2321.81Sphxuk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 2331.37Sgarbled 2341.37Sgarbled# PCI network interfaces 2351.56Sphxral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g 2361.37Sgarbledre* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S 2371.46Sphxskc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet 2381.46Sphxsk* at skc? # Marvell Yukon Gigabit Ethernet 2391.56Sphxstge* at pci? dev ? function ? # Sundance ST1023 Gigabit 2401.56Sphxtlp* at pci? dev ? function ? # DEC Tulip and similar 2411.56Sphxwm* at pci? dev ? function ? # Intel 8254x Gigabit Ethernet 2421.37Sgarbled 2431.37Sgarbledinphy* at mii? phy ? # Intel 82555 PHYs 2441.37Sgarblednsphy* at mii? phy ? # NS83840 PHYs 2451.37Sgarbledrgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 2461.37Sgarbledmakphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 2471.37Sgarbledukphy* at mii? phy ? # generic unknown PHYs 2481.37Sgarbled 2491.66Sphx# GPIO devices 2501.66Sphxgpio* at gpiobus? 2511.66Sphx 2521.37Sgarbled# USB Controller and Devices 2531.37Sgarbledehci* at pci? dev ? function ? # Enhanced Host Controller 2541.37Sgarbledohci* at pci? dev ? function ? # Open Host Controller 2551.37Sgarbled 2561.37Sgarbled# USB bus support 2571.37Sgarbledusb* at ehci? 2581.37Sgarbledusb* at ohci? 2591.37Sgarbled 2601.37Sgarbled# USB Hubs 2611.37Sgarbleduhub* at usb? 2621.37Sgarbleduhub* at uhub? port ? 2631.37Sgarbled 2641.52Sphx# USB HID devices 2651.52Sphxuhidev* at uhub? port ? configuration ? interface ? # USB HID device 2661.52Sphxuthum* at uhidev? reportid ? # TEMPerHUM sensors 2671.52Sphxuhid* at uhidev? reportid ? # USB Generic HID 2681.52Sphx 2691.54Sphx# USB video 2701.54Sphxuvideo* at uhub? # USB Video Class capture devices 2711.54Sphxvideo* at videobus? 2721.54Sphx 2731.52Sphx# USB printer 2741.81Sphxulpt* at uhub? port ? configuration ? interface ? 2751.52Sphx 2761.37Sgarbled# USB Mass Storage 2771.37Sgarbledumass* at uhub? port ? configuration ? interface ? 2781.37Sgarbledwd* at umass? 2791.37Sgarbled 2801.81Sphx# USB scanners 2811.81Sphx#uscanner* at uhub? port ? 2821.81Sphxugen* at uhub? port ? configuration ? interface ? # USB Generic driver 2831.81Sphx 2841.81Sphx# SCSI bus support 2851.81Sphxscsibus* at umass? 2861.81Sphx 2871.81Sphx# SCSI devices 2881.81Sphxsd* at scsibus? target ? lun ? # SCSI disk drives 2891.81Sphxcd* at scsibus? target ? lun ? # SCSI CD-ROM drives 2901.35Selad 2911.70Sphx 2921.68Sphx# 2931.68Sphx# Pseudo-Devices 2941.68Sphx# 2951.68Sphx#pseudo-device crypto # /dev/crypto device 2961.68Sphx#pseudo-device swcrypto # software crypto implementation 2971.68Sphx 2981.68Sphx# disk/mass storage pseudo-devices 2991.77Schristos#pseudo-device ccd # concatenated/striped disk devices 3001.77Schristos#pseudo-device cgd # cryptographic disk devices 3011.68Sphxpseudo-device fss # file system snapshot device 3021.68Sphx#pseudo-device putter # for puffs and pud 3031.68Sphx 3041.78Schristospseudo-device raid # RAIDframe disk driver 3051.68Sphxoptions RAID_AUTOCONFIG # auto-configuration of RAID components 3061.68Sphx# Options to enable various other RAIDframe RAID types. 3071.68Sphx#options RF_INCLUDE_EVENODD=1 3081.68Sphx#options RF_INCLUDE_RAID5_RS=1 3091.68Sphx#options RF_INCLUDE_PARITYLOGGING=1 3101.68Sphx#options RF_INCLUDE_CHAINDECLUSTER=1 3111.68Sphx#options RF_INCLUDE_INTERDECLUSTER=1 3121.68Sphx#options RF_INCLUDE_PARITY_DECLUSTERING=1 3131.68Sphx#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 3141.67Sphx 3151.68Sphxpseudo-device vnd 3161.68Sphx#options VND_COMPRESSION # compressed vnd(4) 3171.67Sphx 3181.67Sphx# network pseudo-devices 3191.67Sphxpseudo-device loop 3201.67Sphxpseudo-device bpfilter # packet filter 3211.68Sphx#pseudo-device carp # Common Address Redundancy Protocol 3221.67Sphx#pseudo-device ppp # Point-to-Point Protocol 3231.67Sphx#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 3241.67Sphx#pseudo-device ipfilter 3251.67Sphx#pseudo-device pf # PF packet filter 3261.67Sphx#pseudo-device pflog # PF log if 3271.67Sphx#pseudo-device sl # Serial Line IP 3281.67Sphx#pseudo-device tun # network tunneling over tty 3291.67Sphx#pseudo-device tap # virtual Ethernet 3301.67Sphx#pseudo-device gre # generic L3 over IP tunnel 3311.67Sphx#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 3321.67Sphx#pseudo-device faith # IPv[46] tcp relay translation i/f 3331.67Sphx#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 3341.68Sphx#pseudo-device vlan # IEEE 802.1q encapsulation 3351.67Sphx#pseudo-device bridge # simple inter-network bridging 3361.67Sphx#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 3371.67Sphx#pseudo-device agr # IEEE 802.3ad link aggregation 3381.68Sphx 3391.68Sphx# 3401.68Sphx# accept filters 3411.68Sphx#pseudo-device accf_data # "dataready" accept filter 3421.68Sphx#pseudo-device accf_http # "httpready" accept filter 3431.67Sphx 3441.67Sphx# miscellaneous pseudo-devices 3451.67Sphxpseudo-device pty 3461.67Sphxpseudo-device clockctl # user control of clock subsystem 3471.67Sphxpseudo-device ksyms # /dev/ksyms 3481.68Sphx#pseudo-device lockstat # lock profiling 3491.68Sphx 3501.68Sphx# a pseudo device needed for Coda # also needs CODA (above) 3511.78Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 3521.68Sphx 3531.68Sphx# a pseudo device needed for SMBFS 3541.68Sphx#pseudo-device nsmb # experimental - SMB requester 3551.67Sphx 3561.67Sphx# userland interface to drivers, including autoconf and properties retrieval 3571.67Sphxpseudo-device drvctl 3581.67Sphx 3591.35Selad# Veriexec 3601.35Selad# 3611.35Selad# a pseudo device needed for veriexec 3621.78Schristos#pseudo-device veriexec 3631.35Selad# 3641.35Selad# Uncomment the fingerprint methods below that are desired. Note that 3651.35Selad# removing fingerprint methods will have almost no impact on the kernel 3661.35Selad# code size. 3671.35Selad# 3681.68Sphx#options VERIFIED_EXEC_FP_RMD160 3691.68Sphx#options VERIFIED_EXEC_FP_SHA256 3701.68Sphx#options VERIFIED_EXEC_FP_SHA384 3711.68Sphx#options VERIFIED_EXEC_FP_SHA512 3721.68Sphx#options VERIFIED_EXEC_FP_SHA1 3731.68Sphx#options VERIFIED_EXEC_FP_MD5 3741.67Sphx 3751.68Sphx#options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 3761.68Sphx#options PAX_ASLR=0 # PaX Address Space Layout Randomization 377