GENERIC revision 1.155
11.155Sskrll# $NetBSD: GENERIC,v 1.155 2018/01/20 13:56:09 skrll Exp $ 21.23Sgmcgarry# 31.23Sgmcgarry# GENERIC machine description file 41.130Stsutsui# 51.23Sgmcgarry# This machine description file is used to generate the default NetBSD 61.23Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.23Sgmcgarry# and device drivers, but should be useful for most applications. 81.23Sgmcgarry# 91.23Sgmcgarry# The machine description file can be customised for your specific 101.23Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.23Sgmcgarry# 121.23Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.23Sgmcgarry# man page. 141.23Sgmcgarry# 151.23Sgmcgarry# For further information on hardware support for this architecture, see 161.23Sgmcgarry# the intro(4) man page. For further information about kernel options 171.23Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.23Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.23Sgmcgarry# device. 201.1Ssoren 211.1Ssoreninclude "arch/cobalt/conf/std.cobalt" 221.1Ssoren 231.31Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.31Satatat 251.155Sskrll#ident "GENERIC-$Revision: 1.155 $" 261.1Ssoren 271.1Ssorenmaxusers 32 281.1Ssoren 291.1Ssoren# Standard system options 301.1Ssorenoptions KTRACE # system call tracing support 311.1Ssorenoptions SYSVMSG # System V message queues 321.1Ssorenoptions SYSVSEM # System V semaphores 331.1Ssorenoptions SYSVSHM # System V shared memory 341.93Stsutsuioptions NTP # network time protocol 351.33Slukemoptions USERCONF # userconf(4) support 361.26Sjdolecek#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 371.61Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 381.38Sjunyoung 391.130Stsutsui# Enable experimental buffer queue strategy for better responsiveness under 401.38Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 411.73Stsutsui#options BUFQ_READPRIO 421.73Stsutsui#options BUFQ_PRIOCSCAN 431.1Ssoren 441.1Ssoren# Debugging options 451.128Smattoptions DIAGNOSTIC # extra kernel sanity checking 461.155Sskrlloptions DEBUG # extra kernel debugging support 471.1Ssorenoptions DDB # kernel dynamic debugger 481.1Ssoren#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 491.128Smattmakeoptions DEBUG="-g" # compile full symbol table 501.128Smattmakeoptions CPUFLAGS="-march=vr5000" 511.1Ssoren 521.1Ssoren# Compatibility options 531.154Smrginclude "conf/compat_netbsd16.config" 541.1Ssoren#options EXEC_ECOFF # exec ECOFF binaries 551.1Ssoren#options COMPAT_ULTRIX # binary compatibility with Ultrix 561.1Ssoren 571.1Ssoren# File systems 581.1Ssorenfile-system FFS # Berkeley Fast Filesystem 591.21Slukemfile-system EXT2FS # second extended file system (linux) 601.1Ssorenfile-system NFS # Sun NFS-compatible filesystem client 611.93Stsutsuifile-system KERNFS # kernel data-structure filesystem 621.93Stsutsuifile-system NULLFS # NULL layered filesystem 631.7Ssoren#file-system OVERLAY # overlay file system 641.1Ssorenfile-system MFS # memory-based filesystem 651.1Ssorenfile-system FDESC # user file descriptor filesystem 661.1Ssoren#file-system UMAPFS # uid/gid remapping filesystem 671.93Stsutsuifile-system LFS # Log-based filesystem (still experimental) 681.93Stsutsuifile-system PROCFS # /proc 691.93Stsutsuifile-system CD9660 # ISO 9660 + Rock Ridge file system 701.93Stsutsuifile-system UNION # union file system 711.93Stsutsuifile-system MSDOSFS # MS-DOS FAT filesystem(s). 721.1Ssoren#file-system CODA # Coda File System; also needs vcoda (below) 731.118Stsutsuifile-system SMBFS # experimental - CIFS; also needs nsmb (below) 741.93Stsutsuifile-system PTYFS # /dev/pts/N support 751.125Schsfile-system TMPFS # Efficient memory file-system 761.90Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 771.1Ssoren 781.1Ssoren# File system options 791.1Ssorenoptions NFSSERVER # Sun NFS-compatible filesystem server 801.129Sbouyeroptions QUOTA # legacy UFS quotas 811.129Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 821.131Swiz#options FFS_EI # FFS Endian Independent support 831.133Sdhollandoptions WAPBL # File system journaling support 841.66Srumble#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 851.93Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 861.146Smanuoptions UFS_EXTATTR # Extended attribute support for UFS1 871.1Ssoren#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 881.1Ssoren # immutable) behave as system flags. 891.1Ssoren 901.1Ssoren# Networking options 911.1Ssoren#options GATEWAY # IP packet forwarding 921.1Ssorenoptions INET # Internet protocols 931.93Stsutsuioptions INET6 # IPV6 941.1Ssoren#options IPSEC # IP security 951.1Ssoren#options IPSEC_DEBUG # debug for IP security 961.1Ssoren#options MROUTING # packet forwarding of multicast packets 971.62Smanu#options PIM # Protocol Independent Multicast 981.1Ssoren#options NETATALK # AppleTalk (over Ethernet) protocol 991.1Ssoren#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1001.1Ssoren#options PPP_DEFLATE # Deflate compression support for PPP 1011.10Ssoren#options PPP_FILTER # Active filter support for PPP (requires bpf) 1021.93Stsutsuioptions IPFILTER_LOG # ipmon(8) log support 1031.104Schristosoptions IPFILTER_LOOKUP # ippool(8) support 1041.126Smrgoptions IPFILTER_COMPAT # Compat for IP-Filter 1051.35Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1061.17Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1071.1Ssoren 1081.59Sabs#options ALTQ # Manipulate network interfaces' output queues 1091.59Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1101.59Sabs#options ALTQ_CBQ # Class-Based Queueing 1111.59Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1121.59Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1131.59Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1141.59Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1151.59Sabs#options ALTQ_LOCALQ # Local queueing discipline 1161.59Sabs#options ALTQ_PRIQ # Priority Queueing 1171.59Sabs#options ALTQ_RED # Random Early Detection 1181.59Sabs#options ALTQ_RIO # RED with IN/OUT 1191.59Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1201.59Sabs 1211.143Salnsn# JIT compiler for bpfilter 1221.143Salnsn#options SLJIT 1231.143Salnsn#options BPFJIT 1241.143Salnsn 1251.1Ssoren# These options enable verbose messages for several subsystems. 1261.1Ssoren# Warning, these may compile large string tables into the kernel! 1271.1Ssorenoptions PCIVERBOSE # verbose PCI device autoconfig messages 1281.1Ssoren#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1291.21Slukemoptions SCSIVERBOSE # human readable SCSI error messages 1301.98Stsutsuioptions MIIVERBOSE # verbose PHY autoconfig messages 1311.1Ssoren 1321.1Ssorenoptions NFS_BOOT_DHCP 1331.1Ssoren 1341.1Ssorenconfig netbsd root on ? type ? 1351.1Ssoren 1361.1Ssorenmainbus0 at root 1371.1Ssoren 1381.1Ssorencpu0 at mainbus? 1391.1Ssoren 1401.94Stsutsuimcclock0 at mainbus? addr 0x10000070 1411.94Stsutsui 1421.1Ssorencom0 at mainbus? addr 0x1c800000 level 3 1431.55Sthorpejoptions COM_16650 1441.1Ssoren 1451.115Stsutsuizsc0 at mainbus? addr 0x1c800000 irq 4 1461.115Stsutsuizstty0 at zsc0 channel 0 1471.115Stsutsuizstty1 at zsc0 channel 1 1481.115Stsutsui 1491.40Ssorenpanel0 at mainbus? addr 0x1f000000 1501.40Ssoren 1511.1Ssorengt0 at mainbus? addr 0x14000000 1521.1Ssoren 1531.1Ssorenpci* at gt0 1541.1Ssorenpchb* at pci? dev ? function ? 1551.1Ssorenpcib* at pci? dev ? function ? 1561.1Ssoren 1571.71Stsutsuioptions PCI_NETBSD_CONFIGURE 1581.71Stsutsui 1591.54Sjonathan# Cryptographic Devices 1601.54Sjonathan 1611.54Sjonathan# PCI cryptographic devices 1621.54Sjonathanhifn* at pci? dev ? function ? # Hifn 7755/7811/795x 1631.54Sjonathanubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 1641.54Sjonathan 1651.1Ssoren# PCI serial/parallel interfaces 1661.113Stsutsuipuc* at pci? dev ? function ? # PCI "universal" comm. cards 1671.113Stsutsuicom* at puc? port ? 1681.1Ssoren#lpt* at puc? port ? 1691.1Ssoren#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial cards 1701.1Ssoren 1711.1Ssoren# PCI SCSI controllers 1721.1Ssoren#adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] 1731.1Ssoren#adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI 1741.1Ssorenahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 1751.1Ssoren#bha* at pci? dev ? function ? # BusLogic 9xx SCSI 1761.1Ssoren#dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 1771.1Ssoren#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FC 1781.4Ssorensiop* at pci? dev ? function ? # NCR 53c8xx SCSI 1791.44Sbouyeresiop* at pci? dev ? function ? # NCR 53c82s75xx SCSI and newer 1801.1Ssoren#pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 1811.1Ssoren 1821.1Ssoren# SCSI bus support 1831.1Ssoren#scsibus* at adv? 1841.1Ssoren#scsibus* at adw? 1851.1Ssorenscsibus* at ahc? 1861.1Ssoren#scsibus* at bha? 1871.1Ssoren#scsibus* at dpt? 1881.1Ssoren#scsibus* at isp? 1891.4Ssorenscsibus* at siop? 1901.44Sbouyerscsibus* at esiop? 1911.1Ssoren#scsibus* at pcscp? 1921.1Ssoren 1931.1Ssoren# SCSI devices 1941.1Ssorensd* at scsibus? target ? lun ? # SCSI disk drives 1951.1Ssorenst* at scsibus? target ? lun ? # SCSI tape drives 1961.93Stsutsuicd* at scsibus? target ? lun ? # SCSI CD-ROM drives 1971.7Ssoren#ch* at scsibus? target ? lun ? # SCSI autochangers 1981.1Ssoren#ss* at scsibus? target ? lun ? # SCSI scanners 1991.10Ssoren#uk* at scsibus? target ? lun ? # SCSI unknown 2001.1Ssoren 2011.1Ssoren# RAID controllers and devices 2021.1Ssoren#cac* at pci? dev ? function ? # Compaq array controller 2031.1Ssoren#ca* at cac? unit ? # Compaq array disk device 2041.1Ssoren 2051.1Ssoren# IDE and related devices 2061.1Ssoren# PCI IDE controllers - see pciide(4) for supported hardware. 2071.1Ssoren# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 2081.1Ssoren# how to set up DMA modes for this chip. This may work, or may cause 2091.1Ssoren# a machine hang with some controllers. 2101.47Sbouyerpciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 2111.47Sbouyeracardide* at pci? dev ? function ? # Acard IDE controllers 2121.114Stsutsui#aceride* at pci? dev ? function ? # Acer Lab IDE controllers 2131.114Stsutsui#artsata* at pci? dev ? function ? # Intel i31244 SATA controller 2141.47Sbouyercmdide* at pci? dev ? function ? # CMD tech IDE controllers 2151.114Stsutsui#cypide* at pci? dev ? function ? # Cypress IDE controllers 2161.47Sbouyerhptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 2171.114Stsutsui#optiide* at pci? dev ? function ? # Opti IDE controllers 2181.47Sbouyerpdcide* at pci? dev ? function ? # Promise IDE controllers 2191.64Sbouyerpdcsata* at pci? dev ? function ? # Promise SATA150 controllers 2201.52Sthorpejsatalink* at pci? dev ? function ? # SiI SATALink controllers 2211.114Stsutsui#siside* at pci? dev ? function ? # SiS IDE controllers 2221.114Stsutsui#slide* at pci? dev ? function ? # Symphony Labs IDE controllers 2231.47Sbouyerviaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 2241.47Sbouyer 2251.47Sbouyer# ATA bus 2261.50Stsutsuiatabus* at ata? 2271.46Sbouyer 2281.1Ssoren# IDE drives 2291.1Ssoren# Flags are used only with controllers that support DMA operations 2301.1Ssoren# and mode settings (e.g. some pciide controllers) 2311.1Ssoren# The lowest order four bits (rightmost digit) of the flags define the PIO 2321.1Ssoren# mode to use, the next set of four bits the DMA mode and the third set the 2331.1Ssoren# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2341.1Ssoren# to use, and the last bit must be 1 for this setting to be used. 2351.1Ssoren# For DMA and UDMA, 0xf (1111) means 'disable'. 2361.1Ssoren# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2371.1Ssoren# (0xc=1100, 0xa=1010, 0xf=1111) 2381.1Ssoren# 0x0000 means "use whatever the drive claims to support". 2391.46Sbouyerwd* at atabus? drive ? flags 0x0000 2401.1Ssoren 2411.1Ssoren# PCI network interfaces 2421.1Ssoren#en* at pci? dev ? function ? # ENI/Adaptec ATM 2431.1Ssoren#ep* at pci? dev ? function ? # 3Com 3c59x 2441.18Shubertf#ex* at pci? dev ? function ? # 3Com 90x[BC] 2451.1Ssoren#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 2461.1Ssoren#esh* at pci? dev ? function ? # Essential HIPPI card 2471.1Ssoren#fpa* at pci? dev ? function ? # DEC DEFPA FDDI 2481.1Ssoren#fxp* at pci? dev ? function ? # Intel EtherExpress PRO10+/100B 2491.1Ssoren#le* at pci? dev ? function ? # PCnet-PCI Ethernet 2501.1Ssoren#ne* at pci? dev ? function ? # NE2000-compatible Ethernet 2511.1Ssoren#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 2521.97Stsutsuiral* at pci? dev ? function ? # ralink wifi 2531.1Ssoren#sip* at pci? dev ? function ? # SiS 900 Ethernet 2541.1Ssoren#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 2551.30Smycrofttlp* at pci? dev ? function ? # DECchip 21x4x and clones 2561.1Ssoren#vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 2571.1Ssoren#lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 2581.3Sgroo#rtk* at pci? dev ? function ? # Realtek 8129/8139 2591.1Ssoren 2601.1Ssoren# MII/PHY support 2611.1Ssoren#exphy* at mii? phy ? # 3Com internal PHYs 2621.27Swiz#icsphy* at mii? phy ? # ICS189x PHYs 2631.1Ssoren#inphy* at mii? phy ? # Intel 82555 PHYs 2641.1Ssoren#iophy* at mii? phy ? # Intel 82553 PHYs 2651.1Ssorenlxtphy* at mii? phy ? # Level One LXT-970 PHYs 2661.1Ssoren#nsphy* at mii? phy ? # NS83840 PHYs 2671.1Ssoren#nsphyter* at mii? phy ? # NS83843 PHYs 2681.1Ssoren#qsphy* at mii? phy ? # Quality Semiconductor QS6612 2691.1Ssoren#sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 2701.1Ssoren#tlphy* at mii? phy ? # ThunderLAN PHYs 2711.1Ssoren#tqphy* at mii? phy ? # TDK Semiconductor PHYs 2721.1Ssoren#ukphy* at mii? phy ? # generic unknown PHYs 2731.1Ssoren 2741.76Skiyohara# PCI IEEE1394 controllers 2751.76Skiyohara#fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 2761.76Skiyohara 2771.76Skiyohara#ieee1394if* at fwohci? 2781.76Skiyohara#fwip* at ieee1394if? # IP over IEEE1394 2791.76Skiyohara#sbp* at ieee1394if? euihi ? euilo ? 2801.76Skiyohara#scsibus* at sbp? 2811.76Skiyohara 2821.1Ssoren# PCI audio devices 2831.1Ssoren#clcs* at pci? dev ? function ? # Cirrus Logic CS4280 2841.1Ssoren#eap* at pci? dev ? function ? # Ensoniq AudioPCI 2851.119Stsutsui#emuxki* at pci? dev ? function ? # SoundBlaster Live! 2861.1Ssoren#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 2871.1Ssoren#fms* at pci? dev ? function ? # Forte Media FM801 2881.1Ssoren#sv* at pci? dev ? function ? # S3 SonicVibes 2891.1Ssoren 2901.119Stsutsui# Audio support 2911.119Stsutsui#audio* at audiobus? 2921.119Stsutsui 2931.151Schristos#spkr* at audio? # PC speaker (synthesized) 2941.149Snat 2951.1Ssoren# Pseudo-devices 2961.1Ssoren 2971.85Sthorpejpseudo-device crypto # /dev/crypto device 2981.86Sthorpejpseudo-device swcrypto # software crypto implementation 2991.54Sjonathan 3001.1Ssoren# Disk/mass storage pseudo-devices 3011.138Schristos#pseudo-device ccd # concatenated disk devices 3021.138Schristos#pseudo-device cgd # cryptographic disk devices 3031.139Schristospseudo-device raid # RAIDframe disk driver 3041.25Sosteroptions RAID_AUTOCONFIG # auto-configuration of RAID 3051.25Soster# Options to enable various other RAIDframe RAID types. 3061.25Soster# options RF_INCLUDE_EVENODD=1 3071.25Soster# options RF_INCLUDE_RAID5_RS=1 3081.25Soster# options RF_INCLUDE_PARITYLOGGING=1 3091.25Soster# options RF_INCLUDE_CHAINDECLUSTER=1 3101.25Soster# options RF_INCLUDE_INTERDECLUSTER=1 3111.25Soster# options RF_INCLUDE_PARITY_DECLUSTERING=1 3121.25Soster# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 3131.124Spookapseudo-device fss # file system snapshot device 3141.127Shannken#pseudo-device md # memory disk device (ramdisk) 3151.93Stsutsuipseudo-device vnd # disk-like interface to files 3161.77Shubertf#options VND_COMPRESSION # compressed vnd(4) 3171.1Ssoren 3181.1Ssoren# Network pseudo-devices 3191.91Srpaulopseudo-device bpfilter # Berkeley packet filter 3201.99Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 3211.93Stsutsuipseudo-device ipfilter # IP filter (firewall) and NAT 3221.1Ssorenpseudo-device loop # network loopback 3231.92Scube#pseudo-device ppp # Point-to-Point Protocol 3241.97Stsutsuipseudo-device pppoe # PPP over Ethernet (RFC 2516) 3251.92Scube#pseudo-device sl # Serial Line IP 3261.92Scube#pseudo-device strip # Starmode Radio IP (Metricom) 3271.92Scube#pseudo-device tun # network tunneling over tty 3281.65Scube#pseudo-device tap # virtual Ethernet 3291.92Scube#pseudo-device gre # generic L3 over IP tunnel 3301.92Scube#pseudo-device gif # RFC1933 tunnel 3311.92Scube#pseudo-device faith # IPv[46] tcp relay translation 3321.92Scube#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 3331.14Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 3341.22Satatatpseudo-device bridge # simple inter-network bridging 3351.41Sperseant#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 3361.108Smartinpseudo-device agr # IEEE 802.3ad link aggregation 3371.1Ssoren 3381.117Stls# 3391.117Stls# accept filters 3401.117Stlspseudo-device accf_data # "dataready" accept filter 3411.117Stlspseudo-device accf_http # "httpready" accept filter 3421.117Stls 3431.1Ssoren# Miscellaneous pseudo-devices 3441.13Sjdolecekpseudo-device pty # pseudo-terminals 3451.140Schristos#pseudo-device sequencer # MIDI sequencer 3461.1Ssoren#options RND_COM # use "com" randomness (BROKEN) 3471.32Slukempseudo-device clockctl # user control of clock subsystem 3481.49Scdipseudo-device nullcons # no-op console 3491.1Ssoren 3501.1Ssoren# A pseudo device needed for Coda # also needs CODA (above) 3511.139Schristos#pseudo-device vcoda # coda minicache <-> venus comm. 3521.118Stsutsui 3531.118Stsutsui# a pseudo device needed for SMBFS 3541.118Stsutsuipseudo-device nsmb # experimental - SMB requester 3551.118Stsutsui 3561.43Sraggepseudo-device ksyms # /dev/ksyms 3571.58Sitojun#pseudo-device pf # PF packet filter 3581.58Sitojun#pseudo-device pflog # PF log if 3591.88Selad 3601.88Selad# Veriexec 3611.88Selad# 3621.88Selad# a pseudo device needed for veriexec 3631.139Schristos#pseudo-device veriexec 3641.88Selad# 3651.88Selad# Uncomment the fingerprint methods below that are desired. Note that 3661.88Selad# removing fingerprint methods will have almost no impact on the kernel 3671.88Selad# code size. 3681.88Selad# 3691.88Selad#options VERIFIED_EXEC_FP_SHA256 3701.88Selad#options VERIFIED_EXEC_FP_SHA384 3711.88Selad#options VERIFIED_EXEC_FP_SHA512 372