GENERIC revision 1.183
11.183Sdholland# $NetBSD: GENERIC,v 1.183 2014/08/23 20:26:59 dholland Exp $ 21.1Sjonathan# 31.93Sgmcgarry# GENERIC machine description file 41.93Sgmcgarry# 51.93Sgmcgarry# This machine description file is used to generate the default NetBSD 61.93Sgmcgarry# kernel. The generic kernel does not include all options, subsystems 71.93Sgmcgarry# and device drivers, but should be useful for most applications. 81.39Snisimura# 91.93Sgmcgarry# The machine description file can be customised for your specific 101.93Sgmcgarry# machine to reduce the kernel size and improve its performance. 111.1Sjonathan# 121.93Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8) 131.93Sgmcgarry# man page. 141.93Sgmcgarry# 151.93Sgmcgarry# For further information on hardware support for this architecture, see 161.93Sgmcgarry# the intro(4) man page. For further information about kernel options 171.93Sgmcgarry# for this architecture, see the options(4) man page. For an explanation 181.93Sgmcgarry# of each device driver in this file see the section 4 man page for the 191.93Sgmcgarry# device. 201.93Sgmcgarry 211.5Sjonathaninclude "arch/pmax/conf/std.pmax" 221.64Shubertf 231.99Satatatoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.99Satatat 251.183Sdholland#ident "GENERIC-$Revision: 1.183 $" 261.1Sjonathan 271.5Sjonathanmaxusers 64 281.1Sjonathan 291.39Snisimuraoptions MIPS1 # R2000/R3000 CPUs 301.39Snisimuraoptions MIPS3 # R4000/R4400 CPUs 311.6Sjonathan 321.1Sjonathan 331.5Sjonathan# Support for specific models of DECstation 341.39Snisimuraoptions DEC_3100 # DECstation 2100, 3100 (kn01) 351.39Snisimuraoptions DEC_5100 # DECsystem 5100 (kn230) 361.39Snisimuraoptions DEC_3MAX # DECstation 5000/200 (kn02) 371.39Snisimuraoptions DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04) 381.39Snisimuraoptions DEC_MAXINE # Personal DECstation 5000/xx (kn02ca) 391.39Snisimuraoptions DEC_3MAXPLUS # DECstation 5000/240 (kn03), 5000/260 (kn05) 401.24Sjonathan 411.60Ssimonb#options DEC_5400 # DECsystem 5400 (kn210) 421.60Ssimonb#options DEC_5500 # DECsystem 5500 (kn220) 431.60Ssimonb#options DEC_5800 # DECsystem 58x0 (kn5800) 441.1Sjonathan 451.167Smattmakeoptions DEBUG="-g" 461.1Sjonathan# Standard system options 471.16Sjonathanoptions DDB # in-kernel debugger 481.166Schsoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 491.16Sjonathanoptions DDB_ONPANIC=0 # don't enter debugger on panic 501.15Sjonathan#options DIAGNOSTIC # extra kernel debugging checks 511.15Sjonathan#options DEBUG # extra kernel debugging support 521.92Slukemoptions COMPAT_43 # compatibility with 4.3BSD binaries 531.15Sjonathanoptions KTRACE # system call tracing support 541.43Sjonathan 551.43Sjonathanoptions SYSVMSG # System V-like message queues 561.43Sjonathanoptions SYSVSEM # System V-like semaphores 571.43Sjonathanoptions SYSVSHM # System V-like memory sharing 581.96Sjdolecek 591.102Slukemoptions USERCONF # userconf(4) support 601.114Stsutsui#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 611.120Satatatoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 621.107Sjunyoung 631.108Swiz# Enable experimental buffer queue strategy for better responsiveness under 641.107Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet. 651.128Stsutsui#options BUFQ_READPRIO 661.128Stsutsui#options BUFQ_PRIOCSCAN 671.17Smjacob 681.18Smjacob#options SCSIVERBOSE # Verbose SCSI errors 691.80Stsutsui#options TCVERBOSE # recognize "unknown" TC devices 701.12Sjonathan 711.62Sad# Old 4.4BSD/pmax kgdb options 721.15Sjonathan#options KGDB # support for kernel gdb 731.91Slukem#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 741.91Slukem#options KGDB_DEV="15*256+0" # device for kernel gdb 751.1Sjonathan 761.15Sjonathanoptions NTP # network time protocol 771.5Sjonathan 781.5Sjonathan 791.1Sjonathan# Filesystem options 801.83Snisimurafile-system FFS # fast filesystem with user and group quotas 811.83Snisimurafile-system MFS # memory-based filesystem 821.83Snisimurafile-system NFS # Sun NFS-compatible filesystem (client) 831.12Sjonathanfile-system LFS # Log-based filesystem (still experimental) 841.83Snisimurafile-system CD9660 # ISO 9660 + Rock Ridge file system 851.83Snisimurafile-system FDESC # /dev/fd 861.83Snisimurafile-system KERNFS # /kern (kernel informational filesystem) 871.83Snisimurafile-system NULLFS # loopback file system 881.83Snisimurafile-system OVERLAY # overlay file system 891.162Spookafile-system PUFFS # Userspace file systems (e.g. ntfs-3g & sshfs) 901.83Snisimurafile-system PROCFS # /proc 911.83Snisimurafile-system UMAPFS # NULLFS + uid and gid remapping 921.83Snisimurafile-system UNION 931.135Schristosfile-system PTYFS # /dev/pts/N support 941.164Schsfile-system TMPFS # Efficient memory file-system 951.141Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 961.10Sthorpej 971.15Sjonathanoptions NFSSERVER # Sun NFS-compatible filesystem (server) 981.168Sbouyeroptions QUOTA # legacy UFS quotas 991.168Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 1001.169Swiz#options FFS_EI # FFS Endian Independent support 1011.171Sdhollandoptions WAPBL # File system journaling support 1021.138Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1031.137Stsutsui#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 1041.50Sitojun 1051.1Sjonathan# Networking options 1061.15Sjonathanoptions INET # Internet protocols 1071.50Sitojunoptions INET6 # IPV6 1081.50Sitojun#options IPSEC # IP security 1091.50Sitojun#options IPSEC_DEBUG # debug for IP security 1101.15Sjonathanoptions GATEWAY # IP packet forwarding 1111.12Sjonathan#options MROUTING # Multicast routing support 1121.121Smanu#options PIM # Protocol Independent Multicast 1131.38Ssimonboptions NETATALK # AppleTalk networking protocols 1141.46Schristosoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1151.46Schristosoptions PPP_DEFLATE # Deflate compression support for PPP 1161.46Schristosoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1171.38Ssimonboptions IPFILTER_LOG # ipmon(8) log support 1181.149Schristosoptions IPFILTER_LOOKUP # ippool(8) support 1191.165Smrgoptions IPFILTER_COMPAT # Compat for IP-Filter 1201.104Smartti#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1211.88Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1221.1Sjonathan 1231.118Sabs#options ALTQ # Manipulate network interfaces' output queues 1241.118Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1251.118Sabs#options ALTQ_CBQ # Class-Based Queueing 1261.118Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1271.118Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1281.118Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1291.118Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1301.118Sabs#options ALTQ_LOCALQ # Local queueing discipline 1311.118Sabs#options ALTQ_PRIQ # Priority Queueing 1321.118Sabs#options ALTQ_RED # Random Early Detection 1331.118Sabs#options ALTQ_RIO # RED with IN/OUT 1341.118Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1351.118Sabs 1361.181Salnsn# JIT compiler for bpfilter 1371.181Salnsn#options SLJIT 1381.181Salnsn#options BPFJIT 1391.181Salnsn 1401.5Sjonathan# NetBSD backwards compatibility 1411.15Sjonathan#options COMPAT_10 # NetBSD 1.0, (needed for X on 386?) 1421.98Ssimonb#options COMPAT_11 # NetBSD 1.1, EXEC_ELF_NOTELESS 1431.114Stsutsuioptions COMPAT_12 # NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS 1441.183Sdhollandoptions COMPAT_13 # NetBSD 1.3, 1451.183Sdhollandoptions COMPAT_14 # NetBSD 1.4, 1461.183Sdhollandoptions COMPAT_15 # NetBSD 1.5, 1471.183Sdhollandoptions COMPAT_16 # NetBSD 1.6, 1481.183Sdhollandoptions COMPAT_20 # NetBSD 2.0, 1491.183Sdhollandoptions COMPAT_30 # NetBSD 3.0, 1501.183Sdhollandoptions COMPAT_40 # NetBSD 4.0, 1511.183Sdhollandoptions COMPAT_50 # NetBSD 5.0, 1521.183Sdhollandoptions COMPAT_60 # NetBSD 6.0, and 1531.183Sdhollandoptions COMPAT_70 # NetBSD 7.0 binary compatibility. 1541.88Sabs#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 1551.137Stsutsuioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1561.1Sjonathan 1571.146Sad# Workstation console options 1581.146Sadoptions FONT_BOLD8x16 1591.101Sadoptions FONT_GALLANT12x22 1601.5Sjonathan 1611.146Sadoptions WSEMUL_VT100 1621.173Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1631.146Sadoptions WS_KERNEL_FG=WSCOL_GREEN 1641.146Sadoptions WS_KERNEL_BG=WSCOL_BLACK 1651.146Sad 1661.146Sad# Disable kernel security levels. Needed for X with a PX or PXG. 1671.146Sad#options INSECURE 1681.146Sad 1691.1Sjonathan# pmax specific 1701.39Snisimuraoptions COMPAT_ULTRIX # Ultrix compatibility 1711.89Ssimonb#options EXEC_AOUT # Old NetBSD/pmax a.out compatibility 1721.15Sjonathanoptions EXEC_ECOFF # Ultrix RISC binaries are ECOFF format 1731.92Slukemoptions HZ=256 # RTC rate required 1741.22Sdrochner 1751.41Ssimonboptions NFS_BOOT_DHCP # superset of BOOTP 1761.1Sjonathan 1771.16Sjonathanconfig netbsd root on ? type ? 1781.42Ssimonb#config nfsnetbsd root on ? type nfs 1791.1Sjonathan 1801.30Smhitch 1811.30Smhitchmainbus0 at root 1821.30Smhitchcpu* at mainbus0 1831.1Sjonathan 1841.48Snisimura## Peripheral Bus Support (for devices to attach to) 1851.48Snisimura## ---------------------------------------------------------------------------- 1861.1Sjonathan 1871.48Snisimura# TURBOchannel bus support 1881.48Snisimuratc* at mainbus0 1891.26Sjonathan 1901.48Snisimura# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot 1911.48Snisimuraioasic0 at tc? 1921.55Ssimonbmcclock* at ioasic? offset ? # DS1287 RTC 1931.55Ssimonble* at ioasic? offset ? # LANCE 1941.146Saddt* at ioasic? offset ? # MAXINE kbd and mouse 1951.75Sgmcgarrybba* at ioasic? offset ? # MAXINE baseboard audio 1961.48Snisimura#fdc at ioasic? offset ? # MAXINE floppy disk (not supported) 1971.146Sadzsc0 at ioasic? offset 0x100000 # Z85C30 1981.146Sadzsc1 at ioasic? offset 0x180000 # Z85C30 1991.55Ssimonbasc* at ioasic? offset ? # NCR53C94 SCSI with IOASIC 2001.48Snisimura 2011.146Sadzstty* at zsc? channel ? # serial ports on B/A channels 2021.146Sadlkkbd* at zsc1 channel ? # keyboard port on A channels 2031.146Sadvsms* at zsc0 channel ? # mouse port on A channels 2041.146Sad 2051.146Sadaudio* at bba? 2061.146Sad 2071.146Saddtkbd* at dt? addr ? 2081.146Saddtms* at dt? addr ? 2091.146Sad 2101.48Snisimura# 3MAX has TURBOchannel but no IOASIC 2111.52Sthorpejibus0 at tc? slot ? offset ? # 3MAX system slot 2121.55Ssimonb 2131.55Ssimonb# PMAX, 3MAX and MIPSMATE common devices 2141.55Ssimonbmcclock* at ibus0 addr ? # DS1287 RTC 2151.146Saddz* at ibus0 addr ? # DC7085 quad line serial device 2161.146Sad 2171.146Sadlkkbd* at dz? line 0 # Keyboard 2181.146Sadvsms* at dz? line 1 # Mouse 2191.48Snisimura 2201.48Snisimura# TURBOchannel devices 2211.52Sthorpejmfb* at tc? slot ? offset ? # PMAG-A MX Monochrome Framebuffer 2221.52Sthorpejcfb* at tc? slot ? offset ? # PMAG-B CX Color Framebuffer 2231.146Sadtfb* at tc? slot ? offset ? # PMAG-RO TX True Color Framebuffer 2241.52Sthorpejsfb* at tc? slot ? offset ? # PMAGB-B HX Smart Framebuffer 2251.146Sadpx* at tc? slot ? offset ? # PMAG-C 2D accelerator 2261.146Sadpxg* at tc? slot ? offset ? # PMAG-D,E,F 3D accelerator 2271.52Sthorpej#sfbp* at tc? slot ? offset ? # PMAGD HX+ Smart Framebuffer 2281.55Ssimonbxcfb* at tc? slot ? offset ? # PMAG-DV Color Framebuffer at MAXINE 2291.52Sthorpejasc* at tc? slot ? offset ? # PMAZ-A single channel SCSI 2301.52Sthorpejle* at tc? slot ? offset ? # PMAD-A LANCE 2311.52Sthorpejfta* at tc? slot ? offset ? # PMAF-F FDDI 2321.89Ssimonbtcds* at tc? slot ? offset ? # PMAZB/PMAZC dual channel SCSI 2331.89Ssimonbasc* at tcds? chip ? 2341.48Snisimura 2351.48Snisimura# PMAX and MIPSMATE 2361.48Snisimuraibus0 at mainbus0 2371.55Ssimonbpm* at ibus0 addr ? # 3100 onboard fb 2381.55Ssimonble* at ibus0 addr ? # 3100, 5100 onboard LANCE 2391.55Ssimonbsii* at ibus0 addr ? # DC7061 onboard SCSI 2401.1Sjonathan 2411.146Sad# Workstation console 2421.146Sad 2431.146Sadwskbd* at lkkbd? console ? 2441.146Sadwskbd* at dtkbd? console ? 2451.146Sadwsmouse* at vsms? 2461.146Sadwsmouse* at dtms? 2471.146Sad 2481.146Sadwsdisplay* at mfb? 2491.146Sadwsdisplay* at cfb? 2501.146Sadwsdisplay* at px? 2511.146Sadwsdisplay* at pxg? 2521.146Sadwsdisplay* at sfb? 2531.146Sad#wsdisplay* at sfbp? 2541.146Sadwsdisplay* at tfb? 2551.146Sadwsdisplay* at xcfb? 2561.146Sadwsdisplay* at pm? 2571.146Sad 2581.146Sad 2591.34Ssimonb######################################################################### 2601.34Ssimonb# SCSI configuration # 2611.34Ssimonb######################################################################### 2621.1Sjonathan 2631.89Ssimonbscsibus* at sii? 2641.89Ssimonbscsibus* at asc? 2651.89Ssimonb 2661.89Ssimonbsd* at scsibus? target ? lun ? # SCSI disks 2671.89Ssimonbst* at scsibus? target ? lun ? # SCSI tapes 2681.92Slukemcd* at scsibus? target ? lun ? # SCSI CD-ROMs 2691.89Ssimonbch* at scsibus? target ? lun ? # SCSI changer devices 2701.89Ssimonbss* at scsibus? target ? lun ? # SCSI scanners 2711.89Ssimonbuk* at scsibus? target ? lun ? # unknown SCSI 2721.1Sjonathan 2731.34Ssimonb######################################################################### 2741.34Ssimonb# Pseudo-devices # 2751.34Ssimonb######################################################################### 2761.1Sjonathan 2771.158Stls# 2781.158Stls# accept filters 2791.158Stlspseudo-device accf_data # "dataready" accept filter 2801.158Stlspseudo-device accf_http # "httpready" accept filter 2811.158Stls 2821.177Schristospseudo-device loop # network loopback 2831.143Scubepseudo-device sl # serial-line IP ports 2841.143Scubepseudo-device ppp # serial-line IP ports 2851.94Smartinpseudo-device pppoe # PPP over Ethernet (RFC 2516) 2861.85Sjdolecekpseudo-device pty # pseudo-terminals 2871.142Srpaulopseudo-device bpfilter # packet filter ports 2881.145Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 2891.36Ssimonbpseudo-device ipfilter # IP filter, NAT 2901.143Scube#pseudo-device gre # generic L3 over IP tunnel 2911.143Scubepseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2921.143Scube#pseudo-device faith # IPv[46] tcp relay translation i/f 2931.144Spavelpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2941.86Sbouyerpseudo-device vlan # IEEE 802.1q encapsulation 2951.90Satatatpseudo-device bridge # simple inter-network bridging 2961.114Stsutsui#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2971.152Smartinpseudo-device agr # IEEE 802.3ad link aggregation 2981.12Sjonathan 2991.143Scubepseudo-device vnd # virtual disk ick 3001.131Shubertf#options VND_COMPRESSION # compressed vnd(4) 3011.177Schristospseudo-device ccd # concatenated disks 3021.177Schristos#pseudo-device cgd # cryptographic disk devices 3031.178Schristospseudo-device raid # RAIDframe disk driver 3041.95Sosteroptions RAID_AUTOCONFIG # auto-configuration of RAID components 3051.95Soster# Options to enable various other RAIDframe RAID types. 3061.114Stsutsui#options RF_INCLUDE_EVENODD=1 3071.114Stsutsui#options RF_INCLUDE_RAID5_RS=1 3081.114Stsutsui#options RF_INCLUDE_PARITYLOGGING=1 3091.114Stsutsui#options RF_INCLUDE_CHAINDECLUSTER=1 3101.114Stsutsui#options RF_INCLUDE_INTERDECLUSTER=1 3111.114Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING=1 3121.114Stsutsui#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 3131.163Spookapseudo-device fss # file system snapshot device 3141.162Spookapseudo-device putter # for puffs and pud 3151.1Sjonathan 3161.100Slukempseudo-device clockctl # user control of clock subsystem 3171.111Sraggepseudo-device ksyms # /dev/ksyms 3181.117Sitojun#pseudo-device pf # PF packet filter 3191.117Sitojun#pseudo-device pflog # PF log if 3201.146Sadpseudo-device wsfont # wsfont control device 3211.146Sadpseudo-device wsmux # wsmux control device 3221.140Selad 3231.140Selad# Veriexec 3241.140Selad# 3251.140Selad# a pseudo device needed for veriexec 3261.178Schristos#pseudo-device veriexec 3271.140Selad# 3281.140Selad# Uncomment the fingerprint methods below that are desired. Note that 3291.140Selad# removing fingerprint methods will have almost no impact on the kernel 3301.140Selad# code size. 3311.140Selad# 3321.140Selad#options VERIFIED_EXEC_FP_RMD160 3331.140Selad#options VERIFIED_EXEC_FP_SHA256 3341.140Selad#options VERIFIED_EXEC_FP_SHA384 3351.140Selad#options VERIFIED_EXEC_FP_SHA512 3361.140Selad#options VERIFIED_EXEC_FP_SHA1 3371.140Selad#options VERIFIED_EXEC_FP_MD5 338